News for hackers. Stuff that matters.
Re:A few tips for writing macros in Clojure by asimuvPR on Sunday May 08, 2016 @08:44PM (#11656839)
It's OK to be discouraging to a certain degree. It helps stop people from cooking up "clever" solutions.
Re:A few tips for writing macros in Clojure by andrewingram on Sunday May 08, 2016 @09:01PM (#11656902)
Well I try to use the right tool for the job, and it's important that code can be understood easily when it's read by other developers. But I think the 10 years with Lisp argument needs to be better justified. :)
Re:A few tips for writing macros in Clojure by asimuvPR on Sunday May 08, 2016 @09:19PM (#11656957)
Oh, I was not making a personal comment about you. It was a comment in your first point. That being discouraged by others is a sign that one should thread lightly. I was not discouraged by anyone when macros appeared on my horizon. And boy did I write some bad code. :)
Re:A few tips for writing macros in Clojure by andrewingram on Sunday May 08, 2016 @09:29PM (#11657000)
Makes sense :)

I guess i've just heard for so many years how badly wrong macro usage can go, that i've not even been tempted to try languages that use them - until very recently.

Re:A few tips for writing macros in Clojure by asimuvPR on Sunday May 08, 2016 @10:22PM (#11657213)
As long as it's not production code: You should actively seek out and learn/try as many things possible. Don't let anyone stop you. I once worked on adding a "maybe" keyword to python because boredom. It was a disaster. Fun though.