3 ms·
Fair. I don't mind dynamic typing so much, but I agree that getting clever with automatic type conversion is just plain wat. (reference to: https://www.destroy
by bunderbunder 2y ago
Fair. I don't mind dynamic typing so much, but I agree that getting clever with automatic type conversion is just plain wat.
(reference to: https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wat)
- systems 2y agoI wouldnt call that getting clever, its just a string of what you did > (type (+ 1 2 '(1 2))) #object[String]
- bunderbunder 2y agoThe problem is how you get there. 1 and 2 are integers. '(1 2) is a list. None of them are strings, but + helpfully converts them to strings because ClojureScript is leaking some of JavaScript's wat behavior.