r/ProgrammerTIL • u/eazybox • Mar 16 '21
Other Annoying Things
Annoying things in programming are often related to accidental complexity. You have complexity in the areas that you did not think were important. In your builds, in your infrastructure code, in your backup scripts or CI templates. Leaks through abstraction layers. You discovered that they are important, but in an unpleasant way that you think slows you down. So this is your chance to reevaluate the pros and cons of jumping over and moving forward or pausing.
This is just an opinion though, but this sub looks more allowing than r/programming. Hopefully the post flair I added makes sense.
15
u/Glum_Inspector_8257 Mar 16 '21
Reads more like pontification than TIL
18
u/alzee76 Mar 16 '21
Huh?
The annoying things in programming are things like how PHP's
strposandarray_searchtake their needle & haystack arguments in the opposite order of each other, so I had to invent a weird memory trick to help me remember which is which, or weird shit like this in C#.I don't think this has anything to do with "accidental complexity" but then again, I have never encountered that phrase before this post.
5
u/wineblood Mar 16 '21
The most annoying thing for me nowadays is the lack of design decisions captured in the codebase. You'll see code that's very clear but it does something that's completely pointless and the only question is "why?"
6
u/cdrini Mar 16 '21
I think of this as the "discovering a universe in an atom" phenomenon.
2
u/tuscangal Mar 17 '21
Having spent two hours this afternoon persuading one of our teams not to create a Rube Goldberg machine out of the infrastructure as code, can confirm