Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Did you even read what pops up when you hit that explain button?

  Sending email

  #lang racket ; Sending email from racket
  (require net/sendmail)
  (sleep (* (- (* 60 4) 15) 60)) ; 4h - 15m
  (send-mail-message
   (getenv "EMAIL") "Parking meter alert!"
   (list (getenv "EMAIL")) null null
   '("Time to go out and move your car."))

> "Racket comes with plenty of libraries."

> "To run the example, install Racket, start DrRacket, paste the example program into the top area in DrRacket, and click the Run button. Alternatively, save the program to a file and run racket on the file."

That section of the landing page is meant for people who have not been exposed to Racket before. It is meant to sell those people on the expressiveness/power of the language. The explain button is meant to explain exactly what that code snippet is meant to be demonstrating. Very few of those seem to touch on syntax at all.

It seems insane to me that somebody could spin user-consciousness on a language's website as as indicative of a low-quality language.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: