this post was submitted on 04 Nov 2023
96 points (86.4% liked)
Programming
17352 readers
351 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm a bit confused about the premise of the article. Does anyone assert that typing speed is a bottleneck at all? I've been in the industry for years, and have never heard that claim.
I do agree about the whole "less code is not always more", but I get confused when the author keeps bringing it back to typing speed.
I've watched some slow typists program, and I think I have the answer. If it takes you a while to type the code out, you are much more likely to stick to the first approach that works, and not rewrite it as much.
I've heard the argument as a positive of learning vim and while it did finally force me to touch type I can't say that it had any impact on my programming speed.
Same. I think vim and touch typing are more about comfort tbh.
This seems to be the whole premise and it's obvious that one does not follow from the other.
Overly verbose code is code that can be expressed more minimally for some benefit. I can't think why anyone would argue that one of those benefits is less typing.
The author can solve this easily though: ask them why verbosity is an issue. Then they will know the answer and won't have to presume something as tenuous as "amount of time spent typing".
yeah the issue honestly is how much someone else has to read to understand your code. it's weird because the whole article is about making readable code for the next person and he never stops to address the fact that leaving 10x as much code to read might also make life more difficult.
I feel like he just wanted to make a point about how it's nice to make types immutable and suggest other techniques can be worth implementing too, which I agree with, but honestly his premise is a trainwreck.