kersplomp

joined 9 months ago
[–] kersplomp@programming.dev 2 points 1 month ago (1 children)

Well there's your problem :P every language has bad code examples

[–] kersplomp@programming.dev 6 points 1 month ago* (last edited 1 month ago)

Even though most of the specifics you point to are wrong, it's a good point overall:

Rust, being #1, should be better than all other languages. The fact that it's just decent makes it seem overhyped, and all the downvotes on haters make it look like a cult.

Back when it was small, the cult-like following was OK. But now that the language is becoming more mainstream I think the Rust evangelizers need to tone it down a bit or they risk pushing people away.

On your point, TypeScript is a decent language too. There can be two good things.

[–] kersplomp@programming.dev 3 points 1 month ago* (last edited 1 month ago) (1 children)

In OP's defense I have heard this said unironically by several engineers at my last job.

"Rust is going to replace JavaScript thanks to webassembly, so we should be moving all of our code to that."

"Our client should be in the same language as our backend, just like in GWT"

[–] kersplomp@programming.dev 2 points 1 month ago (3 children)

Did you inline all those types just to make it ugly? Normally each of those subtypes would have been in a separate typedef, each with documentation.

[–] kersplomp@programming.dev 2 points 1 month ago

You’ve never done ecommerce logistics

I literally have. Go climb up a tree.

[–] kersplomp@programming.dev 2 points 1 month ago (3 children)

Did 39 people really believe this enough to upvote this? This is easily proven false. Amazon is convoluted because it's old as heck and they hire subpar engineers. Like me. I used to work on the team that made the search page. It sucks because most of us were fresh out of college and had never made a website in our lives.

[–] kersplomp@programming.dev 8 points 1 month ago* (last edited 1 month ago) (4 children)

Have you tried buying from aliexpress? It's the same products as on Amazon, but directly from the supplier. Imagine Amazon, but everything's 50% off.

Source: I'm cheap as heck and buy random trash from them

[–] kersplomp@programming.dev 0 points 1 month ago

Too long, didn't read

[–] kersplomp@programming.dev 4 points 1 month ago

Meta's emissions were 3000x higher than they reported?! What the heck are they doing over there

[–] kersplomp@programming.dev 1 points 2 months ago (2 children)

I see your concern, but in practice that's not what happens in languages like Java and Python with exceptions. Not checking for exceptions is a choice because everyone knows you need to check in your top-level functions. Forgetting to catch is a problem that only hits newbies.

view more: next ›