Conversation started May 16, 2021 at 5:55.
lyxal
May 16, 2021 05:55
TIL you can't
switch
on
Integer
s in java
very sad.
context
hyper-neutrino
May 16, 2021 06:21
wait you can't? does it not compile or give type errors or just not match the cases
also this looks like something you should be using enums for but i'm not sure
lyxal
@hyper-neutrino it's a simple experiment to learn inheritance properly
@hyper-neutrino it compiles but errors at runtime
hyper-neutrino
huh. errors, not even just doesn't match? strange lol
Conversation ended May 16, 2021 at 6:24.
View all rooms
Lyxal's cursed Java part 1
May '21
16
The Nineteenth Byte
The Nineteenth Byte: General discussion for
codegolf.stackexc...
9
14
context of the conversation
join this room
about this room
Participants
lyxal
62%
hyper-neutrino
37%
all times are UTC
site design / logo © 2025 Stack Exchange Inc;
legal
mobile