top | item 32172458

(no title)

jeffreyames | 3 years ago

The tools can reduce the time and mental energy spent writing boilerplate and provide consistent structure to code and comments. This allows me to operate at a higher level of abstraction instead of worrying about details. Often it’s faster and easier to edit incorrect autogenerated code than to write it from scratch, especially when you work with many languages with their own idioms. Reviewing code is part of the process whether I’m writing from scratch or using autosuggestions.

discuss

order

ilrwbwrkhv|3 years ago

> often it’s faster and easier to edit incorrect autogenerated code than to write it from scratch, especially when you work with many languages with their own idioms.

Completely disagree. Once you get really fluent in a language it is so much faster to write something from scratch. Especially if you have certain patterns you follow.

Code review is different because that has a different goal.

jeffreyames|3 years ago

I’m fluent in English and I find autocomplete helpful. More advanced tools like Writefull that can help paraphrase or structure larger blocks of text have a lot of potential. These next generation autocomplete tools already are and will be increasingly useful to experts.

pydry|3 years ago

>The tools can reduce the time and mental energy spent writing boilerplate

If you're writing enough boilerplate that you find it useful to have a little helper write boilerplate for you then you are writing way, way, way too much boilerplate.

If you have literally any boilerplate in comments then you probably have too much.