« first day (488 days earlier)
← previous day
next day →
last day (47 days later) »
Seggan
8:58 PM
@Seggan also the fact that you can add an
operator fun invoke
on
companion objects
so it looks like ure calling a constructor, but the
invoke
can be
suspend
, return a cached object, etc etc
Ginger
you can?!
Seggan
9:29 PM
yeah i just rediscovered it today after copilot suggested it and I LOVE IT
Bbrk24
9:57 PM
@Seggan that's cursed
Swift just lets you have
init() async
The "return a cached object" part isn't possible in Swift but it is possible in ObjC which occasionally leads to fun surprises (runtime crashes)
« first day (488 days earlier)
← previous day
next day →
last day (47 days later) »
all rooms
Transcript for
Sep
15
Sep
16
Sep
17
The Garbage Collector
General discussion for
langdev.stackexchange.com
7
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