ÆSCLING ACTIVATES the TF MACHINE!

ÆSCLING TRANSFURMS from UMBREON to ESPEON!

ÆSCLING SWISCHES its weird forkéd $$$$-ing TAIL!

— :aescling_tf_machine:

@vaporeon_ @wallhackio use classes? (they auto-destruct when they go out of scope.) if you need to hold a pointer to something use C++ various “smart” pointer wrappers? i feel like caleb would have a better answer though

@wallhackio @vaporeon_

enum gorp { FOO, BAR, BAZ };

is a type with inhabitants FOO, BAR, and BAZ, which are all (not so )secretly actually just integral values

@monorail i almost responded and then realized you almost certainly have had one (1) billion people already explain it to you in your mentions

@vaporeon_ @wallhackio in OCaml, variants without parameters are unboxed ints. variants with parameters are a little bit more complex

@vaporeon_ @wallhackio i’m curious now, when you were learning haskell, did type definitions like

data Whatever = Thing1 | Thing2

ever bother you in the way that the value of Thing1 is kind of abstract? i remember (the equivalent to )this taking a while fur me to get used to when i was furst learning OCaml

@vaporeon_ @wallhackio imo “enums are exactly the same as ints” is exactly the opposite of the point of having an enumerated type

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.