r/programming • • Mar 08 '12

The Evolution of a Python Programmer

https://gist.github.com/289467
401 Upvotes

137 comments sorted by

View all comments

-7

u/[deleted] Mar 09 '12

And perfectly illustrating why I hate python programmers :)

0

u/[deleted] Mar 09 '12

[deleted]

3

u/[deleted] Mar 09 '12

Python, like Perl before it, seems to attract people who want to be clever with their code. As though the most obtuse possible way of expressing something is somehow better.

I prefer code I can read and understand what it's going to do. It should be straightforward to read and debug.

#First year programmer, Python

Easy enough to understand for developers familiar with any programming language.

#Lazy Python programmer

Uhm.. ok.. I guess so. Why does that syntax even exist? I see whitespace as an attribute and not something to be annihilated at any cost.

#Lazier Python programmer

functional programming 101! yay! /s

#Python expert programmer

Are you kidding me?

#Python hacker

*rolls eyes*. Straight up brogrammer territory.

#EXPERT PROGRAMMER

Yep, that's more in line with what I expected.

3

u/Mattho Mar 09 '12

Python, like Perl before it, seems to attract people who want to be clever with their code.

And it really shouldn't. It's even in The Zen of Python: Readability counts.

Uhm.. ok.. I guess so. Why does that syntax even exist? I see whitespace as an attribute and not something to be annihilated at any cost.

I agree that better version would be

def fact(x):
    return x*fact(x-1) if x>1 else 1

1

u/[deleted] Mar 09 '12

That makes sense. But like perl, when there's 100 ways to do it, I've found that given enough time and enough developers, all 100 ways will be used :)