| ▲ | tester89 3 hours ago |
| What is the benefit of using clojure now? Used to be a big Lisp head before AI, but with AI I feel like using widely-used statically-typed, strongly-typed languages is better over Lisp, for the training set and validation benefits. |
|
| ▲ | jimbokun 2 minutes ago | parent | next [-] |
| Live editing running applications. You could be using your app to solve some problem, and just modify it instantly with a prompt to just-in-time add a new feature. No need to shift between “using the app” mode and “programming the app” mode. |
|
| ▲ | avtar 2 hours ago | parent | prev | next [-] |
| Listened to this a couple days ago: https://m.youtube.com/watch?v=tzzg8CVkl2A Besides immutability and iterating with the repl, another point made was apparently more efficient context window usage due to fewer lines of Clojure code compared to alternatives. |
| |
| ▲ | RiccardoSottini 2 hours ago | parent [-] | | Yes! That's the reason why I chose it - due to iterations with repl and extremely efficient context window usage / token expenditure. Effectively, for the use case scenario of my project, Clojure can express logic and functionalities that are shown on screen with just a couple of lines of code, removing all the boilerplate/overhead code. |
|
|
| ▲ | whacked_new 3 hours ago | parent | prev | next [-] |
| It looks like they are just borrowing clojure syntax (I like), and perhaps the culture of supporting hot code reload (I also like), but I share the same reservations. |
| |
| ▲ | RiccardoSottini 2 hours ago | parent [-] | | Both are valid points and some of the reasons why + the fact that it is super "token friendly" allowing to express logic and have functionalities expressed in just a couple of lines | | |
| ▲ | whacked_new an hour ago | parent [-] | | obv I could clone and ask an AI but since you're here, https://github.com/RiccardoSottini/AffrescoUI/blob/master/ex... is a limited syntax definition for the built-in markdown parser? I went down a similar path using smalltalk. Then as I started to play whack-a-mole with UI edge cases (live markdown editor), the loop became tedious because I had to use the app to find the interaction bugs (what to do about link rendering when the cursor enters, leaves, and when exactly to prettify and unprettify), while suspecting that this has been solved 100x over in javascript land. Sure enough, when I moved to bb, I had to pull in a lot of libs, which is a lot of pregenerated tokens, but those were battle tested tokens. I guess it has to be done though, as long as you bring a new stack. |
|
|
|
| ▲ | harrigan 3 hours ago | parent | prev [-] |
| [dead] |