Do any programming languages have "objects as primitives"? That is, if I inherit the right interface in my class, it can behave as a boolean/string/number, depending on the context where it's used. Would allow loosely-typed behavior in strongly-typed languages with no ambiguity.
16:18 PM - 25 Jan 2019
00
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
A relevant Twitter thread: