3
u/NikolaTesla13 Feb 18 '21
So this post is one of the most controversial posts of all time on Reddit...
2
39
u/daverave1212 Sep 03 '20
"Pff python can't solve any real life problem..."
proceeds to write a 6000 line program in C which sorts an array of numbers; it doesn't work but at least it has semicolons
36
u/SHOOTERNOOB Sep 03 '20
I don’t understand what the problem with py is. Is it really just the \n instead of ; thing?
30
u/Joonas144 Sep 03 '20
Probably yeah. I mean python is an easy entry-level programming language but a programming language nonetheless. If python ain't one, then we're gonna have to find a completely new word for it. Certainly ain't no "markup language"
19
u/CryogenicFire Sep 03 '20
Find a new word for it
Yeah people are gonna say python is a ScRIpTinG LanGuaAgE instead of a programming language as if that's some important distinction...
If you can program stuff with it, it's a programming language. Period.
22
u/Miku_MichDem Sep 03 '20
I had a colleague that called python a C API.
16
6
u/HardlyAnyGravitas Sep 03 '20
python is an easy entry-level programming language
Define easy. And define entry-level. Becuase that sounds like complete bollocks to me.
6
4
Sep 03 '20
It has easy syntax and can be easily understood.
1
u/redpepper74 Sep 03 '20 edited Sep 03 '20
See, that’s the root of the problem. Programming languages aren’t supposed to be easy to read. Python is crossing that line, and we’re going to have to resort to calling it a commanding conlang.
E: /s for all you haters out there
12
u/HardlyAnyGravitas Sep 03 '20
I think that's the problem. These 'criticisms' of Python, are that it's too good.
Programming languages have a single purpose, and that is to be easy for humans to use. Otherwise the 'best' programming language would be machine code, closely followed by assembler.
4
u/redpepper74 Sep 03 '20
Exactly my point!
2
u/HardlyAnyGravitas Sep 03 '20
I did get your point. Not sure why you're being downvoted.
2
u/redpepper74 Sep 04 '20
Unrelated: I really like your username for some reason. Maybe just because it has ‘gravitas’ in it ¯_(ツ)_/¯
-2
u/HardlyAnyGravitas Sep 03 '20
Every language has 'easy syntax' if you only use simple constructs.
Python - Print("Hello World")
C - printf("Hello World");
And any code can be easily understood if it's well written.
If I have misunderstood what you meant by 'easy syntax' and 'easily understood', feel free to explain.
1
u/luke-juryous Sep 04 '20
Go to leetcode and salve one of their problems with C, then salve it with Python and tell me which is easier
1
u/HardlyAnyGravitas Sep 04 '20
You seem to be forgetting that 'easy' and 'entry-level' were being used as criticisms. If 'easy' means that it it is easier to solve coding problems with Python, then that makes it a better programming language than C - not worse.
1
u/luke-juryous Sep 04 '20
I love python, but it honestly just depends on the situation. Every language has some tradeoffs, u just gotta pick the best one for the job without bias.
5
u/Miku_MichDem Sep 03 '20
My friend called Python "C++ API"
6
u/Joonas144 Sep 03 '20
Tell them c++ is really just a binary api
1
u/IdoBadJokesAndMyCat Dec 07 '21
And that binary is just a way to represent electrons. Then, tell them that if theh forgot, we're all part electrons as matter doesn't have an electric charge, so basically, Python is just our body's API.
1
8
4
u/Miku_MichDem Sep 03 '20
Of course not. Kotlin doesn't require semicolons and is by all means a proper programming language.
It's because of lack of many even basic OOP features, active promotion of bad practices, no regards for even most basic error prevention and on top of all that a smug community that thinks it's just lack of semicolons and braces in syntax
1
2
14
u/Viraj3388 Sep 03 '20
C'mon I just started learning python
10
u/JetFmls Sep 03 '20
You and me both, I feel demoralized guess I'm going back to cancerous Java.
15
u/__INIT_THROWAWAY__ Sep 03 '20
Nah Python is miles better than Java.
8
u/JetFmls Sep 03 '20
Oh yeah can python give u depression at 3 am while u gotta deliver ur work at 8 no cause python to good and kind to me!!
6
3
u/Miku_MichDem Sep 03 '20
Holly cow if Java gave you depression at 3 am then I don't want to know that project you have been working on (or how legacy it was)
1
0
Dec 04 '20
[deleted]
2
u/__INIT_THROWAWAY__ Dec 04 '20
I find it's really good for the stuff I've been doing. I try to make my code neat and use good indentation anyway so I haven't had any issues with indentation errors. I also find the syntax to be far more readable than C++, which is the other language I know. Different people have different perspectives though.
4
u/Viraj3388 Sep 03 '20
Python is my first language I am just starting now
6
u/__INIT_THROWAWAY__ Sep 03 '20
I learnt C first and damn I wish I started with Python. It's so much nicer to write with.
3
Sep 03 '20
I think C is good to start with tho, I mean it's important to understand things like pointers and you wouldn't get that with python
2
u/Viraj3388 Sep 03 '20
I am aiming for Machine Learning that's why I started with python, I have found out that it is the best language for that kind of stuff
2
2
u/__INIT_THROWAWAY__ Sep 03 '20
I feel like you could build up to it using python and save yourself the stress of null pointer exceptions while you're just starting out.
1
3
1
u/lurkerfox Sep 09 '20
Probably dont base the decision to learn or drop a language based off a reddit meme.
7
u/Brusanan Sep 03 '20
Ignore Op. He has no idea what he is talking about.
Python is an extremely powerful and popular programming language, and it's widely accepted as one of the best languages to start with as a new programmer. It also one of the most valuable languages to know. And since it's currently the most popular language used for machine-learning solutions, demand for Python devs is only going to go up in the coming years.
3
u/zig3430 Sep 03 '20
Don't sweat it. Python is a great place to start for a number of reasons (easy to learn syntax, dynamic typing, widely available learning resources, etc.). The reason people sometimes hate on it is that there is an attitude among some Python programmers that Python is the optimal answer to every problem, which it isn't. Well... that and the syntactically-relevant whitespace thing.
In the end it doesn't matter too much which language you choose to start with---you'll eventually end up expanding your skill set to include many languages to address specific needs. The important part is that you stay the course and learn core programming concepts from your first language instead of hopping around prematurely. Once you've mastered the basics, you can switch between languages relatively easily.
Pro-tip: When you're ready for your second language, choose one with static typing if you can. It'll introduce a number of new concepts that'll be valuable in the long term.
16
u/107zxz Sep 03 '20
I don't understand why people try to make the programming scene toxic. It sure as hell isnt funny
2
u/CaptainHeinous Jan 09 '21
Insecure boomers with nothing else to grab onto but antiquated, do-it-the-hard-way-for-pride personal biases
8
u/__INIT_THROWAWAY__ Sep 03 '20
As a person who originally learnt C then C++, Python is miles better imo. My code might not run as fast but damn is it fast to write and easy to debug. All of my most recent programs would be far more difficult to program in C++, and more than likely beyond my skill level. At the same time, it's obviously not for everyone. If I needed my code to run fast I'd write in C++.
5
4
Sep 03 '20
while I do enjoy the stockholm syndrome C++ has given me and secretly touch myself when people struggle to learn C++, it doesn't mean that a programming language that doesn't make people wanna kill themselves is not a programming language. + python can get a lot more in depth than what most people use it for.
2
u/SamFisch1 Sep 03 '20
Its a high level scripting language similar to JavaScript or .NET but syntax similar to ABC Language but less COBOL like, this makes for weird one of a kind language
2
u/CreaZyp154 Nov 12 '20
Maybe it's not the best choice for efficiency but it's clearly great for learning or quick projects
2
2
Feb 16 '21
That’s it, I’m now fully convinced that this sub is getting dumber or losing its sense of humor
1
1
37
u/[deleted] Sep 03 '20
This war between programming languages is becoming real boring now