« first day (477 days earlier)
← previous day
next day →
last day (88 days later) »
Dannyu NDos
5:11 AM
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…
Seggan
5:05 PM
CMP:
similar to the above poll, whats your favorite obscure language feature?
mine is probably the
TODO()
function in kotlin
Ginger
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)
RubenVerg
5:47 PM
@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…
Eldritch Conundrum
7:13 PM
idk if F#'s active patterns are "obscure" but I love them:
learn.microsoft.com/en-us/dotnet/fsharp/language-reference/…
4 hours later…
Ginger
11:14 PM
I think F# as a whole is obscure :p
Unrelated String
Those do seem so nice
lyxal
@Seggan this is
pass
or
...
in python and I wouldn't say it's very obscure
Unrelated String
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)
← previous day
next day →
last day (88 days later) »
all rooms
Transcript for
Sep
4
Sep
5
Sep
6
The Garbage Collector
General discussion for
langdev.stackexchange.com
5
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile