If you're cheap like me a used Pixel3a is a grand device.
46 karma · joined February 12, 2023
An example of it in action: https://streamable.com/2mxktc
Source code: https://github.com/beef331/potato
Small hacking game: https://streamable.com/q840oc
Source: https://github.com/beef331/keyboardwarrior/blob/master/scree...
If anyone is interested in what a terminot does: https://streamable.com/t5kz2y
type
Cat = object # these are just 'struct' in a different skin
Dog = object
proc greet(c: Cat): string = "Meow"
proc greet(d: Dog): string = "Bark"
assert Dog().greet() == "Bark"
assert Cat().greet() == "Meow"We've talked about this before! You know it has sum types, just not the variation you want.
Is not exactly true, smaller than 24 bytes is passed by value, the compiler optimizes larger calls and passes by reference implicitly.
Quick someone reset the inane "Days since mentioning style insensitivity".