4 ms·
But why is it so - why is there no user friendly LISP, why did PHP win instead?
by Tichy 16y ago
But why is it so - why is there no user friendly LISP, why did PHP win instead?
- sigzero 16y agoPHP won for two reasons. PHP is easy to pick up and ISPs installed mod_php which gave it good performance.
- ramy_d 16y agovery true. Also, this "Once you manage to get Emacs and SLIME going (I'm assuming you already know Emacs intimately, because if you don't, you already lose)" sometimes i feel lisp is like an exercise in barrier of entry. "Let's make an awesome language that is as inaccessible out of the box as possible" not just application wise. knowledge wise too.
- aerique 16y agoI've replied to these arguments before on HN but it bears repeating: You really do not have to use Emacs and Slime to get going with Common Lisp. There are many options including using whatever you're already familiar with or just plain Notepad. It's unfortunate that people advocating Lisp also advocate Emacs+Slime as the only option (although it is a good option).
- asciilifeform 16y ago> using whatever you're already familiar with or just plain Notepad. This is disastrously bad advice. This is how to create parentheses-phobia.
- aerique 16y agoOh please. Most programmers already somewhat decent editors like Textmate, Notepad++ or Vim.
- deleted 16y ago[deleted]
- tkahn6 16y agoWell I'll assume by 'user' friendly, you mean 'developer' friendly. PHP is ridiculously easy to get started with. I believe it was the first 'real' language and ecosystem that I really knew well [enough]. There's a huge body of knowledge associated with it that you can find on the web or in the bookstore. PHP is ridiculously easy to grok because it's in the C family when it comes to syntax. PHP essentially enforces no control over the style you must employ while using it and doesn't even suggest a style to use. I made some awesome stuff in PHP but the code behind it was terrible. Contrast this all with Lisp (which I'm still learning). I've never tried to do web dev with Common Lisp or anything, but getting started with Compojure was comparatively much harder than it was with PHP. Lisp is conceptually more complex than PHP. You have to think at a higher level. It becomes easier but I definitely could not have grasped it at 12 or 13. Lisp isn't purely functional but afaik (from what I've seen), but it encourages a functional style. It's not as easy to grok as PHP and so I would imagine this creates a barrier for most 'code monkeys'. Why learn to use a new tool when the one you got ain't broken?
- jfager 16y agoLanguages don't get much more user-friendly than Racket (formerly Dr Scheme): http://www.racket-lang.org/ http://www.racket-lang.org/
- sigzero 16y agoYes they do and I like Racket (aka PLT Scheme). You have to define your "easy". PHP is 1000 times easy to pick up than Scheme.
- jfager 16y agoPHP is 1000 times easy to pick up than Scheme. Yes, Racket is Scheme, but it's much more practical than a vanilla R6RS implementation, and it packs a lot of libraries, tool support, and clear and simple end-user documentation, exactly the kinds of things that people mean when they say 'user-friendly' What, specifically, makes PHP easier to pick up than Racket? Everyone I know who got started with PHP took an off-the-shelf lamp installation and started spitting out simple webpages. By that measure, Racket is at least as easy - download it, and you have a webserver, templating language, and a package manager with plenty of database toolkits. If you're simply saying that PHP doesn't burden a noob with features like macros and continuations: You can write Racket code that's just as stupid as what you have to write in PHP, but unlike PHP, once you've gotten over the learning hump, there's a nice language waiting for you on the other side.