Why did JB go with the name `Unit`? I'm not a huge...
# announcements
h
Why did JB go with the name
Unit
? I'm not a huge fan of
Void
, but I'd just as soon prefer
Blah
c
A talk from KotlinConf last year went over things like this pretty well

https://www.youtube.com/watch?v=juFkdMv4B9s

👍 1
h
including nomenclature?
r
I mean from a nomenclature perspective
Unit
seems just as reasonable as any other choice to me. It’s a unit of work that doesn’t give you anything back.
h
yeah, i never questioned it before now, because i'm writing a units of measurement DSL
and, well, it can get messy at times to overload the term
Unit
r
Ya basically everything other than
void
can be pretty easily overloaded… unless your were making some game that had an object called “Void”. That would get messy 😛.
h
well that and "Class"
because I'm also writing a D&D app, and...yeah there are classes in the game!
I almost never see or use
Nothing
. I think only when I leave in
TODO()
I have actually never heard of
Either
what the heck?
Is this like javascript's
|
?
That's...actually awesome
thank you for introducing me to arrow!
or for multicatch
hahah, one of my favorite things about Kotlin is how adept it is at both functional and object oriented programming
and even though it trashed programming in the 90s, now i feel like a hipster for actually liking oop
holy fuck, i've wanted
Option
for so long. i've never gotten around to writing the class myself
Okay, I haven't dug in enough yet, but please tell me that you can reference members of either class when using
Either
that would be amazing, but i expect no
Alright
e
@Hullaballoonatic Re: Option. What does Option provide that Kotlin's nullable types doesn't provide?
r
Declarative syntax, Option.applicative, and composition
2