Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactoring #1691

Merged

Conversation

timblechmann
Copy link
Contributor

this makes the codebase much more robust ...

@timblechmann
Copy link
Contributor Author

@telephon that branch has dubious quality and someone will have to go through it in order to separate the good parts from the crap

@muellmusik
Copy link
Contributor

@timblechmann, while your review of PRs is very useful and appreciated, please don't call other people's contributions crap. We have a hard enough time keeping developers involved, especially on the Windows version, and using insulting language adds nothing useful to the discussion.

@telephon
Copy link
Member

Tim must have meant something like "dross" here. Yes, I'd also appreciate if someone could clean it up, but I think we have to live with it as it is for now and merge master into it if we can (not the other way round).

@timblechmann
Copy link
Contributor Author

i've spend a significant time to review that PR and gave a huge amount of comments, which parts are useful and important (the parser part), which parts i don't consider badly researched and going to the wrong direction (not using local sockets) ... and unfortunately there are some parts, which are semantically wrong, violating the coding style, hardcoding a specific setup etc ...

the important parts should go in: someone will have to look at the diff and take the useful parts out. tbo, this should not take longer than an hour or so. the socket part should go to a branch and a bug should reported upstream, so it can be tracked and fixed by the qt developers. the part that does is wrong or violating standards or has nothing to do with the actual changes should not go it.

it is pretty unfortunate that the original author never tried to address those comments or even doubted that there was anything wrong with that code.

btw, @muellmusik: you might also want to consider that the lack of code quality, a software architecture from the last millenium and resistance of the community to adopt state of the art technologies keeps people away from contributing. personally i would contribute much more, if the community would favor a clean and robust architecture more than having nice-to have features of dubious code quality of compatibility with ancient technologies.

@timblechmann
Copy link
Contributor Author

side note: i continued to contribute a significant amount of code to supercollider despite (1) homophobic hate mails and (2) complaints by academics (read: professors of well-known universities) about how much bad things i had done to supercollider, after spending (edit: after i have spent) dozens of hours isolating and fixing a bug that was introduced by a community member, who stopped contributing code a long time ago ...

so don't get me wrong, but people who contribute to any project should be aware of the fact that their code is going to be criticized and they will be encouraged to improve it .... this is nothing personal, but helps the long-term maintenance!

@muellmusik
Copy link
Contributor

muellmusik commented Oct 20, 2015 via email

@timblechmann timblechmann force-pushed the novacollider/refactoring branch from 20848df to a4e3849 Compare October 20, 2015 19:50
@telephon
Copy link
Member

side note: i continued to contribute a significant amount of code to supercollider despite …

thank you, your contributions are welcome!

@timblechmann timblechmann force-pushed the novacollider/refactoring branch from a4e3849 to d74e639 Compare October 24, 2015 10:37
@timblechmann timblechmann force-pushed the novacollider/refactoring branch from d74e639 to e7cb1fc Compare November 1, 2015 10:26
@timblechmann timblechmann force-pushed the novacollider/refactoring branch from e7cb1fc to 2102b56 Compare November 7, 2015 07:25
crucialfelix added a commit that referenced this pull request Nov 7, 2015
updating typedefs to use future-proof fixed sizes like uint32_t instead of 'unsigned int'
remove obsolete ifdef _WIN32
@crucialfelix crucialfelix merged commit 6f67db8 into supercollider:master Nov 7, 2015
@crucialfelix
Copy link
Member

"refactoring"
"this makes the codebase much more robust ..."
"include: common - all modern compilers support c99
this includes msvc"

None of these are helping me to understand the implications of changing these typedefs.

but its better to use uint32_t rather than unsigned int because the later could change on a future machine and would then not be 32 bits.

and the _WIN32 alternative is no longer needed

@timblechmann
Copy link
Contributor Author

uint32_t has a standardized size, unsigned int doesn't ... compare https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models and #1692 and #1693

@timblechmann timblechmann deleted the novacollider/refactoring branch November 28, 2015 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants