If programming languages were Harry Potter characters
heeris.id.au
heeris.id.au
If ever there was a language that comes close to matching the more notorious aspects of C, COBOL is the most likely culprit. Coming about in the same era as the venerable FORTRAN, the two languages together ran on mainframes everywhere in the early days to mung through endless business data, speeding up calculations previously done by hand, all in the name of "the greater good".
However, while their early goals were the same, FORTRAN opted for a bit more structured, concise approach, using strongly typed vars and adopting a few of the newer ideas along the way. COBOL, however, remained reliant upon horribly verbose incantations, and refused to cease use of unforgivable spells such as "goto".
FORTRAN went on to be a venerable, yet eccentric language regarded to this day as fastest in some of the more arcane calculations after so many years past its prime. COBOL, however, has for its crimes been largely ridiculed and its practice considered one of the darkest of magics. It has been relegated to the proverbial jail tower, its practitioners shunned. The famous wizard Djikstra once stated "The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
COBOL is Grindelwald, a crippled old relic rotting away in long forgotten mainframes.
C is very much one of the most used and needed language in the world, especially if the Internet of Things hype keeps on getting stronger. And of course all the current billions of lines of C didn't just disappear to be replaced by Python ( as much as I like Python). Your OS and core programs are still getting new versions from times to times, even if you don't directly see the source code.
Or maybe C is being replaced by some other language that I'm not seeing.
There are a few other newer systems programming languages like D, Go, and Nim, but these all have garbage collection and so are unsuitable for many of the use cases for C/C++. I understand D and Nim allow you to turn GC off, but then you also lose memory safety so it's equivalent to using C++ from that perspective.
I believe Rust is the most promising new systems programming language because its compiler enforces memory safety without garbage collection. But it's just recently hit 1.0 so it may be a while before it becomes very widely adopted.
But it's just recently hit 1.0
As an alpha only. It's still much too unstable to be able to do anything serious with it.No, it's powerful today. I'm writing 'serious' code with it. Just don't write production code with it because your code will have to do a LOT of maintenance to keep up with HEAD.
http://blog.rust-lang.org/2015/02/13/Final-1.0-timeline.html
I mean, I guess you could do that in C++ instead. But why would you bother if C is good enough (and it typically is for most numerical algorithms).
Upon revealing that Harry would receive a wand that was a counterpart to Voldemort's: "...I think we must expect great things from you, Mr Potter. After all, He Who Must Not Be Named did great things – terrible, yes, but great."
All hail You Know Who!
(Just kidding I love Python as well, I wish I could have the best of both worlds)
continues quietly making money with the language
(A link to another PHP bashing session is not sufficient.)
Whoa, whoa. Who else is as powerful as Dumbledore, except arguably Voldemort (and possibly Harry when he's older)? It is not clear at all that Voldemort's more powerful than Dumbledore either -- their fight at the end of the Order of the Phoenix was very even. Dumbledore is the only wizard Voldemort was ever afraid of, and for good reason.
Let us consider Lisp. Lisp is powerful, elegant, relevant, and respected. Despite getting on in years, few can match Lisp's power. Lisp is kind and benevolent: to other languages Lisp has given conditionals, functions, and garbage collection. I say, Lisp is Dumbledore.
http://steve-yegge.blogspot.com/2008/11/ejacs-javascript-int...
Ruby is a language which eschews strict rules in order to be more chummy and get more done, but has a dark side (with monkey-patching and less discipline than Python). Ruby is clearly Sirius Black.
Allegories are interesting and funny.