Live data from Hacker News

Is Python the Future of Programming?

m.slashdot.org

71–77 of 77 posts

Re: Is Python the Future of Programming?

#72
post #69

If web browsers would start to interpret python directly, then maybe. Otherwise I fear it will be Javascript.

Simple, just create webassembly-bytecode from python, and it will run in all modern browsers. Or at least thats the goal.

This doesn't seem to be so simple: https://stackoverflow.com/questions/44761748/compiling-pytho...

But some people had success nevertheless: http://droettboom.com/blog/2018/04/04/python-in-the-browser/

Re: Is Python the Future of Programming?

#73
post #54
post #30

Earlier quoted context omitted.

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.

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 gramma…

Possibly http://blog.nicksieger.com/articles/2006/10/27/visualization.... A comment links to http://flickr.com/photos/nicksieger/281055485/

Re: Is Python the Future of Programming?

#74
post #13

Earlier quoted context omitted.

I think programmers often misinterpret what’s hard about building large projects. It’s not correctness it’s communication. A type checker will save you from small errors but well written and easily understandable code will save you from a lot more. Not saying readability is harder in c# java go or rust just that the type system doesn’t help with it that much.

As a Python developer, I love type annotations on function signatures because they're great, up-to-date documentation. I don't care so much about them being checked, I care that they make the function much easier to read and reason about.

If they weren’t checked, how would you know they are up to date?

Re: Is Python the Future of Programming?

#75
Python in particular, maybe not.

But the nature of the language, its simplicity, its indenting style, its readability, obviously yes. Those were big improvements on the C language it was inspired from.

I don't think python will survive its lack of performance, although I really wish it would.

Re: Is Python the Future of Programming?

#76

Earlier quoted context omitted.

As a Python developer, I love type annotations on function signatures because they're great, up-to-date documentation. I don't care so much about them being checked, I care that they make the function much easier to read and reason about.

If they weren’t checked, how would you know they are up to date?

I don't care how they're updated, I just care that they are. If that's by checking, it's fine by me.

Re: Is Python the Future of Programming?

#77
post #64
post #53

Earlier quoted context omitted.

Lua comes in quite high on the "Most Dreaded" list of programming languages and has 1-based indices in a world of 0-basing. Not exactly something I would recommend ...

I would love to see that list. Have a link?

Here's one: https://www.reddit.com/r/lua/comments/60ynhr/lua_featuring_a...
Post reply on HN