it's a shame that web/internet technologies are mainly talked about within the space of commercial enterprise. the internet could be serving us in a much more humane way. but the commercial space is set up to addict us, exploit us emotionally, and extract as much value out of us as possible
could i be misremembering details about popular culture? no. it is the universe that is wrong. #MandelaEffect
like they’re saying it’s for readability so they don’t need to use try-catches but like… well i hope you find unhandled rejection events to be super readable
ok correct me if i’m wrong here but like…
you’re suppose to resolve a promise if the operation succeeded and reject if it failed, right?
they’re always resolving in every case, to true if successful, to false if failed. isn’t that like, completely defeating the purpose? #javascript
they want me to not handle promise rejections and i just… #javascript
code horror
right now i'm tasked with maintaining a vital part of our records keeping system. it is unbelievably convoluted to the point that i suspect it's intentional sabotage.
there's a bunch of rules governing how we write information to this system, and we store these rules as a collection of a few dozen text (.txt) files. these text files use a homegrown templating language, written by someone who left the company decades ago. there is no documentation whatsoever about the syntax of this templating language, how it works, or what it tries to achieve.
on top of that, there is also a homegrown parser that was written purely to interpret this language. in order have these templates do basic things, there must be a corresponding parser update to interpret these new commands. so every feature needs to be written twice, as a template and a parser command.
also, what these templates produce is stringified XML. so to make use of the output of these templates, you have to maintain some data model for them to deserialize into, at which point you translate them into a set of commands to send to an entirely different system that actually writes the information.
somehow someone thought this was better than regular code. no one has thought in 30 years to fix this or improve this in any way.
30 | they/he | utc-7 🏳️🌈
OTTERlion (not just a lion)
queer, leftist, coder, paw haver, vegetable eater, math doer, transit rider, cat petter, plant grower, meditater, plane watcher, music player, language learner
happily taken. flirting ok
don't need to ask to boost/DM/follow
alt/vent: @unfinned (18+)
digital ska crimes: https://tanukitunes.com/channels/finnytunes/
if you're on mastodon.social i can't see your interactions, sorry!!
(icon by https://twitter.com/wryote)