GilsDesk · @GilsDesk
8 followers · 328 posts · Server masto.ai

When I click on a magnifying glass in SO MANY applications to open a search box, why is the cursor not automatically placed into the search field so I can immediately start typing what I’m searching for?

#badprogramming

Last updated 2 years ago

Edwin Groothuis · @mavetju
25 followers · 64 posts · Server aus.social

I'm pretty sure that exceptions in languages like Java et al have their role, but the behaviour of trying a huge block and if it fails just to log "something went wrong", that is just silly. Same with fully expectable scenarios like "We couldn't connect to this remote host", that isn't an exception, that is a result which can be expected. I don't need 1300 lines of stack trace without any useful information when it could just have been a single line which says "Couldn't connect to remote host (1.2.3.4:5678)" or "Authentication failed while connecting to proxy (1.2.3.4:5678, user foo)".

#java #exceptions #badprogramming

Last updated 2 years ago

Memory safety in programming languages has always been taught. People refuse to listen. So they got paid big salaries to write crappy code because it works at the time of commercial release. Then they're paid again to fix their mistakes.
Rinse, repeat ad nauseum.
Now those same people are being paid big bucks to learn a new language so they can be paid even more to fix the shit they couldn't get right in the first place.
Makes sense.

#badprogramming #rustlang #Rust #memorysafety #Programming

Last updated 2 years ago