Show newer

*tries to load a rabbit thing*
rabbit: *loading screen forever*

hot take: flash was actually good for content creation and killing it off has made the internet like 80% less fun

programming is fine, you nerds. it's implicitly nullable types that aren't fine. i've been saying this for years

nomic: online edition 

@interfly@queer.town I've played 2 games of Mornington Nomic to completion - it's a variant which starts with the context of the London Train map, so people start off with cool mechanic ideas!

that's what I've been saying this entire time hjskhdajshgasd

@Efi Languages exist that don't have null, though - rust, ocaml, haskell

@Efi @LottieVixen@dev.glitch.social that's what C does and what java does

@Efi what I'm saying is that only numbers should be of type number

null shouldn't be of type number, neither should NaN, neither should functions

programming 

@Efi well I am removing them

and then defining this in the standard library:

data Optional<a> = Some(a) | Nothing

programming 

@Efi nulls can be replaced with Optional<Type> or Maybe<Type>

which means that suddenly we don't have things breaking type safety

and checking for nulls is now ensured at compile time, rather than a problem that can happen at runtime

and Optional<Type> can be compiled down to a null check, so it's not "less efficient"

Show older
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!