DEV Community

Discussion on: OOP a software development mass psychosis

 
polterguy profile image
Thomas Hansen

You showed encapsulated code as an example, so did I.

No, I showed three of the fundamental building blocks in Hyperlambda (3 slots), which are similar to "functions" in structure, and how these 3 fundamentals solves an actual problem, being retrieving 2 HTML documents in parallel, and waiting for both documents to download.

Thread Thread
 
anuragvohraec profile image
Anurag Vohra

I have demonstrated a better example of how to run any app with just one line of code. It does all you say and do in just one line.
If reducing number of line is yard stick.

Thread Thread
 
polterguy profile image
Thomas Hansen

Reducing the LOC is always a "yard stick" yes.

Thread Thread
 
anuragvohraec profile image
Anurag Vohra

One of the yard stick yes, but definitely not the most important of all. A sane programmer would and should choose modularity, for a non trivial programm, always over LOC. A few extra lines which gives better extensibility and readability is instead good and promoted as a good programming atticate.