I liked the idea of inheritance when you need to define a single thing and spawn it multiple times, but each class required exceptions, too many overrides to count, and usually I would spawn a thing either once or twice in my code, or 15000 times - neither scenario being optimal to having that many objects floating independently about. Sometimes an assoc. array is all you need.
tetris11
- 0 Posts
- 2 Comments
Joined 3 years ago
Cake day: July 1st, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.


>>> 0.1 + 0.2 0.30000000000000004 >>> 1e16 * (0.1 + 0.2) 3000000000000000.5Yes.