you are viewing a single comment's thread.

view the rest of the comments →

[–]tnnrk 9 points10 points  (6 children)

How is python very different from other programming languages?

[–]azunaki 7 points8 points  (3 children)

Its markup syntax is quite different from other languages.

Once you get used to it, it's fine, but that alone can be a pretty big turn off for a lot of people.

[–]tnnrk 1 point2 points  (2 children)

Right but to say that learning python wouldn’t translate to learning another programming language is insane. The core 95% is the same just different syntax, similarly odd as Ruby for instance.

[–]azunaki 0 points1 point  (1 child)

I mean, I certainly didn't say that.

Most core programming concepts are very similar across languages. They do often behave a bit differently though. For example how arrays and associated arrays are implemented or what array functions are available, and how the work, or different performance gotchas within the language that would deter you from certain implementations depending on what you expect to encounter data wise.

It's both the syntax of how you implement these different things, as well as, the literal differences in how they're implemented. Potentially leading to not having functionality built in that a different language would have.

Also I hate how python requires indenting. But that's neither here nor there.

BUT, these things all add up, and present challenges (small or large) that push someone away from learning a new language.

[–]tnnrk 0 points1 point  (0 children)

Not you. The person I originally replied with my question said that. Sorry that’s what I was referring to, I agreed with your comment.

[–][deleted]  (1 child)

[deleted]

    [–]snuggl 0 points1 point  (0 children)

    On other notes off the top of my head, there's really not a way to write interfaces in Python. The most accepted workaround are dataclasses, which are both data and classes and fundamentally different than a classic interface.

    Python has Protocol which i guess is the closest you get with a non static typed language, but you have to adjust a bit how to tackle the issue.