News for hackers. Stuff that matters.
Re:Is Python the Future of Programming? by mayniac on Saturday July 21, 2018 @06:48PM (#17584271)
Python is stupidly simple and that's the reason I use it for 99% of my work (netsec/forensics).

I introduced my ex to it for her dissertation in astro-physics. It took her under a week to mainly self-learn and start writing scripts with numpy and matplotlib, and it was her first language. The code wasn't good by professional standards, but it did the job. I cannot think of any programming/scripting language which can be learned by someone with no previous programming experience in under a week at a level where it can be used in a masters dissertation.

Re:Is Python the Future of Programming? by mindB on Saturday July 21, 2018 @07:24PM (#17584396)
Not saying that python great for this, but this exact use case is literally what matlab was created for. I'd take python over matlab any day, but people have been writing crappy matlab scripts for their dissertations for a long time now.
Re:Is Python the Future of Programming? by zzzcpan on Saturday July 21, 2018 @07:26PM (#17584403)
Scripting languages have that property. Some are even more gradually learnable, like Perl, where you don't need to be exposed to anything from the language beyond what you want to do and it will run your code.
Re:Is Python the Future of Programming? by Walkman on Saturday July 21, 2018 @07:22PM (#17584388)
NO, Python is not simple at all, especially nowadays with all the asyncio stuff and tons of new features in 3.4+. One can't even follow what's happening with the language.

I don't understand where this nonsense is coming from. Probably ignorance? You might not know too much about it to understand how huge and complex Python is.

Re:Is Python the Future of Programming? by bsder on Saturday July 21, 2018 @08:06PM (#17584548)
It depends.

I can have an intern up and programming basic Python in about 3 days from nothing. I have run this experiment multiple times with teenagers.

The nice part about Python is that I can gradually introduce them to new features as they hit the problems the features are meant to solve.

And, I WILL argue that Python's syntax is easier to keep in your brain. Somewhere on HN there was an article showing the grammars of various programming languages as connected graphs, Python was quite obviously simpler than just about everything else.

Re:Is Python the Future of Programming? by Someone on Sunday July 22, 2018 @07:53AM (#17586309)
Re:Is Python the Future of Programming? by lykr0n on Saturday July 21, 2018 @07:39PM (#17584454)
asyncio is a feature, not a requirement. Most people will never need to use it or the threading library will meet their use case.

Every language will get more complex as you dig into it, but most people don't need to go beyond the surface.

Re:Is Python the Future of Programming? by Walkman on Saturday July 21, 2018 @07:57PM (#17584519)
The most basic things are hard to grasp also. I had a really hard time understanding what is the difference between unicode, str, bytes and how to encode what when I started with it 5 years ago: https://stackoverflow.com/questions/14839028/how-are-these-s...

Nowadays, teachers have to start with generators and yield even for beginners, because most of the things are generators in Python3, which is not a trivial concept to understand when you have no programming background.

Re:Is Python the Future of Programming? by mayniac on Sunday July 22, 2018 @12:01AM (#17585218)
No need to use asyncio as a beginner. Not all problems require concurrency to solve. The vast majority of the automation scripts I write have no need for it.
Re:Is Python the Future of Programming? by tomallalone on Saturday July 21, 2018 @08:28PM (#17584620)
I agree Python isn't simple at all, but I think it does have a kind of surface simplicity that its culture reinforces. 'one obvious way', etc.

Or to put it another way its a language you can do a lot with without caring too much about details.

Or to put it another way still you can go a long way with Python, Stack Overflow, and a bit of copy and paste.