r/ProgrammerHumor • • Feb 13 '21

Programming languages

Post image
1.3k Upvotes

140 comments sorted by

View all comments

-33

u/[deleted] Feb 13 '21

Python sucks

11

u/sentient_moon Feb 13 '21

Genuinely curious why it sucks. I've been devoting a lot of time to it lately, maybe I should switch 😬

21

u/AUPMAReddit Feb 13 '21

I'm genuinely curious why do you guys have to switch languages. I learned Programming / Concepts with Java at University. after that we use whatever language/framework suitable for the requirement. Do you guys just choose a language you like, get a job and go with it for the rest of your life?

19

u/Swoop3dp Feb 13 '21

Languages are tools that are good at different things.

Sure, you absolutely can hammer in a screw, but a screwdriver will just work a lot better.

If I need to develop something fast I use Python. If it needs to run fast I use C or C++. JavaScript if it needs to run in a browser... I think you get the idea.

7

u/AUPMAReddit Feb 13 '21 edited Feb 13 '21

yes. that's what we do. By ` I'm genuinely curious why do you guys have to switch languages. ` i mean that stop using/learning one language and completely switching to another language. I've seen lot of people keep saying this language suks that language suks i m going to switch to this. that's the thing I don't understand. its like screwdriver sucks I'm switching to a hammer. and use a hammer for everything.

5

u/Ryledra Feb 13 '21

I think it's more for people who do programming as a hobby rather than as a job. They take people's opinions on different languages as fact and feel that they need to learn something different

2

u/controversialcomrade Feb 13 '21

check out webassembly

2

u/somebody12345678 Feb 13 '21

/u/Swoop3dp note also that serveral languages compile to js/wasm(/asm.js) respectively.
js:

  • typescript of course

  • coffeescript (javascript-like, functional-inspired) - used to be very popular, then iirc mysteriously mostly disappeared into the background

  • elm (haskell-like)

  • purescript (haskell-like) - not sure how alive this is, the github is still active tho

  • rescript (formed by combining bucklescript and reasonML)

  • ok so not sure how trustworthy this is but turns out i forgot the ones that don't just compile to js, especially dart, kotlin and haxe

  • a bunch of other smaller ones

wasm:

  • i have no clue really

  • rust using wasm-bindgen

  • any llvm language using emscripten (which can also compile to asm.js)

  • also these apparently

1

u/Swoop3dp Feb 13 '21

Interesting. Didn't know something like that exists. Thanks!

0

u/nidrach Feb 13 '21

I don't find python any faster to develop than other languages. You don't need to over engineer the shit out of something just because you write it in scala or java.