Among developers, Python is the most popular programming language, followed by C, Java, C++, and JavaScript; among employers, Java is the most sought after, followed by C, Python, C++, and JavaScript.
Or so says the 2017 IEEE Spectrum ranking, published this week.
IEEE Spectrum, a publication of the The Institute of Electrical and Electronics Engineers, a technical advocacy organization, says it evaluated 12 metrics from 10 sources to arrive at this conclusion.
It claims to have culled data from Google Search, Google Trends, Twitter, GitHub, Stack Overflow, Reddit, Hacker News, CareerBuilder, Dice, and its own digital library.
https://www.theregister.co.uk/2017/07/21/python_java_c_programming_languages/
(Score: 0) by Anonymous Coward on Saturday August 05 2017, @06:14PM (6 children)
How hard would it be to add optional brackets to python? I find them extremely useful when used with tools like this: https://github.com/facelessuser/BracketHighlighter. [github.com] It is actually one of those annoyances that has slowed down my use and learning of python a lot.
(Score: 1, Insightful) by Anonymous Coward on Saturday August 05 2017, @06:51PM
I believe there are scripts to help with nesting that will mark up code with braces, then remove them and fix spacing when the source goes back to rest. But what a fucked up choice to add lexical significance to whitespace.
(Score: 2) by fyngyrz on Saturday August 05 2017, @06:59PM (4 children)
Probably not that hard. I wrote a pre-processor [github.com] to add extension of built-in classes [my main target was str(), but it works for any class] since the Python crew can't seem to wrap their head around why that's useful and appropriate.
Basically, you write a parser that understands the syntax you like, and then converts it to the syntax that Python understands. Aside from being useful, it's a worthy exercise. 🏋️♂️
(Score: 0) by Anonymous Coward on Saturday August 05 2017, @07:09PM
Pre-processor? Oh, you mean something like Ratfor, don't you? http://www.dgate.org/ratfor/ [dgate.org]
(showing my age!)
(Score: 2) by opinionated_science on Saturday August 05 2017, @07:49PM
that's kinda awesome!
I got use to no brackets (less typing), and from perl python lacks the intutive regex stuff.
Something I have not found a replacement for is "for(inti=0; i10 ; i++)" type syntax, being stuch with "while i10:".
I know there is for i in range(): type expressions, but having the for manage increments etc seems neater.
(Score: 0) by Anonymous Coward on Saturday August 05 2017, @09:11PM
Yes well so what. I made up my entirely own language. The best way to describe it is like FORTH but for strings instead of integers. It has the advantage that it's impossible to make a syntax error. All calculations are done in double precision floating point. You can use it to draw pictures. It isn't called PostScript though. I got bored with it years ago and gave up.
(Score: 0) by Anonymous Coward on Saturday August 05 2017, @09:13PM
Thanks Ill probably do this.