Forgot your password?
typodupeerror

Comment: This isn't news... (Score 5, Insightful) 210

by Ziggitz (#46783271) Attached to: Click Like? You May Have Given Up the Right To Sue
Until we hear about this actually holding up in court, which I highly doubt it will. Large companies are preemptively covering their asses in any way they can by flinging shit against the wall and seeing what sticks. I imagine that they've done this in several other ways that also wouldn't be likely to stand up in court, but if any one method does, then the payoff is huge so it makes sense to do it.

Comment: Re:Study slightly flawed (Score 1) 100

by Ziggitz (#46770419) Attached to: Your <em>StarCraft II</em> Potential Peaked At Age 24
Exactly, if you tracked the shooting percentages of high school varsity basketball players you might conclude that freshman year of college is the peak potential for a basketball player. 99% of those high school players won't play starter positions in college and those that even make it on the team might pursue other goals instead of basketball if they don't think they can make it professionally. After college a majority of the successful college players still won't make it professionally. If you followed the data blindly you'd be betting on 19 year olds to beat Lebron James in a 1 on 1.

Comment: Re:I think this is bullshit (Score 1) 1746

by Ziggitz (#46656295) Attached to: Brendan Eich Steps Down As Mozilla CEO
Freedom of speech does not protect you from private entities except in very specific cases, like labor laws. Suggesting that Eich's stepping down due to his actions creating bad press for Mozilla is somehow a violation of his free speech rights is farcical. It amounts to "You can't be mean to me for saying bigoted things cuz free speech." And no I wouldn't be juvenile enough to suggest that churches boycotting services run by pro gay rights organizations would be a free speech violation.

Comment: Re:Comment your damn code (Score 1) 373

by Ziggitz (#46604435) Attached to: Ask Slashdot: What Do You Consider Elegant Code?
If your developers didn't write shitty code you wouldn't need the comments. Comments are extremely useful for explaining edge cases that aren't apparent just by looking at the code so some other developer doesn't remove your changes thinking they are incorrect or explaining a configuration of an object or external service that other developers might not be familiar with. If every single line of code is unintelligible or it isn't obvious what it's doing you have way bigger problems.

Comment: Re:This is such a bizarre case... (Score 1) 87

by Ziggitz (#46586837) Attached to: Target and Trustwave Sued Over Credit Card Breach
Most organizations see PCI compliance as a huge annoyance. It's generally too technical for an executive to have eyes on so it falls to a technical person to enforce it. Once you get big enough merchants tend to go easier on you because it's a huge cost to be PCI compliant and they really want your business. Then shit like this happens.

Comment: Re:Comment your damn code (Score 1) 373

by Ziggitz (#46584901) Attached to: Ask Slashdot: What Do You Consider Elegant Code?
If your code needs a lot of comments, then your code is not easy to read by definition. Code should be written to be easily read with small functions with names that are self explanatory as to what the code is doing. Comments are great for those little exceptions and cases where the code looks daft but has a legitimate purpose that you don't want someone else to remove, but if your code is 20% or more comments, then they are either completely unnecessary or your code is not well written.

Comment: Code that is easy to read. (Score 1) 373

by Ziggitz (#46584819) Attached to: Ask Slashdot: What Do You Consider Elegant Code?
  • Self explanatory method names.
  • Low cyclomatic complexity
  • Good test coverage

Good code should be easy to follow with no function taking more than a minute to read and understand with meaningful names that can be trusted to do what they imply they do. Each function should ideally have 4 or less paths through the code with greater complexity being shoved into another method. Test Coverage is sexy. There is nothing that will make me hate a codebase more than when I have to dig deep down into a code base and find that one little variable that's getting set to null in some peripheral object instead of what it's supposed to be after hours of debugging.

"Look! There! Evil!.. pure and simple, total evil from the Eighth Dimension!" -- Buckaroo Banzai

Working...