- 0 Posts
- 12 Comments
Nothing a cure moderate wounds couldn’t fix tbh
Clearly someone’s never been horny on main…
jedibob5@lemmy.worldto
Programmer Humor@lemmy.ml•The JavaScript type coercion algorithmEnglish
14·1 year agoJavascript’s type coercion is rather insane, yes, but there is an actual, practical reason it’s done. JS, having been designed to be run in web browsers, wants to avoid blowing up and crashing at all costs. If it gets an unusual type comparison, usually the result of a bug, it tries to return something, such that the script can continue running if at all possible. In JS’ mentality, keeping a page running, even if it might not completely function properly, is preferable to throwing an unhandled exception and completely crashing it.
Whether or not that is the right approach is debatable, but there is at least some logic to it. Personally, I think that the proliferation of Node letting JS run outside of browsers exacerbates a lot of JS’ issues, but TypeScript does a lot to make it look like a more sensible language.
jedibob5@lemmy.worldto
politics @lemmy.world•Trump ‘clearly furious’ that summer victory tour has been swallowed by Epstein sagaEnglish
31·1 year agoSee the thing about the Epstein thing is that we actually have evidence for it. “Trump staged the shooting” is baseless speculation.
jedibob5@lemmy.worldto
politics @lemmy.world•Trump ‘clearly furious’ that summer victory tour has been swallowed by Epstein sagaEnglish
31·1 year agoIf Trump doesn’t know about it, how do they do the blood on the ear? Not even elite marksmen can reliably hit someone’s ear at that distance without risking actually hitting their head. If it were fake blood, Trump would have to be in on it.
And again, the shooter being right-wing almost entirely negated the propaganda advantage the GOP could gain from it, it doesn’t make sense for it to have been staged.
jedibob5@lemmy.worldto
politics @lemmy.world•Trump ‘clearly furious’ that summer victory tour has been swallowed by Epstein sagaEnglish
92·1 year agoLet’s leave the conspiracy theories to the far-right lunatics, please. The attempt killed an innocent bystander and the shooter was a right-winger. Even if they were cynical enough to stage the first part on purpose (and honestly, I wouldn’t put it past them), the shooter being one of their own completely undermines the entire point of staging something like that to begin with.
Besides, this administration is way too incompetent to keep a secret. With the way Trump has been blundering his way through the Epstein accusations, do you really think he could keep his mouth shut about staging an assassination attempt?
jedibob5@lemmy.worldto
politics @lemmy.world•Elon Musk Rips Trump's Big Beautiful Budget: 'Abomination'English
56·1 year ago“Let them fight.”
jedibob5@lemmy.worldto
politics @lemmy.world•McConnell warns of future headline: ‘Russia wins, America loses’English
19·2 years agoInsert image of guy in hot dog suit here
jedibob5@lemmy.worldto
politics @lemmy.world•'I was wrong': Dem lawmaker makes 'admission to MAGA' about 'immigrants taking our jobs'English
2061·2 years agoCould they have made the headline any more misleading??
The whitespace doesn’t bother me. Any IDE worth a damn will manage that for you. As for the type system, yeah, I strongly prefer static typing, but for simpler projects I can see the convenience of it.
My real issue with Python comes with managing a development environment when multiple developers are working on it. Dependency management in Python is a headache, and while in theory, virtual envs should help with synchronizing environments from machine to machine, I still find it endlessly fiddly with a bunch of things that can go wrong that are hard to diagnose.
Python is great for small scripts, proofs-of-concept, and such, but I wouldn’t write anything more heavy-duty than that in it.
jedibob5@lemmy.worldto
Programmer Humor@lemmy.ml•Using comments as arguments in python.English
91·2 years agoNo, your intuition is correct, this is extremely cursed.


It’s AI