[-] silasmariner@programming.dev 1 points 9 hours ago* (last edited 9 hours ago)

Oh I'm completely serious. The joke is that everyone does it but everyone knows not to do it. I started doing it when I first ran into problems debugging actor contexts, and never stopped.

The good printlns become logs, obviously

[-] silasmariner@programming.dev 2 points 9 hours ago

Also it is literally the best language for refactoring. Omg. Anything is available -- macros that fold up so tight you can't see it's arse, compile type type witnesses for safe access to partial objects, fuckin' automatic restructuring of auto-generated code, at compile time, to regex hack in the easy fix for a hard problem. It just so flexible, and you can either use that to prevent bugs by making things stricter, or enable incredible things by doing mad unsafe shit (that's still safe, because you still have the compiler). Wow. What a language.

Oh man, I thought that was one of the classic jokes :'( I am out of touch

Yeah, every so often there's an article like this and tbh it always seems to boil down to 'i couldn't get a job in it' lol. Scala isn't Java or Go, it's never gonna have as many open roles as those sorts of languages. Doesn't feel to me like it's dying -- all the libs I depend on have been available for scala 3 for at least a couple of years now, all the ones that aren't already so feature complete as to warrant 'stable' status get regular updates. Kinda don't like ppl trash talking my favourite language NGL lol 😂

Wait, how do you debug your code?

[-] silasmariner@programming.dev 2 points 2 days ago

Saw him do this live and he was predictably incredible

[-] silasmariner@programming.dev 6 points 2 days ago

Not amongst serious people though. Shakespeare's life is well documented but rather dull. He just happened to be a terrific observer of human behaviour

[-] silasmariner@programming.dev 179 points 1 year ago

One might argue that 'doing nothing' with land was an extremely good way of protecting it, but one would have to be talking to someone who was operating in good faith if they were to bother to do so...

[-] silasmariner@programming.dev 83 points 2 years ago* (last edited 2 years ago)

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)

[-] silasmariner@programming.dev 171 points 2 years ago

Producer of calculators says kids don't need to learn maths, they just need a calculator

[-] silasmariner@programming.dev 157 points 2 years ago

I just want to never have to hear about this cunt again. Is that why people like him?

view more: next ›

silasmariner

joined 2 years ago