←back to thread

317 points est | 1 comments | | HN request time: 0.203s | source
Show context
amelius ◴[] No.17448876[source]
If they add anything to Python, it should be the ability to do functional-style programming without hassle. Right now it's almost impossible to compose functions in an inline style such as used in functional programming languages. Yes, there's lambda, but it doesn't extend into multiple lines, and applying a function to a bunch of lambdas directly leads to line-width overflow. Even JavaScript has better support for functional-style programming. Perhaps Guido should spend a year writing Haskell :)
replies(8): >>17448904 #>>17448927 #>>17448972 #>>17449048 #>>17449482 #>>17450517 #>>17450691 #>>17451251 #
laumars ◴[] No.17448927[source]
> Even JavaScript has better support for functional-style programming.

Which shouldn't be that surprising considering originally Netscape were going to port Scheme to their browser before choosing to create a new scripting language with "Java-like syntax" (you can argue amongst yourselves just how Java-like the syntax really is).

replies(1): >>17449516 #
beojan ◴[] No.17449516[source]
> originally Netscape were going to port Scheme to their browser

Imagine where we'd be if they'd just done that.

replies(2): >>17449612 #>>17451460 #
1. olavk ◴[] No.17451460[source]
There would probably be a lot more people complaining about scheme!