Live data from Hacker News

Ask HN: What are your current programming pet peeves?

news.ycombinator.com

21–30 of 110 posts

Re: Ask HN: What are your current programming pet peeves?

#21
Hash maps. Everyone just turns their brains off and uses hash maps for everything. The code this creates is awful for users, awful for people consuming it, awful for people maintaining it.

Think for five minutes about your abstraction and create meaningful types and config languages, don't just hack it with a hashmap.

Re: Ask HN: What are your current programming pet peeves?

#22
post #3

I can't believe that in 2025 it is still hard to find documentation for basic functionality in languages as ubiquitous as, say, Python. If I google something simple I get 100 junk sites of garbage (GeeksForGeeks, W3Schools, etc), a bunch of AI-generated crap, a bunch of archaic out-of-date stuff, the official documentation which is a wall of dense text, some tutorials that mention the basics, a bunch of shitty bootca…

be the change you wish to see

stop everything and focus on this completely altruistic goal because you had a mild inconvenience, what do you mean 'privilege', I'm just down to earth like that

Re: Ask HN: What are your current programming pet peeves?

#23
Gemini has several fatal flaws (on Firefox):

- when enabling the Canvas the prompt scrolls to the first prompt constantly

- Canvas doesn't allow for browsing of the documents

- Ctrl+C doesn't copy, wtf?

- Gemini over eagerly edits Canvas documents, inserting errors and silly comments

- it has been doing this since forever.

Claude is the clear winner, but has tighter usage limits.

Re: Ask HN: What are your current programming pet peeves?

#24
post #10

Cursor doesn't auto-retry my request, it presents me with a button to click to retry. If you know the request failed, you could just retry on my behalf!

also, if there's a system to rollback, why ask for confirmation on the query I asked for on Agent mode. bro just do it! if it breaks I'll rollback.

Re: Ask HN: What are your current programming pet peeves?

#25
post #3

I can't believe that in 2025 it is still hard to find documentation for basic functionality in languages as ubiquitous as, say, Python. If I google something simple I get 100 junk sites of garbage (GeeksForGeeks, W3Schools, etc), a bunch of AI-generated crap, a bunch of archaic out-of-date stuff, the official documentation which is a wall of dense text, some tutorials that mention the basics, a bunch of shitty bootca…

> I can't believe that in 2025 it is still hard to find documentation for basic functionality in languages as ubiquitous as, say, Python.

That’s why we get familiar with the documentation manual and bookmark the web version. Then there’s offline documentation browsers (dash, devdocs,…).

> it is amazing to me that shells still exist in more-or-less the same form

Bash and ZSH are quite good for their use cases (running command). and there are shell like fish that leans more towards interactive use instead of automation. Python’s primitive are not very good for launching commands.

Re: Ask HN: What are your current programming pet peeves?

#26
post #21

Hash maps. Everyone just turns their brains off and uses hash maps for everything. The code this creates is awful for users, awful for people consuming it, awful for people maintaining it. Think for five minutes about your abstraction and create meaningful types and config languages, don't just hack it with a hashmap.

Can you elaborate on common misuses you see?

Re: Ask HN: What are your current programming pet peeves?

#28
post #3

I can't believe that in 2025 it is still hard to find documentation for basic functionality in languages as ubiquitous as, say, Python. If I google something simple I get 100 junk sites of garbage (GeeksForGeeks, W3Schools, etc), a bunch of AI-generated crap, a bunch of archaic out-of-date stuff, the official documentation which is a wall of dense text, some tutorials that mention the basics, a bunch of shitty bootca…

Shells are much better than python at managing and orchestrating process execution. Also the pipes and filters model is simple and powerful when it fits your problem, which for me is many times a day.

Re: Ask HN: What are your current programming pet peeves?

#29

Honestly, my biggest programming pet peeves are not really technical but social. Constantly working on moving targets, being responsible for both fleshing out and building these moving targets, having to estimate work and then being told that that takes too long, ...

> Constantly working on moving targets, being responsible for both fleshing out and building these moving targets,

These are inherent to what you're working on. If you want something more planned, you might enjoy lower-level software or working at a mature company. Device drivers? Car control logic? Startups and consumer product companies are always trying to find the best product-market fit, and you do that by iterating.

Re: Ask HN: What are your current programming pet peeves?

#30
post #3

I can't believe that in 2025 it is still hard to find documentation for basic functionality in languages as ubiquitous as, say, Python. If I google something simple I get 100 junk sites of garbage (GeeksForGeeks, W3Schools, etc), a bunch of AI-generated crap, a bunch of archaic out-of-date stuff, the official documentation which is a wall of dense text, some tutorials that mention the basics, a bunch of shitty bootca…

Python is a funny one to include there, as you should be able to just `help(foo)` to get the documentation. You can flat out run `help()` to get an interactive help session.
Post reply on HN