Hacker News new | ask | show | jobs
by lispitillo 325 days ago
Perhaps instead of coding many small one day projects one could program one day projects that compose with each other. For example, I was thinking about developing a library that implements a version of J in Common Lisp (but I think fuel is lacking) so that, for example, the one day project named random-sample could be just:

  randomSample =: 4 :'(x ? #y){y' NB. can't repeat.

  randomSample =: 4 :'(? x # #y){y' can repeat.

 So that, in many cases,  one day projects could be reduced to one or two lines definitions (for those that know J that is the caveat).
2 comments

I think they're showcasing existing projects instead of making a new one each day.
Thanks, it seems you are right. The random-sample project seems so short that I thought it was a one day project and that the other would be also short projects.
Not J, but there is an APL compiler made in Common Lisp here: https://github.com/phantomics/april
Thanks for the April reference. In the post [1] there are just 11 comments and also it seems that the intended audience could maybe two dozen people!, not very encouraging to create a J in Common Lisp.

[1] https://news.ycombinator.com/item?id=22225136

I'd be a very interested admirer, if not user, of such a project. I'm playing with J this past week, and otherwise have a couple of CL books under my belt. No other real experience programming, but I certainly think that sounds like a cool idea.

I wonder where April would fit in, with your idea? Joining forces with the fellow who made April might be a possibility. Strength in numbers, and all that.