News for hackers. Stuff that matters.
Re:It is ridiculously easy to refactor Go by mseepgood on Sunday January 27, 2013 @06:00PM (#5126054)
My suspicion / theory is that most programmers turn on syntax highlighting for the same reason that they have desktop wallpapers: to make their lifes more colorful.
Re:It is ridiculously easy to refactor Go by alangpierce on Sunday January 27, 2013 @10:32PM (#5126972)
Good language-aware syntax highlighters do a lot more than highlight keywords and other syntactic things, and can make code more readable in a nontrivial way. For example, Eclipse's Java editor will color things differently based on the scope you pull it from, which lets you distinguish local variables, non-static fields, static fields, and inherited fields. It does a similar thing for method invocations, including a strikethrough for methods marked as deprecated. This saves having to manually go to a bunch of definitions in order to get the proper context when reading code you're not familiar with.
Re:It is ridiculously easy to refactor Go by cma on Sunday January 27, 2013 @06:27PM (#5126165)
When your externally mandated build process is really slow, you appreciate things like easily noticing an unclosed quote, or a missing */ that was supposed to close a comment.
Re:It is ridiculously easy to refactor Go by Mr_T_ on Sunday January 27, 2013 @07:37PM (#5126414)
One of the main selling points of Go is that builds are fast.
Re:It is ridiculously easy to refactor Go by LeafStorm on Sunday January 27, 2013 @08:52PM (#5126638)
That doesn't make failed builds any less frustrating. Heck, in Python, you don't even have builds, but getting a SyntaxError on import is still frustrating.
Re:It is ridiculously easy to refactor Go by jlgreco on Sunday January 27, 2013 @09:32PM (#5126779)
And syntax highlighting is even faster..
Re:It is ridiculously easy to refactor Go by pjmlp on Monday January 28, 2013 @02:37AM (#5127583)
Like most languages with modules.
Re:It is ridiculously easy to refactor Go by flogic on Sunday January 27, 2013 @06:50PM (#5126257)
That's a perfectly valid reason in and of itself.
Re:It is ridiculously easy to refactor Go by Mr_T_ on Sunday January 27, 2013 @06:33PM (#5126190)
To be honest, I often feel as if I was in a brothel on some blogs with CoffeeRubyNodeScript highlighting. (However, the choice of colors on this one isn't too good either)