Live data from Hacker News

These years in Common Lisp: 2023-2024 in review

lisp-journey.gitlab.io

21–30 of 54 posts

Re: These years in Common Lisp: 2023-2024 in review

#21
post #5

A few cool thing happened! I might give the CLOS course a try! I’m a functional guy but I feel CLOS isn’t your typical object system.

As a functional fan, CLOS is amazing.

My main takeaway was multi-methods, they didn't really click for me before I started seriously digging into CLOS. I wish more languages supported them/played around with similar ideas.

Re: These years in Common Lisp: 2023-2024 in review

#23

I really like this, as from an outsider it seems that CL doesn't have a community and the few packages it has are more like building blocks for customizing and implementing you required functionality rather than packaged black boxes. With all those new languages, it appears that the value proposition of CL is dwindling, static checking feels primitive, macros are easily attainable now, and live runtime image manipula…

CL has Coalton, which is the implementation of a static type system beyond Haskell 95. Full multiparameter type classes, functional dependencies, some persistent data structures, type-oriented optimization (including specialization and monomorphization). All integrated and native to CL without external tools.

Live image manipulation isn't quite as useful as it once was for runtime program deployment. But it's still a differentiating feature for incremental and interactive development—before you compile binaries to deploy. Tools like Jupyter notebooks don't come close for actual (especially professional) software development.

Re: These years in Common Lisp: 2023-2024 in review

#24

Is there a web framework that is reasonably popular/supported?

What do you expect from a web framework? That means different things to different people. I don't really like frameworks, so I used a web-server abstraction layer named "clack."

Radiance[0] is a more traditional web-framework, with interfaces for backend-storage, web-servers, templating, authentication &c.

Hunchentoot gives you basic route definitions out-of-the-box (bring your own database), and for something more full-featured there is CLOG[1] and Reblocks[2]

0: https://shirakumo.github.io/radiance

1: https://github.com/rabbibotton/clog

2: https://40ants.com/reblocks/

Re: These years in Common Lisp: 2023-2024 in review

#28
post #11

A few cool thing happened! I might give the CLOS course a try! I’m a functional guy but I feel CLOS isn’t your typical object system.

Indeed, most successful FP languages have their OOP like approaches. Another thing all modern Lisps have since the 1980's, is all major data structures, not only lists as many think when discussing Lisp.

Having the data structures is nice and all, but using them is kind of painful. They are certainly second class.

Having to use accessor functions or destructuring macros instead of just a period or -> is often annoying too. The lack of syntax has cons as well as pros.

Re: These years in Common Lisp: 2023-2024 in review

#29
post #11

A few cool thing happened! I might give the CLOS course a try! I’m a functional guy but I feel CLOS isn’t your typical object system.

Indeed, most successful FP languages have their OOP like approaches. Another thing all modern Lisps have since the 1980's, is all major data structures, not only lists as many think when discussing Lisp.

Common Lisp isn't a functional programming language to be clear.
Post reply on HN