Viewing profile — saturnflyer
saturnflyer
HN member- Joined
- Wed, Apr 14, 2010, 11:57 PM UTC
- HN karma
- 318
- Public activity
- 71 items
- HN profile
- View on Hacker News ↗
About saturnflyer
[ my public key: https://keybase.io/saturnflyer; my proof: https://keybase.io/saturnflyer/sigs/1b51SrA-WjDVL6tnHd3bv3EXpAkCGn4nwo7b9ADqafQ ]
Recent public activity
-
comment
Comment #34448590
I'm on a project that isn't yet on ruby 3.2 and wanted to use the new Data class. I implemented this to allow me to move to it easily. It does still have 1 failing test about redef…
- story
- story
- story
- story
- story
- story
- story
-
comment
Comment #9426391
Interesting. What kind of stuff does this course have?
- story
-
comment
Comment #9010632
Yes. Too often this is done even with complex procedures inside methods. A good DSL should be syntactic sugar for making things easy or at least provide some syntactic vinegar for …
-
comment
Comment #9010605
Ah. I see. That Ruby doesn't afford this can be somewhat annoying. A counter example is using "alias". It can accept bare words, symbols, or strings. If you really wanted to get ar…
-
comment
Comment #9010458
This surprises me. Can you offer an example of those types of problems in some Ruby code?
-
comment
Comment #9010448
Not yet. But you can signup for a 5-email crash course. It's being updated almost every day now as I add more content.
-
comment
Comment #9010443
I'm the author. In fact, the first bit of advice I have in the book is: Don't. DSLs often involve metaprogramming, but they don't have to. I'm writing it to record the code practic…
- story
- story
- story
- story
- story
- story
- story
- story
-
comment
Comment #6586950
Thanks for some fantastic feedback. I haven't read the worrydream link yet, but will check it out.
-
comment
Comment #6585561
thanks! I'd love to see what you do