News for hackers. Stuff that matters.
Re:Tour of our 250k line Clojure codebase by divs1210 on Thursday June 03, 2021 @05:03PM (#27387274)
What is this? Are you being serious?

I've worked in multiple Clojure shops and it has always been amazing.

All the core code and business logic etc. (kernel) is implemented functionally, and the interface with the outside world (shell) is implemented imperatively.

Clojure being a horrible language is a really hot take and it being based on hearsay makes your coomment look like it's not in good faith.

Re:Tour of our 250k line Clojure codebase by AtNightWeCode on Thursday June 03, 2021 @05:27PM (#27387569)
As with all functional programming languages, if you limit the use to some specific areas you can get a lot done with a few easily understood lines of code.
Re:Tour of our 250k line Clojure codebase by StreamBright on Thursday June 03, 2021 @05:35PM (#27387646)
Quite the opposite. Functional style is especially useful in larger codebases. However, I think a functional strongly typed language is often easier to get right than a weakly typed one. I mostly write F# and Clojure and based on my experience I would go for F# any day over Clojure but at the same time I would also go for Clojure over Java as well.

I do not know where your views are coming from, sounds like 2nd hand experience rather than 1st one.

Re:Tour of our 250k line Clojure codebase by AtNightWeCode on Thursday June 03, 2021 @06:05PM (#27388013)
As I stated in the beginning I do not work with Clojure. Pure functions is something I use in any programming language. I have a hands on experience from a lot of different functional languages though including F#. From what I understand it is very common to use context based style of coding in Clojure. That is at least what I heard and Google does not seem to disagree...
Re:Tour of our 250k line Clojure codebase by xpe on Thursday June 03, 2021 @08:59PM (#27389286)
Please be specific with your links and sources.