loading...
re: I can absolutely understand the author. In my career i saw a lot of oop code like: report = ReportBuilder(a, b, c) report.do_something() result = ...
 

This really depends on what's inside ReportBuilder. Maybe it's a class that has to collect tons of data and do complex analysis.

In that case, it's super easy that you can use all that functionality in just 3 lines of code.

Also, don't forget that you are already using built-in classes every day! From using arrays to typing console.log(), all that functionality has to be programmed somewhere, and that's mostly in a class file.

Code of Conduct Report abuse