
Clean Code: Functions (Part 2) - Beau teaches JavaScript
video description
Date: 2022-03-14
Related videos
Comments and reviews: 2
MudShark
Just to be clear, when replacing conditional with polymorphism, a conditional might still be needed, just not inside the class.
Somewhere, someone or something needs to decide which subclass should be instantiated
reply
Just to be clear, when replacing conditional with polymorphism, a conditional might still be needed, just not inside the class.
Somewhere, someone or something needs to decide which subclass should be instantiated
reply
Ievgen
I think for 3:50 there is a shorter sollution: const totalOutput = programmerOutput.reduce((acc, elem) => acc + elem.linesOfCode, 0)
reply
I think for 3:50 there is a shorter sollution: const totalOutput = programmerOutput.reduce((acc, elem) => acc + elem.linesOfCode, 0)
reply
Add a review, comment
Other channel videos















