3 ms·
He claims all programming languages are wrong and then he bashes C++ virtual functions vs regular functions, C++ templates, single dispatch and fixed precision
by pkolaczk 7y ago
He claims all programming languages are wrong and then he bashes C++ virtual functions vs regular functions, C++ templates, single dispatch and fixed precision arithmetic. Looks like "all languages" means C++ to him.
There exist languages with arbitrary precision arithmetic, e.g. Python or languages with much sophisticated polymorphism e.g. Haskell, Scala or Rust.
- lokedhs 7y agoOr Common Lisp, where you not only have arbitrary precision by default. You also have rationals.
- lazyjones 7y ago> There exist languages with arbitrary precision arithmetic, e.g. Python Floating point numbers are implemented using double in C. All bets on their precision are off unless you happen to know the machine you are working with. https://docs.python.org/2.4/lib/typesnumeric.html https://docs.python.org/2.4/lib/typesnumeric.html