Granted, it's not as out-of-the-box as getting started with PHP, but once you've done your first Lisp web application, successive applications will be much easier.
Granted, it's not as out-of-the-box as getting started with PHP, but once you've done your first Lisp web application, successive applications will be much easier.
- not much in terms of community to help answer questions or maintain your code, whether a guy down the hallway, documentation, or answers to questions you can Google for - much greater probability of a random library existing for PHP than for Lisp (which is perhaps another case of the first point)
I keep coming back to Clojure as a way to do Lisp and still get many of the benefits of building on a popular platform (Java, in Clojure's case).
Lisp is not for sissies.
People who give the language a reputation of having a rude and insular community accelerate its death.
Really remarkable programmers usually don't start out as sissies - they use, understand and improve upon the tools other remarkable programmers gave them. Or invent completely new ones.
And that is one reason why not to use Windows - it really won't help that goal. The whole environment is not conductive to this king of tool refinement.
Instead comparing PHP to Lisp for that purpose, I'd be more interested in a comparison between PHP and Python or PHP and Ruby.
I agree. More to the point, it would be more interesting to compare PHP frameworks to Rails or Django, as Ruby and Python are more general purpose languages and PHP, while it can be used for other things, is built to generate HTML.
The original (quite lame) article is in the lines that "I tried to use this ocean liner to go to the supermarket and it is infinitely less convenient than the car I was used to. Nobody should use ocean liners because cars are more convenient". It´s awful.
Actually can someone who knows more about .Net, Ruby, or Java tell me of the features I listed what languages have these features that come with, or are optional?
I don't find the language to be ugly, dirty, or unpleasant. Java is the most popular programming language in the world, and I cannot stand it, if I have to create one more NEW object simply to format CSS text I am going to explode.
I have no problem properly naming and using 1,000 functions. I would rather know each function than have 10 objects with 100 methods each. Objects have their place for Webapps (which ultimately output text last time I checked) Web Applications do not need to be abstracted to the point of Object Inheritance Oblivion!
Can someone please tell me of all the better ways to write this in other languages that are so far superior to PHP?
<?php $br = "<br />"; if(!empty($_SERVER['HTTP_REFERRER'] && !stripos($_SERVER['HTTP_REFERRER'],$_SERVER['HTTP_HOST'])) { print "Remote Login Denied!" . $br; } else { print "Success!" . $br; } ?>
$br = "<br />" && !empty($_SERVER['HTTP_REFERRER'] && !stripos($_SERVER['HTTP_REFERRER'],$_SERVER['HTTP_HOST']) && print("Remote Login Denied!" . $br;) || print("Success!" . $br);
I always code like this and call it if-less programming. No matter how smart the new grad is, they find it very hard to follow:-) Job security dude.