riskable

joined 2 years ago
[–] riskable@programming.dev 20 points 1 year ago* (last edited 1 year ago) (13 children)

Haha: "A space breaks everything." Fuck YES! Are you kidding me‽ It's one of the best features!

Why? Because it's so easy to see. In other languages you've got semicolons which are surprisingly difficult to notice when they're missing. Depending on the situation (or if you're just new to programming) you could spend a great deal of time troubleshooting your code only to find out that you're missing a semicolon. It's frustrating and it makes you feel stupid which is never a good thing for people who are new programming.

Types are in a different category altogether with seemingly infinite reasons why you'd want a feature-rich, low-level type system and also why you'd want to avoid that.

IMHO, the point of Python is to be a simple language that's quick to write yet also very powerful and speedy when you need it to be (by taking advantage of modules written in C or better, Rust). If it had a complex type system I think it would significantly lower the value of the language. Just like how when I see an entire code repo using Pydantic and type hints everywhere it makes the code unnecessarily complex (just use type hints where it matters 🙄).

I'm not saying using type hints on everything is a terrible thing... I just think it makes the code harder to read which, IMHO defeats the point of using Python and adds a TON of complexity to the language.

The promise of type hints is that they'll enable the interpreter to significantly speed up certain things and reduce memory utilization by orders of magnitude at some point in the future. When that happens I'll definitely be reevaluating the situation but right now there doesn't seem to be much point.

For reference, I've been coding in Python for about 18 years now and I've only ever encountered a bug (in production) that would've been prevented by type hints once. It was a long time ago, before I knew better and didn't write unit tests.

These days when I'm working on code that requires type hints (by policy; not actual necessity) it feels like doing situps. Like, do I really need to add a string type hint to a function called, parse_log()? LOL!

[–] riskable@programming.dev 7 points 1 year ago (3 children)

In the US we teach kids that trash men are suckers and idiots that didn't work hard enough in school! Also, that trash is an externality: Someone else's problem.

"We pay taxes for people to clean that up! Why should I spend my valuable time doing someone else's job‽"

It's an awful culture.

[–] riskable@programming.dev 7 points 1 year ago

They get paid more than most people would think but it's still not enough based on the hazards of the job. They get exposed to all sorts of nasty things that can ruin their long term health and they have increased likelihood that they'll get a life-altering injury at work.

[–] riskable@programming.dev 2 points 1 year ago

I'm receptive to your radiant reply.

[–] riskable@programming.dev 3 points 1 year ago

You're never right 🤷

[–] riskable@programming.dev 18 points 1 year ago (1 children)

Your wish has been granted! You will now keenly remember old photographs 👍

[–] riskable@programming.dev 10 points 1 year ago (2 children)

To get what I want by just being cute. Like little kids or cute girls. Or to be automatically excluded from manual labor/heavy lifting for the same reason.

If you're a healthy boy, the moment you become a teenager is the moment you're just expected to be performing manual labor or other hot, sweaty activities. At least in the US 🤷

[–] riskable@programming.dev 26 points 1 year ago (11 children)

"Listen to your body" No, that's how you get fat. Your body wants to build up fat! That's how we survived famines. Famines that don't happen anymore.

Listen to your doctor instead 👍

[–] riskable@programming.dev 5 points 1 year ago (2 children)

Devilishly demure and cutesy cutthroat. Fantastically fiendish femininity.

[–] riskable@programming.dev 9 points 1 year ago

you don’t need entire power plant and quarter of UK water consumption for that

Not with that attitude!

[–] riskable@programming.dev 4 points 1 year ago* (last edited 1 year ago) (2 children)

Haha, well... I have plenty of self-esteem but not Rust-specific self-esteem. I still have imposter syndrome with that language.

I'm a top notch expert in Python and JS though! 😁👍

I wrote PyMinifier which required such a deep understanding of Python it kinda broke my brain writing it for a while, haha. I eventually figured everything out though and got an even deeper understanding of the language and its features.

For JS it has just been years and years and years of knowing 100 ways to do what I want in JS but none ever seeming to be, "correct". Then eventually I realized there's no best way to do basically anything in JS and that's when the true enlightenment came 🤣

If you look at anyone's JS code and think to yourself, "ugh, there's got to be a better way to do this" chances are you're wrong. All the ways will be equally shitty for any number of different reasons! 😆

[–] riskable@programming.dev 1 points 1 year ago

Further proof that conservatives don't care about consequences; only virtue signaling.

They know this is unconstitutional. They know this will result in fewer Christians in the future (nothing spreads atheism like actually teaching what's really in the Bible, LOL). They know it's going to cost the state a lot of money in lawsuits. They know it's going to make people hate them and create endless division and possibly war.

They just don't care! Conservative thinking is like CEOs only caring about next quarter. Long term consequences of their actions are always conveniently ignored or never even considered.

I know a ton of conservatives are super ignorant of reality but this one takes the cake. When you try to force one very specific religion onto everyone via the government you always get endless conflict. Just look at how it's working out in the Middle East!

I'd say they want people to die over things like this but I don't believe they think that far ahead. They probably think this is a "big win" and will result in a future of endless white, Christian children who go to church every Sunday and only ever vote for Republicans.

Instead it's going to result in more conflict, more school shootings, more bombings, and generally all around less stability in society.

People really don't like being forced to live under someone else's religion. So much so that they tend to go to war over it. Or you end up with situations where everyone lives in a constant state of guerilla warfare/insurgency.

view more: ‹ prev next ›