Live data from Hacker News

Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps

fullstacklisp.com

21–30 of 110 posts

Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps

#21
post #11
post #5

Why is this on the front page of Hacker News? Isn't this an advertisement?

Work in progress is a fine thing to have on Hacker News as long as there's a way for users to check the work out. In this case there's a sample chapter, which more than clears that bar. In fact we've added "Show HN" to the title, because this is the kind of thing that Show HN is for: https://news.ycombinator.com/showhn.html

There is actually a link to read online on the same page https://leanpub.com/fullstacklisp/read

Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps

#25
post #2

Best of luck! I like how you mention first thinking Common Lisp was archaic, and then realising how advanced it really is. BTW, you might want to wrap your text lines:-)

+1. Kenny Tilton's blog is also great for that kind of thing.

"You know Lisp is the perfect language precisely because it lost its momentum (died) and lives on. Other languages need their Next Big Thing momentum."

http://smuglispweeny.blogspot.com/2013/08/wow-even-lispers-h...

Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps

#26

Is it full stack Lisp in the sense that Lisp is running on both the server and in the client (browser/mobile)? If it is the latter, that would be quite compelling. Clojure/Clojurescript is quite compelling from a developer point of view, since you don't have to switch mental context to develop your server and client code (as you would have to do if you develop Go on the server and JS in the browser).

I plan on covering par, but mostly the name came from an attempt to explain the current state of lisp libraries, the "stack".

Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps

#27
post #10

Can you include a good description of reading macros? I'm still looking for good explanation with examples of their power.

You probably mean reader macros. Here are a few resources:

Hyperspec reference for predefined sharpsign reader macros: http://www.lispworks.com/documentation/HyperSpec/Body/02_dh....

A blog post where Vsevolod Dyomkin creates a reader macro to notate list comprehensions to his liking: http://lisp-univ-etc.blogspot.com/2013/01/real-list-comprehe...

A blog post where Inaimathi mentions using CLSQL reader macros to facilitate reading SQL expressions in code: http://langnostic.blogspot.com/2011/03/clsql-and-nothing-els...

Let Over Lambda chapter 4 which has various examples: http://letoverlambda.com/index.cl/guest/chap4.html

Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps

#28

I'd love to see more books like this for less common languages (Haskell particularly), as I've found there's generally plenty of resources for learning the basic commands and code structure but there's little information for going from those first steps to creating an actual useful application.

I believe this is one of the major goals of http://book.realworldhaskell.org/read/ With this book, we want to show you how to use functional programming and Haskell to solve realistic problems. This is a hands-on book: every chapter contains dozens of code samples, and many contain complete applications.

There's also a similar book for OCaml:

https://realworldocaml.org/

Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps

#29
post #10

Can you include a good description of reading macros? I'm still looking for good explanation with examples of their power.

A diagram helps when you start getting into read/compile time discussions, see slides 13 through 17 of http://www.slideshare.net/adorepump/clojure-an-introduction-... to see how the evaluation model for Clojure (which is similar enough to Lisp) differs from most other languages. One of the many differences between Clojure and Lisp though is that Lisp supports user-defined reader macro definitions, so you can add things like the nice persistent map literal syntax of Clojure to Lisp if you really want to.
Post reply on HN