|
Pollyanna posted:I'm doing some Elixir practice projects and the concept of OTP and functions as processes is definitely interesting, but I'm having a hard time understanding the real world application of it and why you would want to structure a system that way, and what kind of common problems/notable systems and products call for OTP. What is it usually used for? Phoenix always talks about chat apps 'n stuff, but that seems like a different thing to me. I enjoyed Elixir In Action. Some sections in the print version regarding data structures are a little outdated, but the author keeps the sample code up to date on a GitHub.
|
# ¿ Jan 13, 2017 01:45 |
|
|
# ¿ Apr 28, 2024 23:14 |
|
I asked this in the general questions thread and was recommended to ask here: In the year 2017, what are the compelling arguments to choose between Common Lisp, Scheme and Clojure for side project webdev? Context: I get the impression that CL spec is a touch outdated. I like functional programming, pattern matching and algebraic data types are fantastic. I write c#/js by day. Oh great Lisp greybeards, lend me your knowledge!
|
# ¿ Sep 28, 2017 12:00 |
|
Pollyanna posted:Side project web dev, specifically? Clojure by far. Clojure has a pretty robust selection of web development libraries ranging from basic HTTP handling, to SQL abstraction, to API management, and there's at least one legit web dev book to learn from. rt4 posted:Clojure is the most convenient for web development because of its robust ecosystem, specifically the Luminus framework. It's more of a set of libraries with some basic scaffolding than anything Rails-like, which is why it's good. Programming in Clojure makes using Clojurescript more convenient, which is also a substantial benefit. The main downside of Clojure is that the error messages suck. xtal posted:Clojure is very nice but I'm going to recommend Racket as well. Those are probably your two best bets. SBCL is blazing-fast and battle-tested but shows its age, and Lisp-2 semantics were never not awful. Thanks for the replies. It sounds like Clojure is the quickest choice to go from zero to something working. I'm interested in the recommendations for Racket. The official website plays up the DSL writing aspect, how much is that used in day-to-day coding?
|
# ¿ Oct 3, 2017 18:43 |