3 karma · joined Jul 12, 2019 (7y ago) · 6 submissions
comment 7y ago · link · parent
Guidelines should come with a rationale so that in the very least following them when it contravenes their intent can be justifiably avoided.
If I can't understand and appreciate the rationality behind a guideline and I'm not required by coding standards or tooling to follow it, I'm not going to.
Here's a guideline; don't surrender your common sense and let someone's generalized ideology dictate the design of your program.
While I see advantages to minimizing the length of functions, I can't imagine a well written program following this five line rule.
My concerns are that it increases the length of the source code which damages readability, that it scatters functionality and obscures control flow, and that it unnecessarily requires the formation of many interfaces.
The rule is far too general in it's application "all functions" and at the same time too specific "5" to be useful.
If you said instead "in general, try to make your functions do one thing well and divide and conquer the problems until each function is not very hard for you or someone else to understand",
Then OK.
3.
What legal issues when collaborating with developers from other corporations?
1 points · by thender21 · 7y ago · discuss
comment 7y ago · link · parent
Some guy solders it, some guy programs it, some guy configures it, it violates the law and no one is guilty?
Does splitting hairs about the execution change the fact that some person or group of people deliberately intended to commit a crime?
If you want to say it could have been an accident because of xyz implementation details, OK, but I don't see anything like that.
comment 7y ago · link · parent
They're going to follow and prosecute this like blood hounds.