Would it be possible to make a Python-like language using C-style conventions? Let's call it "Cython" for reference. If most the libraries can be auto-converted, then much of the wheel doesn't have to be reinvented.
Not everyone will like it, but at least those who don't like Python's white-space dependence will enjoy it. It would be a competitor to JavaScript, more or less.
An actual attempt at a constructive suggestion? On Slashdot yet?
But mostly the story makes me feel quite old. I can't accurately count the number of new languages I've studied over the last 30 years, but I've only dabbled. If I had recognized Python as "the future" even 20 years ago, then I could have been "with it" by now. But I had to be perverse about the PERL regexps.
(Actually, it's probably already been about 10 years since I did my most moderately serious dabble with Python... (No, only 5 years ago.)
> I don't get why people are so bent out of space by the spaces
Not sure if stupid or trolling but assuming you are asking a genuine question the problem is NOT space, it is Python's retarded handling of whitespace.
Image if Mathematicians said these two expressions were NOT equivalent?
a = 1+2
a = 1 + 2
You would think this is absolutely insane and you would be correct.
Now apply the same retarded logic to Python. It is common to use multiple columns for code such as using Colu
This is the one thing about Python's white space that really trips me up. I'm accustomed to inserting debug code at col1 in c-style languages, and I often do it in Python without thinking and then have to go back and indent it properly. And that bothers me, because then my debug code blends in with the original source, and I run the risk of leaving debug code in when I clean up. So I need to place a starting and ending comment around debug code and indent it properly. It's a lot more time commitment when all I want to do is "print(x)" or something.
The first thing they can fix is (Score:1, Troll)
... The stupid reliance on tabs to mark blocks.
Let's invent "Cython" (Score:2)
Would it be possible to make a Python-like language using C-style conventions? Let's call it "Cython" for reference. If most the libraries can be auto-converted, then much of the wheel doesn't have to be reinvented.
Not everyone will like it, but at least those who don't like Python's white-space dependence will enjoy it. It would be a competitor to JavaScript, more or less.
Re: (Score:1)
An actual attempt at a constructive suggestion? On Slashdot yet?
But mostly the story makes me feel quite old. I can't accurately count the number of new languages I've studied over the last 30 years, but I've only dabbled. If I had recognized Python as "the future" even 20 years ago, then I could have been "with it" by now. But I had to be perverse about the PERL regexps.
(Actually, it's probably already been about 10 years since I did my most moderately serious dabble with Python... (No, only 5 years ago.)
Re: (Score:3)
> I don't get why people are so bent out of space by the spaces
Not sure if stupid or trolling but assuming you are asking a genuine question the problem is NOT space, it is Python's retarded handling of whitespace.
Image if Mathematicians said these two expressions were NOT equivalent?
a = 1+2
a = 1 + 2
You would think this is absolutely insane and you would be correct.
Now apply the same retarded logic to Python. It is common to use multiple columns for code such as using Colu
Re:Let's invent "Cython" (Score:2)