Slashdot Mirror


How Much Python Do You Need To Know To Be Useful?

Nerval's Lobster writes: Since Python is a general-purpose language, it finds its way into a whole lot of different uses and industries. That means the industry in which you work has a way of determining what you actually need to know in terms of the language, as developer Jeff Cogswell explains in a new Dice piece. For example, if you're hired to write apps that interact with operating systems and monitor devices, you might not need to know how to use the Python modules for scientific and numerical programming. In a similar fashion, if you're hired to write Python code that interacts with a MySQL database, then you won't need to master how it works with CouchDB. The question is, how much do you need to know about Python's basics? Cogswell suggests there are three basic levels to learning Python: Learn the core language itself, such as the syntax and basic types (and the difference between Python 2 and Python 3); learn the commonly used modules, and familiarize yourself with other modules; learn the bigger picture of software development with Python, such as including Python in a build process, using the pip package manager, and so on. But is that enough?

27 of 263 comments (clear)

  1. trick question by hypergreatthing · · Score: 4, Funny

    The answer has to be 0 right?

    1. Re:trick question by Anonymous Coward · · Score: 5, Interesting

      I know 0 hours worth of python and still was the only person to present an all python solution at a job interview asking people to solve a problem in python.

      I think zero is close to the amount needed to be competitive with those that *only* know python.

    2. Re:trick question by TechyImmigrant · · Score: 4, Funny

      The answer has to be 0 right?

      No. The answer would be : None

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    3. Re:trick question by sinrakin · · Score: 4, Funny

      If you need to know it, you need to know it. If I hired someone who didn't know some piece of Python that was needed, I'd totally sit his ass down and make him spend the 5 minutes it would take to learn it. No excuses.

    4. Re:trick question by RoccamOccam · · Score: 4, Insightful

      No, you're missing the point. It's not acting as a nanny, it's merely removing the redundancy of having both reasonably-indented code and start/stop tokens. That's it.

      One of the interesting things about Python is that very few new programming languages use required-indentation, probably due to fear of backlash by the narrow-minded. I suspect that this tends to help keep the Python community (for whom this is a great feature) from dribbling away to the "new hotness" and may be why Python keeps getting stronger and stronger (in contrast to old competitors like Ruby and Perl).

    5. Re:trick question by richpoore · · Score: 5, Informative
    6. Re:trick question by telchine · · Score: 5, Funny

      I find that knowing the majority of the Dead Parrot sketch and the main chorus of the Lumberjack song gets me through fine :)

  2. I'm already useful by plover · · Score: 5, Funny

    I know C++. To me, anyone who knows python but not C++ is half useless. If you only know Java, you're 25% useless. And if you know only Visual Basic, you're 125% useless.

    --
    John
    1. Re:I'm already useful by ADRA · · Score: 4, Insightful

      Spoken by a true pragmatist. I'm glad you're not my hiring manager (though sadly there are many who work under the same broken assumptions). I hate programming languages as much as the next zealot, sure. To assume a systemic bias against those with a specific set of language skills (disregarding experience/domain knowledge/people management/customer interaction/raw productivity/hipster hat collections) may be a little short-sided to the extreme.

      --
      Bye!
    2. Re:I'm already useful by tomhath · · Score: 4, Interesting

      Yea, reminds me of the time a co-worker wrote a little utility in C++. It was only a few dozen lines and took him less than an hour to get it working; I did the same thing in one line of awk in less than a minute.

  3. You can get by with: by xaosflux · · Score: 4, Funny

    Holy Grail;
    Dead Parrot;
    Spam;
    Ministry of Silly Walks;
    and of course Spanish Inquisition.

    1. Re:You can get by with: by Anonymous Coward · · Score: 5, Funny

      I didn't expect the Spanish Inquisition to be on that list...

  4. Oh look, more dice.com crap ... by Anonymous Coward · · Score: 4, Interesting

    So here's the link with the campaign tracking removed.

    It looks like Dice is going to run a series of non-articles detailing what we should know, and have started to embed shit like "?CMPID=AF_SD_UP_JS_AV_OG_DNA_" this in their self-promoting URLs.

    Click bait is click bait. Especially when done by sleazy assholes like Dice.

    Fuck you, dicebags.

  5. How Much? by MagickalMyst · · Score: 5, Insightful

    None, if you use Perl :) I write code to monitor hardware devices, interact with SQL, and output to HTML pages. Perl does it all!

    That said, I think learning the basics of any language is important no matter what type of software you will be coding.

    Programming languages are like tools; use the best tool to get the job done.

    Assembly is a wonderful language if you are writing low level system software; not too useful for SQL databases. C++ is great for system interaction and fast apps - but I probably wouldn't use it for front end UI. Javascript is great for web pages but not for device drivers.

    Visual Basic is good for.. um.. nothing.

    --
    Political correctness is really just herd psychology pushed by insecure people who desperately seek social conformity.
  6. A Similar Question by raftpeople · · Score: 5, Insightful

    How much of a summary do you need to read to know you should skip that one?

  7. How much crap before Slashdot becomes useless? by Anonymous Coward · · Score: 5, Insightful

    We've seen this same thing over and over with a different language. Does anyone care by now?

    Next week:

    How much Swift ... useful?

  8. Bare minimum by bobdehnhardt · · Score: 5, Funny

    I'd say the Parrot Sketch, Argument Clinic, and Silly Walks. Maybe add in Bruces and Spanish Inquisition, although no one expects that last one.

    Um, what? No, I didn't read the article before responding. Why do you ask?

  9. Scope of question by lq_x_pl · · Score: 4, Insightful

    It is difficult to identify how much of [anything] one needs to know without knowing what the [job] responsibilities are.
    I use Python for day-to-day automation of things I'd rather not do by hand. I'm not master, and most of what I write looks like c++ (not very pythonesque) - so someone who is exceptionally proficient with Python would cringe at what I produce.
    However, what Python I do know allows me to be more productive throughout my day.
    Just spend time with the language trying to do things that [job] requires, and you will discover how much Python you need to know to do [job].

    --
    An internal system operation returned the error "The operation completed successfully.".
  10. Re:Almost by Marginal+Coward · · Score: 4, Funny

    It always amazes me that so many folks reject something entirely because they don't like one aspect of it. Good luck finding a wife...

  11. Did I call it or did I call it? by Verloc · · Score: 5, Insightful

    Comment: Ahh Dice (Score 4, Funny)
    by Verloc on Thursday June 04, 2015 @10:08PM (#49844935) Attached to: How Much JavaScript Do You Need To Know For an Entry-Level Job?

    Last week it was "How much C++ do you need to know for an entry level job"

    next week it'll be "How much Python do you need for an entry level job"

    Must be nice crowd sourcing your job requirements from Slashdot.
    ---

    It was even Python. Amazing. I predict next week: Ruby.

    1. Re:Did I call it or did I call it? by Dogtanian · · Score: 5, Insightful

      Er.... yeah. Indeed you did. I missed those, but this is utterly, utterly blatant now that it's been pointed out; this should have been posted higher- it's one of the few cases I'd forgive posting as an offtopic "reply" to an early comment in order to increase its prominence.

      Here are the stories in question:-

      How Much C++ Should You Know For an Entry-Level C++ Job? (May 27 2015)

      How Much JavaScript Do You Need To Know For an Entry-Level Job? (4 June 2015)

      Note the a gap of eight days between the stories in both cases. Note that the three stories were submitted respectively by Nerval's Lobster, Nerval's Lobster and, er... Nerval's Lobster. Who happens to work for Slashdot.

      Not that I'm suggesting that the fact Slashdot is now owned by the IT and engineering careers website Dice has anything to do with it being used to push out formulaic and self-serving "submissions" like this. *cough*

      Seriously, this makes even the old Slashdot "whoops, a stupid editor 'accidentally' posted the same good-for-attracting-pageviews-and-discussion story twice just as it fell off the front page" cynicism look good.

      --
      "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
  12. I think you would need to know the Holy Grail... by Fallen+Kell · · Score: 4, Funny

    I mean seriously, you need to at least know the Holy Grail to say that you know Python...

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
  13. Re:Almost by h4ck7h3p14n37 · · Score: 4, Insightful

    Have you actually written code in Python and found the whitespace handling to be an issue? When I first heard about whitespace being significant I didn't like it, but I've never had a problem in practice.

  14. Re:Almost by rubycodez · · Score: 4, Funny

    My wife doesn't have a white space, she's asian.

  15. Re:Almost by Marginal+Coward · · Score: 4, Funny

    I heard a similar rationale regarding a baby and its bathwater. At first, the bathwater was blamed for the unfortunate zealous disposal of the baby. But when that explanation didn't fly, the purported ugliness of the baby was offered as justification. However, after hearing both explanations, the jury remained unconvinced.

  16. Re:Almost by Anonymous Coward · · Score: 4, Interesting

    Tables use white space to convey structure. Do you think they are retarded?

    Paragraphs usually have a first line with extra white space. Is this retarded?

    Centering titles implies using lots of white space. Is this retarded?

    Operas have white spaces between arias. Supposedly this is also retarded, isn't it?

    > You have to know enough to know that it makes whitespace significant. That's useful, because it should lead you to choose another scripting language, one which is less retarded.

    You used white spaces in your post. Why? Are they significant or is your post retarded?

    [Meta: Can we filter out registered posts -- obviously without being registered?]

  17. Re:Almost by Dogtanian · · Score: 5, Insightful

    Please excuse this off-topic queue-jumping reply to your comment, but there are times when someone makes a very insightful observation that really, really should have gone in a more prominent position.

    Sneak preview; three virtually identical questions of the form "How Much [language x] Should You Know For an Entry-Level [language x] Job?" going to the Dice website and "submitted" by the same Slashdot employee in just over two weeks.

    Bonus; OP linked above correctly predicted this week's story and even got the language right.

    That's almost funny, except that it isn't. Admittedly, Slashdot has been "going down the tubes" almost since it launched, but this is particularly crap.

    --
    "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).