« first day (477 days earlier)      last day (90 days later) » 

05:11
I wondered if a purely functional language could allow overloading functions and constructors, but realized that Haskell doesn't do that because typeclasses are a more rigorous approach for that. :(
 
12 hours later…
17:05
CMP: similar to the above poll, whats your favorite obscure language feature?
mine is probably the TODO() function in kotlin
the fact that Kotlin lets you do val <T: Any> T.listOfMe get() = listOf(this)
(which works because extension properties are statically resolved, like reified functions)
17:47
@Seggan oh, it's obscure in Kotlin? the equivalent Scala function, ???, is very common
though yours is nicer in that you can specify a message
 
1 hour later…
19:13
idk if F#'s active patterns are "obscure" but I love them: learn.microsoft.com/en-us/dotnet/fsharp/language-reference/…
 
4 hours later…
23:14
I think F# as a whole is obscure :p
Those do seem so nice
@Seggan this is pass or ... in python and I wouldn't say it's very obscure
The Scala one's docs say it specifically errors if the code is actually reached at runtime
which in Python is... raise NotImplementedError
Also not obscure, but a bit wordy :P

« first day (477 days earlier)      last day (90 days later) »