Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Programming

Does Coding Style Matter? 479

theodp writes "Over at Smashing Magazine, Nicholas C. Zakas makes the case for Why Coding Style Matters. 'Coding style guides are an important part of writing code as a professional,' Zakas concludes. 'Whether you're writing JavaScript or CSS or any other language, deciding how your code should look is an important part of overall code quality. If you don't already have a style guide for your team or project, it's worth the time to start one.' So, how are coding style guidelines working (or not) in your world?"
This discussion has been archived. No new comments can be posted.

Does Coding Style Matter?

Comments Filter:
  • by ShanghaiBill ( 739463 ) on Saturday October 27, 2012 @03:33PM (#41791005)

    Ctrl+K, Ctrl+F

    Presto, you've got your coding style for code that you didn't write.

    Doesn't work for me. Ctrl+K deletes the current line, and Ctrl+F moves the cursor forward one character. What version of emacs are you using?

  • by Carewolf ( 581105 ) on Saturday October 27, 2012 @06:55PM (#41792443) Homepage

    Coding style has one function and one function only: To keep the Aspergers productive. For normally functioning people, any coding style is as good as any other (in other words anything that isn't a mess), but for Aspergers it is important it is consistant and strictly enforced, otherwise they will complain loudly and start arguing over which style is better (as evidence I present every thread in this story).

    After enforcing strict coding style only one more thing is important to keep the Aspergers productive: Never mention or talk about coding style, and forbid anybody from ever bringing it up. If it is brought up, nothing will get done that day.

The universe is an island, surrounded by whatever it is that surrounds universes.

Working...