News for hackers. Stuff that matters.
Re:What Languages Fix (2002) by ColinWright on Friday December 21, 2012 @05:24PM (#4954840)
Here are some graphs I knocked up a while ago:

http://www.solipsys.co.uk/new/EveryLanguageFixesSomething.ht...

There was some discussion a while ago:

http://news.ycombinator.com/item?id=2816526

Added in edit: That's a shame - someone has flagged this item so it's no longer on the front page. 8-(

Re:What Languages Fix (2002) by 3825 on Friday December 21, 2012 @05:32PM (#4954871)
Javascript came from Java? Or was that just to make sure we were paying attention?
Re:What Languages Fix (2002) by ColinWright on Friday December 21, 2012 @05:40PM (#4954901)
Look at the original version of the essay from the wayback machine:

http://web.archive.org/web/20020210063149/http://paulgraham....

That link is in the original version of the essay, and that's why it's in the diagram that's described as a graph of the dependencies that PG gave.

The version on the WayBack machine has:

    Javascript: Java is scary.
It does not have:

    Python: Perl is a kludge.
Re:What Languages Fix (2002) by pasbesoin on Saturday December 22, 2012 @04:46PM (#4957581)
So, Graham's essays are mutable. ;-)
Re:What Languages Fix (2002) by gecko on Friday December 21, 2012 @05:41PM (#4954902)
There's some truth to that: JavaScript's execution model was Scheme, with the syntax swapped out relatively last-minute in response to corporate pressure. What I genuinely don't remember anymore is whether LiveScript shipped with the Scheme syntax at any point. If it didn't, then yes, I'd say it's fair to say they shared an influence.
Re:What Languages Fix (2002) by btilly on Friday December 21, 2012 @05:36PM (#4954885)
We can keep on adding...

JavaScript, "We want a scripting language in our web pages."

TCL, "It should be easy to extend your scripting language in C."

SQL, "We need a standard way to talk to our databases."

PL/SQL, "We want to push complex logic into our databases."

BASIC, "We need an easy language for absolute beginners."

And so on.

But one historical comment. The ACTUAL problem that Ruby was created to fix was that Matz needed a scripting language that could handle Japanese text. People may adopt it now for different reasons, but that is not the historical inspiration.

Re:What Languages Fix (2002) by ColinWright on Friday December 21, 2012 @05:49PM (#4954941)

    The ACTUAL problem that Ruby was created to fix was
    that Matz needed a scripting language that could handle
    Japanese text.
That's why it's on my enhanced chart.
Re:What Languages Fix (2002) by windsurfer on Friday December 21, 2012 @06:09PM (#4955006)
Perl can handle Japanese just fine nowadays. Back in 1995, though, Unicode support was... iffy at best.

Now, Ruby must be differentiated by other things.

Re:What Languages Fix (2002) by btilly on Friday December 21, 2012 @08:54PM (#4955461)
The issue was much worse than Unicode support.

Ruby natively supports multipleincompatible Japanese encodings, including Unicode and shift-JIS. This is a lot harder than just marking off a Unicode checkbox.

Re:What Languages Fix (2002) by jeltz on Friday December 21, 2012 @05:40PM (#4954900)
Perl was made for processing text too, and for some reason he thought Perl was not good enough for the task.
Re:What Languages Fix (2002) by btilly on Saturday December 22, 2012 @01:50PM (#4957161)
The "some reason" that I gave is that handling Japanese byte encoded text in Perl was very hard in 1995.
Re:What Languages Fix (2002) by tikhonj on Friday December 21, 2012 @04:54PM (#4954707)
Haskell: other languages make making mistakes too easy.
Re:What Languages Fix (2002) by aero142 on Friday December 21, 2012 @05:23PM (#4954836)
Haskell: My proofs are correct but my code is wrong. I just want to execute my induction proofs.
Re:What Languages Fix (2002) by freyrs3 on Friday December 21, 2012 @06:00PM (#4954982)
That's probably more Coq.
Re:What Languages Fix (2002) by tel on Friday December 21, 2012 @05:57PM (#4954975)
More like Agda or Coq?
Re:What Languages Fix (2002) by tel on Friday December 21, 2012 @05:19PM (#4954817)
Haskell: programming is math but other languages make that unnecessarily hard to see
Re:What Languages Fix (2002) by jackpirate on Friday December 21, 2012 @05:58PM (#4954978)
Agda: programming is math but other languages (even haskell) make that unnecessarily hard to see

FTFY

Re:What Languages Fix (2002) by tel on Friday December 21, 2012 @10:23PM (#4955659)
Haha, yeah. Or

Agda: when Turing completeness gets in the way of your mathematical logic.

Re:What Languages Fix (2002) by dxbydt on Friday December 21, 2012 @05:51PM (#4954955)
Haskell: what every Scala baby wants to be when he grows up
Re:What Languages Fix (2002) by eldavido on Friday December 21, 2012 @05:17PM (#4954808)
Ruby: Perl has crap OO, and Lisp syntax is scary.

Perl did a lot of things right, e.g. regex literals, wide range of terseness possible (one-liners vs. large modular programs), CPAN, but I could never get over its ugly, hacked-in implementation of objects that kinda-sorta behaved like hashes and didn't do information hiding well.

Re:What Languages Fix (2002) by thetrb on Friday December 21, 2012 @05:36PM (#4954887)
Yes, but Perl has better libraries for that now (e.g. Moose)
Re:What Languages Fix (2002) by guard-of-terra on Friday December 21, 2012 @05:49PM (#4954940)
You can't have good OO "outside" your language. You can't duct tape some OO to a language and consider it done.

That's classic: PHP guy say, "we have objects in PHP5 so now it is Object Oriented". It's not. To say that language is Object Oriented because it has classes is like to say that language is Functional because it has functions.

So, Moose is a clever thing, but does it make every hash an object (I genuinely wonder)? Does it provide OO API for I/O? With exceptions? Does it make everything behave consistently? Because consistency seems to be the main reason that Perl did not become the final stop.

Re:What Languages Fix (2002) by chromatic on Friday December 21, 2012 @07:04PM (#4955200)
Because consistency seems to be the main reason that Perl did not become the final stop.

Everyone's using Smalltalk now? Consistency seems to be overrated; most of the popular languages these days seem to be multi-paradigmatic.

Re:What Languages Fix (2002) by zem on Friday December 21, 2012 @08:06PM (#4955358)
CLOS did a stellar job of adding OO to a non-OO language.
Re:What Languages Fix (2002) by guard-of-terra on Saturday December 22, 2012 @11:24AM (#4956837)
There are all kinds of opinions about this: http://steve-yegge.blogspot.ru/2006/04/lisp-is-not-acceptabl... Yes, it's wonderful that you have the band-aid — or maybe duct tape is a better analogy — certainly you miss them dearly when you're working in other languages. But you don't want to have to build your entire object system with duct tape.
Re:What Languages Fix (2002) by gecko on Friday December 21, 2012 @05:42PM (#4954909)
I don't quite think the Smalltalk one is fair. Smalltalk-80 definitely went to the extreme with everything-is-an-object, but PG is glossing over the history of Smalltalk-76 and Smalltalk-72, which betray the actual purpose: "Programming accessible by the everyman should be just as powerful as a 'real' language, not like BASIC."
Re:What Languages Fix (2002) by sudont on Friday December 21, 2012 @05:15PM (#4954798)
VB: Programmers are too expensive. Business Process people are more necessary.

MUMPS: All other languages weren't written for/by medical doctors/professionals.

Lua: Python and Ruby are each too big to embed.

Re:What Languages Fix (2002) by gruseom on Friday December 21, 2012 @05:43PM (#4954912)
Lua is as old as Python and Ruby. The alternative was Tcl, and the problem with it wasn't embeddability:

In 1993, the only real contender was Tcl, which had been explicitly designed to be embedded into applications. However, Tcl had unfamiliar syntax, did not offer good support for data description, and ran only on Unix platforms.

http://www.lua.org/doc/hopl.pdf

Re:What Languages Fix (2002) by sudont on Friday December 21, 2012 @05:53PM (#4954961)
Crap, you caught me on that one. I thought it was a 2000's era language.
Re:What Languages Fix (2002) by noblethrasher on Friday December 21, 2012 @05:51PM (#4954952)
C# 1 --- Java is controlled by Sun

C# [n] (where n > 1) --- C# [n - 1] would be more awesome if it had...

Re:What Languages Fix (2002) by dvirsky on Friday December 21, 2012 @06:03PM (#4954992)
PHP: I wanna create a goddamn webpage, like right fucking now.
Re:What Languages Fix (2002) by blehbleh on Friday December 21, 2012 @05:23PM (#4954837)
Javascript: the "java" name is very cool. PHP: let's pretend it doesn't exist by not adding it to our cool list.
Re:What Languages Fix (2002) by krapp on Friday December 21, 2012 @06:05PM (#4954998)
PHP: Your language is trying too hard.
Re:What Languages Fix (2002) by koenigdavidmj on Friday December 21, 2012 @06:01PM (#4954985)
Common Lisp: There are N dialects of Lisp, and N is too many. Now there are N+1 dialects of Lisp.
Re:What Languages Fix (2002) by chops on Friday December 21, 2012 @05:31PM (#4954864)
Erlang: Concurrency should be easier
Re:What Languages Fix (2002) by xiaoma on Friday December 21, 2012 @05:22PM (#4954831)
Brainfuck: Assembly provides too much, and obfuscated C is still readable
Re:What Languages Fix (2002) by emeraldd on Friday December 21, 2012 @05:24PM (#4954843)
Malbolge: Other languages can be used to write programs by a human being.

http://en.wikipedia.org/wiki/Malbolge

Re:What Languages Fix (2002) by jfarmer on Friday December 21, 2012 @05:05PM (#4954754)
I'd say, Ruby: Smalltalk is scary and Perl is a kludge
Re:What Languages Fix (2002) by hvs on Friday December 21, 2012 @05:08PM (#4954774)
Anyone who thinks Smalltalk is scary has never used it, and I doubt that is what Matz thought of it.
Re:What Languages Fix (2002) by jfarmer on Friday December 21, 2012 @05:10PM (#4954781)
Well, I don't think that's what anyone has ever said about any of these languages. :D

I was just trying to stick with the form of the essay.

Re:What Languages Fix (2002) by mark-r on Friday December 21, 2012 @05:06PM (#4954759)
Not sure when this came out, because none of these essays are dated - this one is near the bottom of the list. But I like it!
Re:What Languages Fix (2002) by chops on Friday December 21, 2012 @05:14PM (#4954797)
web.archive.org has its first snapshot of it from Feb 2002, so it's at least 10 years old.

http://web.archive.org/web/20020210063149/http://paulgraham....

Re:What Languages Fix (2002) by mark-r on Friday December 21, 2012 @05:52PM (#4954957)
Thanks to whoever updated the title.
Re:What Languages Fix (2002) by btipling on Friday December 21, 2012 @05:39PM (#4954896)
Go: concurrent programming is too hard
Re:What Languages Fix (2002) by dvirsky on Friday December 21, 2012 @06:02PM (#4954988)
Or rather: C++ & friends suck, Python & friends are too slow. Quoting from the Go FAQ:

>Go was born out of frustration with existing languages and environments for systems programming. Programming had become too difficult and the choice of languages was partly to blame. One had to choose either efficient compilation, efficient execution, or ease of programming [...]

>Go is an attempt to combine the ease of programming of an interpreted, dynamically typed language with the efficiency and safety of a statically typed, compiled language. It also aims to be modern, with support for networked and multicore computing.

Re:What Languages Fix (2002) by dude_abides on Friday December 21, 2012 @05:58PM (#4954977)
Go: software engineering at Google is too inefficient.
Re:What Languages Fix (2002) by flyhighplato on Friday December 21, 2012 @05:27PM (#4954852)
Groovy: Java is not Python enough
Re:What Languages Fix (2002) by vorg on Friday December 21, 2012 @09:31PM (#4955548)
Groovy: We don't control Rails.
Re:What Languages Fix (2002) by suyash on Friday December 21, 2012 @05:47PM (#4954928)
Missing my couple of my favorite languages: PHP, Objective C, Scala and JavaScript
Re:What Languages Fix (2002) by zachrose on Friday December 21, 2012 @05:18PM (#4954811)
JavaScript: UI code should be asynchronous and throw as few errors as possible.
Re:What Languages Fix (2002) by guard-of-terra on Friday December 21, 2012 @05:21PM (#4954825)
JavaScript: Web pages aren't interactive enough.
Re:What Languages Fix (2002) by mark-r on Friday December 21, 2012 @05:07PM (#4954766)
Assembly: binary is too low-level.
Re:What Languages Fix (2002) by zachrose on Friday December 21, 2012 @05:20PM (#4954822)
Binary: Ternary is one thing too many.
Re:What Languages Fix (2002) by guard-of-terra on Friday December 21, 2012 @05:07PM (#4954767)
[:|||||||||||||:]