2017: The Year in Programming Languages (infoworld.com)
InfoWorld writes that 2017 "presented a mixed bag of improvements to both long-established and newer programming languages." An anonymous reader quotes their report:
Developers followed a soap opera over Java, with major disagreements over a modularization plan for standard Java and, in a surprising twist, Oracle washing its hands of the Java EE enterprise variant. Microsoft's TypeScript, meanwhile, has increased in popularity by making life easier for developers looking for an alternative to JavaScript. Microsoft also launched Q#, a language for quantum computing...
In web development, developers received a lot of help building with JavaScript itself or with JavaScript alternatives. Among the tools released in 2017 were: Google's Angular 5 JavaScript framework, released in November, featuring a build optimizer and supports progressive web apps and use of Material Design components... And React, the JavaScript UI library from Facebook, went to Version 16 in September, featuring a rewriting of the React core to boost responsiveness for complex applications...
TypeScript was not the only JavaScript alternative making waves this year. For web developers who would rather use Google's Go (Golang) language instead of JavaScript, the beta Joy compiler introduced in December promises to allow cross-compilation. Another language that offers compilation to JavaScript -- although it began on the JVM -- is Kotlin, which has experienced rising fortunes this year. It was boosted considerably by Google endorsing it in May for building Android applications, which has been chiefly the domain of Java...
2017 also saw the release of the long-awaited C++ 17.
Another 2017 memory: Eric Raymond admitting that he hates C++, and predicting that Go (but not Rust) will eventually replace C -- if not a new language like Cx.
In web development, developers received a lot of help building with JavaScript itself or with JavaScript alternatives. Among the tools released in 2017 were: Google's Angular 5 JavaScript framework, released in November, featuring a build optimizer and supports progressive web apps and use of Material Design components... And React, the JavaScript UI library from Facebook, went to Version 16 in September, featuring a rewriting of the React core to boost responsiveness for complex applications...
TypeScript was not the only JavaScript alternative making waves this year. For web developers who would rather use Google's Go (Golang) language instead of JavaScript, the beta Joy compiler introduced in December promises to allow cross-compilation. Another language that offers compilation to JavaScript -- although it began on the JVM -- is Kotlin, which has experienced rising fortunes this year. It was boosted considerably by Google endorsing it in May for building Android applications, which has been chiefly the domain of Java...
2017 also saw the release of the long-awaited C++ 17.
Another 2017 memory: Eric Raymond admitting that he hates C++, and predicting that Go (but not Rust) will eventually replace C -- if not a new language like Cx.
C++ seems to now have enough momentum that I can actually use new features. It wasn't until 2003-4 that C99 support was sufficiently widespread that people didn't complain if I used C99 features, and C++ had a huge ABI change around that time in the *NIX world that broke everything. These days, I'm already using C++17 features (finally, the language has decent support for multiple return values and tagged unions!).
I am TheRaven on Soylent News
Alas, 5 minutes with a fresh Windows 10 installation will prove otherwise. What trash.
Perhaps the most important change in 2017 was the deployment of WebAssembly. It's the most important because it's the final nail in the coffin for readable JavaScript. Already it's being exploited and wasting everyone's computing power to scrape up cryptopennies. JavaScript as we know it is now over and the age of exploitation is in motion.
Congratulations everyone, JavaScript is now a complete noose around your neck just waiting to be pulled! ;)
Anons need not reply. Questions end with a question mark.
How can something that only lives in a single browser make programners' lives easier?
I'm not web developer, but from my limited experiments with TypeScript, it looked like it transpiles into something which was running under IE, Edge, Firefox and Chrome (tried only these). Are you saying that some more advanced features of TypeScript work only in Edge? Or only in IE?
Gotta love it when language examples involve notations like |0
I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
Err, TypeScript is a compiler. It compiles to JavaScript. JavaScript runs in every browser.
Typescript transpiles to Javascript. Standard Javascript, in several target versions. The 90's called and they want their worldview back.
I don't trust atoms -- they make up stuff.
The article seems to contain a typo; I'm sure he meant cixl, not cx. Take it from Eric Raymond, this is the future of programming: cixl - a minimal, decently typed scripting language https://github.com/basic-gongf...
Last time I checked, the generated JS looked quite good and readable. TS and JS are not too far, so the generated JS looks similar, and preserves the structure of the TS code. In case of an incompatible or nasty change, I can always go on with the output JS.
Meanwhile, I get extra nice compile time type checks, and even opt in NULL checks. It is amazing how many bugs were caught by the TS compiler that would have been a hard to find runtime error...
One thing has remained constant and that is C++. No reshuffling of syntax, but introductions of new syntax when library solutions do not go far enough. No fear of losing backwards compatibility either.
Those who do not learn from commit history are doomed to regress it.
True, but it's still the equivalent of stick building a house with hammer and nails. They all are.
The only thing that changes is the shape of the hammer and length of the nails.
When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
Too bad Alexander Peter Kowalski is a retard and his work sucks.
It functions like a bad AV scanner that only recognized viruses based off of file names.
It is always behind and and offers reactive security.
It is easily circumvented as in a small child could figure out how to do so in a few minutes.
Retard APK makes grandiose claims like hosts stops inbound connections.
He also like to claim the Chines copied him.
When called out on his BS he demands other repeatedly disprove his claims, which they do, and like a retard still declares he won.
Kids with your fancy hexadecimal counting system. In my day, we had only zero and one, because that's all a machine understood! And even then, we only had the ones when Mr. Westinghouse decided we could have a share of his electrons...
Browsing at +1 - no ACs, I ignore their posts. So refreshing!
TypeScript was not the only JavaScript alternative making waves this year
Straight from the wikipedia page:
TypeScript is a free and open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript
I stopped reading after that because the author is not qualified to discuss the subject matter domain accurately. TypeScript has also been around at least since 2014 because I was using it back then.
We'll make great pets
Worked on COBOL. Some new, some 1972.
It's 2017, it's not hard not to use Windows anymore.
C++17 was mostly just an incremental improvement over C++14, which was an incremental improvement over C++11, and the most-anticipated feature -- Concepts -- didn't quite make it into 17. Still, the work of the committee is gradually evolving C++ into a much nicer language. Modern C++ code written according to the C++ core guidelines is simpler, clearer, safer, more maintainable -- and often more efficient.
Unfortunately, all of the old language features that are no longer recommended are still present, so the language as a whole is also becoming bigger and more complex... but if you can manage to purge all the old-style C++ from your codebase, the result is a language subset that's getting progressively easier to learn. Well, mostly. Template metaprogramming is becoming simpler and easier, but that's encouraging more and more of it, and there are still several non-obvious idioms needed to do common things. C++17 eliminates the need for a few of these, Concepts (which should, finally, land in C++20) will eliminate a lot more.
C++'s size and complexity mean that it must be used carefully. I often find myself asking people on my team to justify the clever metaprogramming constructs they create. Sure, it's cool to write a function that accepts an arbitrary number of arguments of any type, but if you only call it twice, and both times with the same number and type of args, why bother writing the complex templates that future programmers will have to laboriously parse? And if you call it many times with many different argument sets, you need to think about code bloat since the compiler has to generate another copy of the function for each argument set. So, a little discipline is essential.
But, assuming you can apply the necessary discipline, modern C++ is in a class by itself. It allows tremendously simple, expressive code that is also near-maximally efficient and obviously safe, with all memory accesses bounds-checked, and no possibility of either dangling pointers or memory leaks.
C++ is becoming awesome. I regularly spend time playing with competitors, such as Rust, and also often use dynamically-typed languages (e.g. Python, Java, C#). I've invested significant time into purely functional languages, notably Haskell. But for code that has to be efficient and precise, I keep coming back to C++ and it's getting better and better.
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
The difference is that one can participate in Slashdot with script* off. A lot of websites are structured in such a way as to block people from even viewing them without running script. Some of it is accidental, especially for rich web applications where progressive enhancement would prove impractical. (Anti-script hardliners would prefer that operators of such services make a native client application available to the public in source code form.) But lately, other dependencies on script are deliberate in an attempt to deny the text of an article to someone unwilling to download and view third-party advertising or mine cryptocurrency.
* In this comment, "script" is any computer program delivered by a website and automatically run in a web browser, including without limitation JavaScript, ActionScript bytecode, JVM bytecode, CIL, and WebAssembly.
How can someone who's been living in a single cave talk about something he's completely clueless about? Are you retarded due to self inflicted head wounds or were you dropped on your head as a baby?
Your ignorance is showing. Please move back to 1995 where your world view jives with reality.
It's open source you ignorant moron.
How would they accomplish this. Typescript compiles to Javascript, and the typescript compiler is open source. Were you born retarded or did it develop later in life.
Living in a dark cage never getting out is not good for your health.
10 types of javascript instead of one, just what the webz needed ....
Free speech was meant to be free for all... how can anyone grow up in a nanny state ?