3 ms·
I wonder what an IDE that enforces all of these guidelines would be like?
by andreyf 16y ago
I wonder what an IDE that enforces all of these guidelines would be like?
- goodside 16y agoIf guidelines were meant to be enforced, they'd be syntax.
- kwamenum86 16y agowell said
- pgbovine 16y agonot necessarily ... official language standards bodies might make decisions much more slowly than individual hackers or groups, and even when a feature is officially baked into a new version of the syntax, it might take compilers/interpreters several more years to all implement them properly. there's definitely a need for good lightweight static checking of guidelines in IDEs
- maw 16y agoNo, because guidelines can be overridden when there's a good case for doing so. Not so with syntax.
- j_baker 16y agoAgreed. "Style is only necessary where understanding is lacking." - Doug Hoyte
- deleted 16y ago[deleted]
- banuelios 16y agoYou don't need an IDE for that, but some code analyzers do give you hints/warnings. There's something for Python (google it)
- riprock 16y agoWhile it doesn't enforce the guidelines, their Closure Compiler enforces the variable types and encapsulations declared in the JSDoc comments with warnings. http://code.google.com/closure/compiler/ http://code.google.com/closure/compiler/ On another note, a Google engineer argues against Crockford's arguments for functional inheritance while pitching the benefits of the Closure Compiler and Library: http://www.bolinfest.com/javascript/inheritance.php http://www.bolinfest.com/javascript/inheritance.php I find his points are well made.
- gmosx 16y agoAlso check out Bolin's "Closure: The definitive guide" book, available as a rough cut. A great book indeed.