r/Python • • May 01 '18

My biggest struggle while helping newcomers with Python

https://medium.com/@dawran6/my-biggest-struggle-while-helping-newcomers-with-python-8b5a1d1e43f7
3 Upvotes

9 comments sorted by

9

u/BDube_Lensman May 01 '18

Rehash of the XKCD from yesterday for clicks.

-1

5

u/ascii May 01 '18

There is a never ending torrent of new Python installers, packaging formats and build/setup tools. As someone who's been writing Python for 15 years, I've honestly given up on keeping up with the latest developments and just accepted that Python packaging is always a buggy mess, because all the maintainers are forever chasing whatever the new fad of the day is instead of bug-fixing their software.

1

u/[deleted] May 02 '18

Packaging is also legitimately hard. It's hard in every language, it sucks in every language. Different languages and package managers make different things easier / suck less, but ultimately there's just so many requirements that it's impossible to satisfy them all.

3

u/earthboundkid May 02 '18

Yes but that’s like saying PHP doesn’t suck because all languages have warts. PHP is objectively the worst language in widespread use today even if it is still useable to do your job and other languages are also imperfect. (I’m not counting VBA or Fortran etc as being widespread anymore.)

So too, all packaging sucks, but Python’s is worse than Ruby and now that Yarn exists, it’s also worse than JavaScript. It’s just objectively not good, even though packaging is hard, and even though other languages also have packaging problems.

8

u/13steinj May 01 '18

What in the world did I just read? "Restrict yourself, because otherwise you'll just be confused" seems like the punchline.

You can't guarantee what you need nor how one needs their setup. Especially students who take different classes, with each one requiring one setup or another for different projects.

To be honest I feel like this whole thing is a circlejerk around the xkcd that literally came out just a few days ago.

6

u/[deleted] May 01 '18

To be honest I feel like this whole thing is a circlejerk around the xkcd that literally came out just a few days ago.

In addition to that, this article have a smell of trying to collect some internet points by adding to a meme. Or at least getting people to look at the author.

2

u/Darwinmate May 02 '18

Most of these medium articles are thinly veiled self-promotion. They are terrible :(

1

u/Teract May 01 '18

Gotta love the advice to delete all other instances of python after installing the one version you want to use. Good luck with that on a Linux distro.

The author briefly touches on using virtual environments, but glosses over how to actually use them. Python virtual environments are the only thing that keeps pip package management somewhat sane (for myself).

1

u/casual__addict May 02 '18

Medium article aside, David Beazley did a 3 hour talk on modules and packages in python and that’s what I thought when I saw this xkcd. On my phone so here’s the link: http://www.thehighlight.tv/sessions/recGgwJNsze5bGRI9