this post was submitted on 23 Aug 2023
12 points (100.0% liked)

Programming

13362 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] JakenVeina@lemm.ee 7 points 1 year ago (2 children)

I know this isn't applicable to the authot, but... what the hell is up with so many people being averae to just WRITING CODE. 18% fewer characters, are there seriously people who think that's meaningful?

[–] Anabriated@beehaw.org 5 points 1 year ago

It used to be pretty meaningful when autocomplete was not as powerful as it is today. Only very serious emacs users could achieve fast and flexible static completion before LSP forced everyone to step up their game.

Now that everybody and their grandparents have LSP available (or even more powerful tools if you're using Very Professional IDEs), it's not nearly as much of an issue, just hit tab and never type close brackets again.

It's not that folks are averse to writing code, it's more-so averse to actually typing out a shitton of boilerplate and feeling the slog until you actually get to the juicy bits where you have to think.

[–] Paradox@lemdro.id 4 points 1 year ago

The amount of code you save grows with your codebase. It was 18% for that one, small example. In a larger codebase it can be quite a bit higher.

While I have, more or less, moved to just writing html-style templates, I do miss how easy it was to refactor something to have a different tag name. Vim and other editors do have shortcuts that make it easy to change both the opening and closing tag, but in indent based syntax, I didn't have to worry about this. There was only one tag to change.