5 ms·
>You don’t have inheritance [..] Modern PL features are more or less wrappers around comparatively complex C code. Object inheritance is actually one that isn'
by ryu2k2 3y ago
>You don’t have inheritance [..]
Modern PL features are more or less wrappers around comparatively complex C code. Object inheritance is actually one that isn't too difficult or complex to implement: https://www.youtube.com/watch?v=443UNeGrFoM&t=4275s https://www.youtube.com/watch?v=443UNeGrFoM&t=4275s
- jll29 3y ago> Modern PL features are more or less wrappers around comparatively complex C code. Object inheritance is actually one that isn't too difficult or complex to implement: https://www.youtube.com/watch?v=443UNeGrFoM&t=4275s https://www.youtube.com/watch?v=443UNeGrFoM&t=4275s True, and if you implement it as a preprocessor, that's exactly how C++ started in 1979 (Stroustrup's "C with classes" Cfront pre-processor: https://en.cppreference.com/w/cpp/language/history https://en.cppreference.com/w/cpp/language/history).