this post was submitted on 28 Dec 2022
0 points (NaN% liked)

chat

8193 readers
640 users here now

Chat is a text only community for casual conversation, please keep shitposting to the absolute minimum. This is intended to be a separate space from c/chapotraphouse or the daily megathread. Chat does this by being a long-form community where topics will remain from day to day unlike the megathread, and it is distinct from c/chapotraphouse in that we ask you to engage in this community in a genuine way. Please keep shitposting, bits, and irony to a minimum.

As with all communities posts need to abide by the code of conduct, additionally moderators will remove any posts or comments deemed to be inappropriate.

Thank you and happy chatting!

founded 3 years ago
MODERATORS
 

Everytime I have to use some python script I fucking groan. God, what a pain in the ass python is...

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 years ago (2 children)

:downbear:

  • No curly brackets

  • No semi-colons

  • No need to declare variables

  • There's 8 trillion useful and free libraries

  • It's all open source

  • Passing arguments in function calls is so much easier

  • Classes are painless

DON'T YOU DARE INSULT MY PYTHON YOU LIBERAL

[–] [email protected] 0 points 2 years ago (1 children)
  • aesthetics
  • aesthetics
  • defect
  • JavaScript does the same with better package management.
  • same with much other languages, JavaScript, cargo, rust, go, etc.
  • in what languages is this a problem?
  • worst class implementation still in use (close second, C++)
[–] [email protected] 0 points 2 years ago (1 children)

Try typing your umpteenth semi colon and curly brackets. That shit ain't aesthetics, it's miserable.

Javascript is owned by Oracle. Go is made by Google. I release that they're both open source, but it's rad that we have a language that's on board with the free software movement, and that's created and maintained by volunteers.

Passing arguments in static typed language are a pain 😩

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

If avoiding typing extra characters is high on your list of priorities for a language then you need more experience programming. Higher priorities should revolve around ensuring the code you write works.

JavaScript is not owned by Oracle, that's Java, which has nothing to do with JavaScript besides curly braces. JavaScript has no license. There is a public reference spec and various (sometimes conflicting) implentations of an interpreter.

Despite official releases of java being proprietary, there are always compatible releases of OpenJDk which are GPLv2

Google doesn't own Go either, some ex-google engineers did start it but its BSD license.

Passing arguments in static typed language are a pain 😩

:warf-wtf: are you using different types for the same arguements? This is a first class way to break your program. Good python development is constantly manually checking for programmer error as though it was user error. Static languages just do that for you.

[–] [email protected] 0 points 2 years ago (1 children)

Haskell is this but it takes a quarter of the code to get work done.

[–] [email protected] 0 points 2 years ago (1 children)

Ya cuz Haskell is so damn easy that most programmers prefer it.

[–] [email protected] 0 points 2 years ago (1 children)

there's been some experiments teaching it to children - it's about as easy as python but it's a completely different way of thinking. in some ways, it's easiest to learn if you haven't been introduced to an imperative language already. I'd say they were two totally different skillsets except that you write radically different code in imperative languages that allow for higher-order functions after you've learned Haskell.

[–] [email protected] 0 points 2 years ago (1 children)

You could say the same about Lisp

[–] [email protected] 1 points 2 years ago

yea, I just prefer having a static type system. I'm too dumb to code without one.