Earlier quoted context omitted.
It doesn't actively push you there, which is why it's on the bottom half. There is a fairly coherent mental model for C and once you have it, the language rarely surprises you. But when it does surprise you, it's almost never anything good. Stuff like Duff's device, `3[someArray] = value`, etc. The surprises are always the language's raw machinery showing through in unpleasant ways, and never a delightful bonus featu…
> The surprises are always the language's raw machinery showing through in unpleasant ways, and never a delightful bonus feature the designers added for you. I was reading "Writing Solid Code" by Steve Maguire (though it should really be called "how to write code in C without shooting yourself in the foot"). One thing that surprised me, but which made sense, was that pointers can overflow. It's unlikely, and ANSI non…
Raku: A language for gremlins
171–180 of 257 posts
Re: Raku: A language for gremlins
#172Earlier quoted context omitted.
> arithmetic or geometric See, that doesn't delight me. OEIS is what's needed here.
Well… that was supposedly considered at some point: https://youtube.com/watch?v=BJIfPFpaMRI&t=1891 (~1m)
(now I want to see it in an esolang precisely because he said that)
Re: Raku: A language for gremlins
#173One way you might arranging programming languages in a 2D space is with two axes: 1. How much should the language surprise you? 2. When the language does surprise you, should it delight you or horrify you? surprising ^ | | | delight horrify | | | v unsurprising Only a sadist would deliberately design a language for the top right quadrant, but there are many esoteric languages in there. I think most people tacitly ass…
Re: Raku: A language for gremlins
#174Earlier quoted context omitted.
Do you want it to take the first match? Inputting a unique prefix doesn't sound practical.
I thought about that. I thought the compiler could error with "Insufficient data for meaningful answer" until you'd added enough digits that the sequence was unambiguous. Then I tried it in OEIS and as you say there are too many sequences that start [1,2,3,4,5,...] - I think we may be stuck with generators and yield. But they're not exactly delightful.
Re: Raku: A language for gremlins
#175Earlier quoted context omitted.
Well… that was supposedly considered at some point: https://youtube.com/watch?v=BJIfPFpaMRI&t=1891 (~1m)
Heh, even Larry Wall says "no, that way lies madness" (now I want to see it in an esolang precisely because he said that)
Re: Raku: A language for gremlins
#176One way you might arranging programming languages in a 2D space is with two axes: 1. How much should the language surprise you? 2. When the language does surprise you, should it delight you or horrify you? surprising ^ | | | delight horrify | | | v unsurprising Only a sadist would deliberately design a language for the top right quadrant, but there are many esoteric languages in there. I think most people tacitly ass…
one of my greatest pet peeves is when some words in a list, or diagram, are in their adjectival form and some are in their verbal form. "Surprising" + "horrify"
It really unnerves me. The worst is that nearly every company has this in some form in their promotional or educational materials.
E.g. here at Genericorp, we prioritize the following valurs : integrity, kindness, honest,
Etc
You get my point. Drives me nuts this kind of thing constantly slips through the cracks.
Re: Raku: A language for gremlins
#177Re: Raku: A language for gremlins
#178This is a fascinating language! I am so curious: how does the “anything goes” matcher work? I struggle to imagine how one would implement that ~~ operator.
$lhs ~~ $rhs
is mostly sugar for $rhs.ACCEPTS($lhs)
and then method resolution (including multimethod handling, of course) figures out which ACCEPTS method to call and that does ... whatever the author of the type implemented.('mostly' because ~~ actually aliases $lhs as $_ and passes $_ as the argument to ACCEPTS)
Re: Raku: A language for gremlins
#179One way you might arranging programming languages in a 2D space is with two axes: 1. How much should the language surprise you? 2. When the language does surprise you, should it delight you or horrify you? surprising ^ | | | delight horrify | | | v unsurprising Only a sadist would deliberately design a language for the top right quadrant, but there are many esoteric languages in there. I think most people tacitly ass…
I do agree though, that if a language surprises me, it should be to the left quadrant in this case. If a language is not surprising me, it should be delight as well.
I don't know if I call people who made / use Brainfuck sadists as much as I'd call them very geeky / nerdy.
Re: Raku: A language for gremlins
#180One way you might arranging programming languages in a 2D space is with two axes: 1. How much should the language surprise you? 2. When the language does surprise you, should it delight you or horrify you? surprising ^ | | | delight horrify | | | v unsurprising Only a sadist would deliberately design a language for the top right quadrant, but there are many esoteric languages in there. I think most people tacitly ass…
Pedantry incoming- one of my greatest pet peeves is when some words in a list, or diagram, are in their adjectival form and some are in their verbal form. "Surprising" + "horrify" It really unnerves me. The worst is that nearly every company has this in some form in their promotional or educational materials. E.g. here at Genericorp, we prioritize the following valurs : integrity, kindness, honest, Etc You get my poi…