Hah. I’m sure once I read the rest of the responses I’ll see the observation that 1 is just a slow route to 2
Hah. I’m sure once I read the rest of the responses I’ll see the observation that 1 is just a slow route to 2
Code as given can be made valid in scala I believe. My starter was based on that assumption. I think raku can do it too, but you would probably have to \x = $
to make it work…
Edit: misread your comment slightly, CBA to change mine now. It is what it is
I could’ve used a lot of things, but I’m on my phone and I wanted fewer characters to render it, whilst being sure it would work without having to run it.
Also, I am pleased to have maybe helped. Perhaps we can be friends, you and I. Perhaps not. Idk, maybe you punch dogs, why would you do that? Seems mean.
Have you ever just, like, edited a comment? How do people know when you did it? I guess if I were writing a thing to check it I’d use a registry of timestamps and checksums… So, like, ok, you can track, but why, how does it look?
Anyway sorry I had some drinks between now and first post, goodnight
deleted by creator
Implicit was too much of a give away wasn’t it?
They missed out the context code:
trait DoW { def length: FiniteDuration }
object Monday extends DoW { override def length = 24.hours }
...
implicit def toDoW(s: String): DoW = s match {
case "Monday" => Monday
...
}
var day: DoW = _
(Duration formatting and language identification are left as an exercise for the reader)
Well l take your point, but here I took ‘programming language’ in the colloquial sense to mean ‘language used for programming’ whereas you seem to have read it as ‘turing-complete language’; neither is fully justifiable since there’s ambiguity, but given that it’s a crossword I think that’s fine and all part of the game.
Hypertext markup Language. Yeah this sorta reminds me of why I stopped following r/ProgrammerHumour on the old site - too many cheap potshots at Perl, PHP and HTML, as if they weren’t fantastic tools that powered the creation of the internet we have today. Kids, man, SMH
No, the flip side of this wish is your knowledge is frozen in time to when you make the wish and can never be updated. You gradually become more and more outdated as you fail to grasp even the simplest of changes to all languages in current usage.
Plenty of my real friends are people I used to work with back before I was married and stopped getting as much out of this sort of culture… There doesn’t need to be some hard line here - just because you work with people doesn’t mean you can’t be friends