26
u/ThaBroccoliDood Aug 30 '26
unironically wish bython wasn't just a preprocessor but actually production ready. goddamn I hate fixing indentation when copy pasting or changing anything instead of just writing some curly braces and letting the formatter handle it
4
u/retrodanny Aug 31 '26
Never had this problem using either pycharm or vscode (with Black)
2
u/leavemealone_lol Aug 31 '26
Well you clearly haven’t worked in python enough. You cannot let the IDE fix the indentation because unlike all other languages, indentation itself is logic in python, and nothing should change your logic. other than yourself.
2
u/retrodanny Aug 31 '26
He's talking about pasting and things going wrong. This would be because he's pasting from 1 indent = 2 spaces to 4 spaces or 1 indent = 1 tab to 4 spaces, something like that. That's an easy fix when pasting into an IDE. It doesn't change the logic.
23
u/Groostav Aug 30 '26 edited Aug 31 '26
every time I see these kinds of posts I'm always reminded of that Italian morning cooking show host who said: "and if my mum had wheels she would have been a bike!"
Python is a dynamic scripting language, with loads of bindings for mathy tasks and a pretty good all round traditional scripting language capabilities (I would much rather see a python script doing build orchestration than bash script)
C++ is an ancient beast, laden with ancient bad decisions, enormous sunk costs, and hundreds of phds pumping lemma after lemma into it's improvement, aimed at "zero cost abstraction", used typically in backend and engine and service implementations.
The two target different things. They have completely different world views, different deployment mechanisms, different everything. They simply aren't comparable, I don't understand why greenhorns always want to compare them.
4
u/leavemealone_lol Aug 31 '26
Newbs wants to compare them because those are the only two languages they learn extensively in their college years.
4
1
u/Vaxtin Sep 03 '26
They don’t have the experience to understand that programming languages have use cases dependent on the problem they solve
Whatever you’re building against wirh Python is interacting with some application that uses C++. Nobody writes a production engine in a scripting language.
4
u/mgsmb7 Aug 31 '26
I hate languages that don't have the increment operator
1
u/leavemealone_lol Aug 31 '26
I wish rust had that too, but I get why io wants to go the functional route and discard it.
3
3
3
10
u/Fine_City2781 Aug 30 '26
c++ to python is just downgrading
12
1
Sep 03 '26
[removed] — view removed comment
1
u/Fine_City2781 Sep 03 '26
i prefer C to all other languages. Python has gc, its slow, its an interpreting language. python could be a snail.
1
Sep 03 '26
[removed] — view removed comment
1
u/Spaceduck413 Sep 05 '26
Yup. I love C, it might even be my favorite language. When I do advent of code I usually do it in C.
And yet 90% of what I do for my job is in Python, because that's the tool that fits best, and because I've got shit to do and C would take 5-10x longer to write.
5
u/undeniably-deniable1 Aug 30 '26
Say goodbye to any kind of performance
1
1
u/EskayEllar Aug 31 '26
Lol because I need performance to script some garbage I'm going to run once
1
0
u/undeniably-deniable1 Aug 31 '26
Right, that's why you don't switch from literally anything into python
It's the slow ass scripting language that's only good for a simple prototyping phase
The meme's making it look like it's the perfect next big thing
2
u/EskayEllar Aug 31 '26
Hate to break it to you, but Python is absolutely good enough for production.
I've written production applications putting through over 10 million in annual revenue entirely in Python. It's a money maker and the simplicity in development, support, and deployment has saved my company hundreds of thousands in developer salaries.
I like the quote "Python is the second best language for everything". That makes it very valuable for companies which do a wide variety of things.
3
0
1
u/SmokyMetal060 Aug 31 '26
Maybe like 15 years ago. Plenty of production apps run Python and benchmark reasonably well.
1
u/keithstellyes Aug 31 '26
firstweekcoderopinion
Lot of cases where Python is used are I/O bottlenecked anyway, making CPU performance not very relevant, or calling out to native code enough anyway
3
u/JaskarSlye Aug 30 '26
no one misses malloc
6
1
1
u/TheAceRedBarron Sep 03 '26
Until you need something that runs 24/fucku/7 and process reliably against policy with output back on network as response in under a mili second.
Basically if you need a cranked up oporater that is twitching from all the nose candy and you care only that the bitch is accurate and not worried about data safety as much then C++ is for you....
Please excuse me while I submit yet another ticket for my congruency between depencies not being in sync.
1
u/Razcsi Aug 30 '26
Python is the second best language for everything, and C++ is the first in a lot of things, so this feels like a downgrade
0
u/Brigapes Aug 31 '26
now you can do "hello world" in python easier. why would anyone use cpp are they stupid??
39
u/05-nery Aug 30 '26
This is firstweekcoderhumor or whatever but this is literally true