Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

C++ is a legacy language when it comes to data representation. Its ideas on what constitutes 'data' are from a different era. That is not a criticism of C++ or its utility. It is just a fact that data representation has changed a lot since the time of C++s development.

Products and coproduct types are not academic wankery.



The machine does not think about category theory. The machine thinks about numbers. It can add them together! The way the machine thinks about numbers has not meaningfully changed in 40+ years.


Product and coproduct types are not category theory (what is that?)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: