News for hackers. Stuff that matters.
Re:Is Python the Future of Programming? by nicodjimenez on Saturday July 21, 2018 @07:01PM (#17584321)
Python does have two growth vectors going for it right now:

1) Deep learning / data science works really well in Python

2) Lambda functions are really great in Python... maybe people will choose to write servers out of Lambda functions instead of writing high performance servers in Go - who knows?

Those are big areas, but still a small percentage of all programming work falls into those two categories.

Re:Is Python the Future of Programming? by Walkman on Saturday July 21, 2018 @07:30PM (#17584413)
Sorry, but you don't have no clue what you're talking about.

Python is an imperative language by nature, and lamdba is very uncomfortable to use for anything than a simple expression. You can use functional elements up to a certain degree, but it will be a pain if you try to force it to be a functional language; you simply can't go very far with it.

Re:Is Python the Future of Programming? by jlrbuellv on Saturday July 21, 2018 @08:18PM (#17584593)
I think he means AWS lambda functions, which are super easy in python
Re:Is Python the Future of Programming? by repsilat on Saturday July 21, 2018 @07:09PM (#17584346)
> Lambda functions are really great in Python

Hah, if you had told anyone that five years ago they would have been very confused. "What are you talking about? Lambdas in Python are horribly neutered..."

Back to what you actually meant, I think that lambda functions will get simpler to use in every language, and I think JS will extend a lead there even though I prefer Python as a language.

I should get my "microservices built out of spreadsheets" project (https://6gu.nz) onto AWS Lambda to get in on the zeitgeist though, put a horse in the race. And then somehow get deep learning (and the blockchain...) in there to really cash in on the bandwagon trends.

Re:Is Python the Future of Programming? by rcfox on Saturday July 21, 2018 @07:31PM (#17584419)
I must be stuck in the past. What's great about lambda functions in Python?
Re:Is Python the Future of Programming? by jp_sc on Saturday July 21, 2018 @07:59PM (#17584527)
I think the parent isn't talking about lambda functions, but about python code deployed on the AWS Lambda
Re:Is Python the Future of Programming? by lostmsu on Saturday July 21, 2018 @09:21PM (#17584765)
They support many languages, and you have to pay more for slower ones
Re:Is Python the Future of Programming? by nicodjimenez on Saturday July 21, 2018 @09:18PM (#17584758)
hey yeah I meant AWS lambda functions! I think they are better suited for serverless than JS because JS is so asynchronous, hard to debug, and really designed for an event loop that lasts forever. I tried doing AWS lambda with JS but I found it much less intuitive than Python for AWS lambda, in the same way NodeJS is more intuitive for writing servers with lots of async logic than Python.