6 ms·
This is my take from writing object oriented code (I don't know how broadly applicable to functional languages it is). I started off writing code in a procedur
by UglyToad 5y ago
This is my take from writing object oriented code (I don't know how broadly applicable to functional languages it is).
I started off writing code in a procedural style with no organisation. I was told that was bad so I created fragmented abstracted code where everything did very little across 10s of classes and methods.
Now I write procedural style code again, I don't worry about long methods as long as the flow is obvious and the abstractions, used sparingly, feel right.
- samsquire 5y agoI'm the same. I'd rather inherit large methods that do a thing than an over abstracted mess of classes and methods that don't give you anything but noise.