4 ms·
I started converting picol to C++14 yesterday: http://antirez.com/picol/picol.c.txt I have been programming in C++ for over 20 years and my version is big
by papaf 10y ago
I started converting picol to C++14 yesterday:
http://antirez.com/picol/picol.c.txt
I have been programming in C++ for over 20 years and my version is bigger :-( Its nice not having to malloc/free but the moment I turned the structs to classes I was battling the bloat.
I still enjoy programming in C++ but there is a lot of truth in the criticism that programs written in C are simpler.
- faragon 10y agoI've been writing C++ for more than 20 years, too. In perspective, I made some mistakes when choosing writing many C++ components that could have been better/simpler/cheaper in plain C, with some abstraction via libraries (e.g. because complexes of not being seen as "smart enough", etc.). Writing simple/compact programs is hard both in C and C++, although, from my experience, bloat comes much more from C++ (inlining, etc.). BTW, Salvatore Sanfilippo (antirez) is a very sharp programmer, able to write programs without redundancy and look easy (which is very difficult to achieve).