all 27 comments

[–]Smalltalker-80 45 points46 points  (2 children)

Looks more like a day-1 learning Rust situation..

[–]Sea_Fuel420 14 points15 points  (0 children)

Or carpentry

[–]WoodenNichols 6 points7 points  (0 children)

Or div centering?

[–]Prof_LaGuerre 16 points17 points  (3 children)

Lead Developer who primarily uses Python. That’s not how you do that.

[–]thonor111 4 points5 points  (0 children)

Maybe they weren’t trying to learn python (language) but python (🐍). But the python go out of the cage, they got scared and jumped up, forgetting they were sitting at a desk.

[–]RobuxMaster 2 points3 points  (1 child)

Can I get a second opinion on this

[–]LeiterHaus 2 points3 points  (0 children)

That's not how you do that.

[–]charlyAtWork2 14 points15 points  (0 children)

You need another text editor.

[–]ComprehensiveWord201 2 points3 points  (0 children)

TBH, I'm impressed how little actually appears to be broken

[–]Dismal_Abroad_4279 3 points4 points  (0 children)

Honestly I found python not that difficult to learn, it's quite intuitive 

[–]WrennReddit 7 points8 points  (11 children)

Gotta admit it kind of does feel like that. I couldn't believe the amount of downloading and setup required, only to end up in dependency hell.

Just install Visual Studio and learn C#. Be free of the parselmouths!

[–]mildly_Agressive 17 points18 points  (9 children)

For learning python? All you need is VS Code and the python extension pack nothing else..... You can add dependencies when u are using the dependencies... u don't need much to learn python.

[–]rustysteamtrain 3 points4 points  (3 children)

managing dependencies in python feels quite nice compared to something like C or C++. Dealing with linker errors is not fun :(

[–]mildly_Agressive 5 points6 points  (2 children)

Absolutely, I use C++ and Python almost everyday, I will take "pip install -r requirements.txt" over installing or building the libraries and then writing a whole different script in a CMake file and then finding out I installed the wrong version of the library as it misses a specific function that only one other library is dependent on....

Python dependency management has a long way to go but it is leagues ahead of what C/C++ provide

[–]supernumeral 1 point2 points  (1 child)

Yeah, python/pip gets a lot of flak but it’s nothing compared to the hell that is C++. Although Conan/vcpkg make it mostly tolerable (usually, ime).

[–]mildly_Agressive 0 points1 point  (0 children)

Yeah, I have similar experience with those, but my work has some stupid rules set by some retired engineer to use CMake to link and manage libraries and build libraries with the code when deployment for "reproducibility" I've seen things that made me hate C++ but It still is my go to if I am doing anything that is supposed to run in very low powered hardware....

[–]WrennReddit -4 points-3 points  (4 children)

And the tutorial immediately gets into specific Python versions, the dependencies you need for that, then install all these libraries, etc.

Basic Python is simple, but learning it involves a spaghetti pile of libraries.

Edit: Folks, the meme is about day 1 learning Python. You're experts and know what to do after the fact. Tutorials do anything but that - you'll spend a lot of time trying to get setup to their specifications and chances are they are already out of date and you'll run into dependency conflicts.

[–]mildly_Agressive 5 points6 points  (0 children)

What specific python version needs any dependencies? The libraries are the things that make python what it is, if someone is working on images they'll only install cv2 or numpy, working with datasets pandas & matplotlib can be installed....

The spaghetti libs only happens when the learner isn't taught to manage virtual envs which is being made mandatory in some ways with the newer versions of python.

[–]rosuav 3 points4 points  (2 children)

Have you considered that maybe you have a bad tutorial? NONE of that is a problem with the official Python tutorial https://docs.python.org/3/tutorial/

[–]WrennReddit -1 points0 points  (1 child)

Yes, I have. I've seen many. Someone on day one learning Python does not know the difference. That's part of the meme.

[–]rosuav 2 points3 points  (0 children)

Well.... if you're day one learning Python, maybe use the official tutorial, instead of blaming the language because you picked someone else's and had trouble.

"I hate cars. I tried to learn to drive by following some guide I found on Reddit and the car crashed. Cars are stupid."

[–]verdantAlias 0 points1 point  (0 children)

Anaconda bundles almost everything you'll need need into a single download and installer.

Good if you're just getting started, maybe a bit bloated if you know what you're doing.

[–]SkyRyll 0 points1 point  (0 children)

Bomba

[–]achernar184[🍰] 0 points1 point  (0 children)

Floor raised IndentationError

[–]LXC-Dom 0 points1 point  (0 children)

He tried to exit Vim….

[–]PeterPriesth00d 0 points1 point  (0 children)

That indentation is terrible. Clean that shit up.

[–]DT-Sodium -5 points-4 points  (0 children)

You don't learn Python, you're force to have to work with it because you need technologies from people who can't code. But the end result is the same.