4 ms·
I think we are at max reply depth but here is the trivial dynamically typed solution to the problem: https://pastebin.com/UZvB5YD1 https://pastebin.com/UZvB5YD1
by ReflectedImage 3y ago
I think we are at max reply depth but here is the trivial dynamically typed solution to the problem:
https://pastebin.com/UZvB5YD1 https://pastebin.com/UZvB5YD1
It's a little bit simpler than anything you will get in an statically typed language. It works for integer and floats of any size. It even works for lists!
You can't do that in a statically typed language without a ton of code.
- fennecfoxy 3y agohttps://pastebin.com/gcsNs6Sw https://pastebin.com/gcsNs6Sw Oh, look. Something that statically typed languages solves.
- ReflectedImage 3y agoThat problem is also solved by dynamically typed languages. Your IDE picks it up.
- fennecfoxy 3y agoTrue, but if I know devs and management's "last minute and underplanned" culture IDEs can be ignored.