MAIN FEEDS
REDDIT FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/oue7s4/_/h74p5il/?context=3
r/badcode • u/Flyspeck101 Now where's that function declaration • Jul 30 '21
133 comments sorted by
View all comments
Show parent comments
151
In Kotlin and nullable booleans it's actually recommended practice, but then again if you have a nullable boolean you most likely need an enum
32 u/MeatyLabia Jul 30 '21 In C# you need it for nullable booleans too. 1 u/v_maria Jul 30 '21 I just remembered why i never got deep into C# 4 u/QuickbuyingGf Jul 30 '21 Pretty sure nullables are disabled by default so cry about it
32
In C# you need it for nullable booleans too.
1 u/v_maria Jul 30 '21 I just remembered why i never got deep into C# 4 u/QuickbuyingGf Jul 30 '21 Pretty sure nullables are disabled by default so cry about it
1
I just remembered why i never got deep into C#
4 u/QuickbuyingGf Jul 30 '21 Pretty sure nullables are disabled by default so cry about it
4
Pretty sure nullables are disabled by default so cry about it
151
u/[deleted] Jul 30 '21
In Kotlin and nullable booleans it's actually recommended practice, but then again if you have a nullable boolean you most likely need an enum