acdw
acdw on Hacker News
In CL and Scheme, it's (let ((var1 val) (var2 val)) body...).
So parentheses are used for grouping and function/macro application.
In Clojure, parens are
just used for application, so you have e.g.
(let [var1 val var2 val] body...), or (defn foo [x] ..) or (cond testa 1 testb 2 ...).
It takes some getting used to, and I do wish Clojure would do something more like
(let [[var1 val] [var2 val]] ... .. though of course then you'd have to figure something else out for destructuring.
I have heard of Smalltalk and it is intriguing but honestly I don't even know how to get started with it lol
It's ok because I'm a hobbyist programmer!
I use Emacs's built-in structural editing bindings, which doesn't have the auto-move-past any kind of paren/bracket thing. Maybe I could add that in.
But I was talking about like, when refactoring, I'll maybe change something from a list to a vector, and I have to change the delimiters at front and back. Or, where electric-pair does do the move-past-all-parens thing when I just spam ), it doesn't do that with ]}]}]]}}]})).
This is very much what I meant in the post (hi, I'm the author :P)! CL has maps, but they're a pain to use - not just because of the syntax, but because of the relative dearth of standard library functions to work with them compared to say, lists or even vectors.
Oh I've written an SSG in multiple variations of lisp, as well as sh, make, and most other languages I toy around with. It's been a good "kick the tires" project but I think I need a new one.
HAHAHAH Hell yeah that's praxis baby die mad about it
> What works best for me is no modal editing at all.
I used vim for 8 years and after switching to Emacs, realized that I'm the same. I was spending way more time (in vim) thinking about (to borrow another commenter's metaphor) how I was going to play the notes than what notes I was going to write.
could you share the code for that? thinking I could set up a fail2ban rule for these ips
seriously, study after study shows that just giving people money is the most effective form of altruism. just give it away. go to your city's homeless shelter and give money away. write a check for your local school board. keep everything anonymous. give it all away.
I remember reading long ago that the average person changes careers 6 times. So that means that half of everyone changes more than 6 times.
> Please do not post this article to Hacker News.
oop!
honestly I'm so sick of this attitude. it's the same as the recycling push...when like a dozen companies are creating the vast majority of pollution, there's not a lot us little people can do. HSAs are a symptom of an extremely broken system. we should fix the system, not max out on our HSAs (if we even can...see the other replies to this post)
so Lisp is actually not a pure language, like, at all. Emacs is often written about as a big hairy ball of state and Lisp itself can be as imperative or statefule as you want. So while I don't know much about what you're designing, Lisp wouldn't be necessarily a bad choice.
I agree, and I've seen more "blogs" on GitHub lately. it's very annoying.
I really wish people would stop writing blogs in naked GitHub repos.
I humbly submit either bash, sh, or zsh --- they all put dotfiles in $HOME that you can't move (zsh technically /can/, but they're still dotfiles and you have to set them in ~/.zshenv). Very annoying IMO.
Course, might not work so well with the way boxxy is run ... unless you chsh to boxxy bash or something.
Just hopping in to say : it's laughable to claim that open source projects have "hard-coded" anything. It's literally impossible to hard code things when anyone can download the source, edit it, compile it and run it on any machine they own
okay ya got me! i've read one posthumous book by bukowski and heard that one modest mouse song ... i should obviously read more because the random pick you gave is, indeed, pretty good.
thanks for changing my mind :)
I'm writing an ed clone in scheme. I hope to have autoindentation since that's about the only thing I miss with ed.
I'm really bothered by the way you casually conflate an actual war in the middle east---the longest war in American history, by the way---with a metaphorical war on domestic violent extremism and neonazism. these are two very different things.
Maybe I should read more Bukowski. Have you any recommendations?
I mean there is no art there. There is art, there is angst, in OG punk songs, and the music helps. There is no art in Bukowski's poems. His line breaks are all over the place, he's cynical and bitter, and ... that's it. That's all there is to his writing. There's no nuance, no feeling, no nothing.
At least punk songs have some kind of emotional resonance, or at the very least a good hook, you know?
I guess what I'm saying is that every Bukowski poem I've read reads like one I wrote in seventh grade.
honestly this is such a bad take and it really annoys me. it's okay if it doesn't come easily! some of the best works of art took ages to conceptualize and realize, and the fact bukowski thinks that's antithesis to art shows in his sloppy and unconsidered writing.
MISC is a really good name for these ---- I've been putting them in ~/src/vendor but I might just move em to ~/misc :D