Comment

Comment by ju_sh

Does anyone have any good references/examples of taking some OOP code and converting it to functional code? Even a trivial example of OOP inheritance such as Vehicle -> Car(Vehicle) -> SportsCar(Car) with a few methods & attributes (accelerate, brake, current_speed) etc..
parent ju_sh 5 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton