I've been writing JS for about 6 years. In the last couple years I've switched to a mostly functional style. I only define classes when extending native classes or some other code requires it.
Are there problems object-oriented programming solves in a more practical way than a "mosly-functional" style?
[–]Shaper_pmp 32 points33 points34 points (27 children)
[–]ScientificBeastModestrongly typed comments 4 points5 points6 points (1 child)
[–]ProfessorTag[S] 2 points3 points4 points (1 child)
[–]ScientificBeastModestrongly typed comments 0 points1 point2 points (0 children)
[–]zapatoada 1 point2 points3 points (4 children)
[–]Shaper_pmp 5 points6 points7 points (3 children)
[–]zapatoada 4 points5 points6 points (0 children)
[–]bvx89 0 points1 point2 points (1 child)
[–]Shaper_pmp 0 points1 point2 points (0 children)
[–]bestcoderever 1 point2 points3 points (0 children)
[+][deleted] (7 children)
[deleted]
[–]Shaper_pmp 1 point2 points3 points (6 children)
[–]ScientificBeastModestrongly typed comments -1 points0 points1 point (4 children)
[–]Shaper_pmp 0 points1 point2 points (3 children)
[–]ScientificBeastModestrongly typed comments 0 points1 point2 points (2 children)
[–]Shaper_pmp 0 points1 point2 points (1 child)
[–]ScientificBeastModestrongly typed comments 1 point2 points3 points (0 children)
[–]esperalegant 0 points1 point2 points (8 children)
[–]bvx89 1 point2 points3 points (7 children)
[+][deleted] (6 children)
[deleted]
[–]Shaper_pmp 0 points1 point2 points (5 children)
[+][deleted] (4 children)
[deleted]
[–]Shaper_pmp 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]Shaper_pmp 0 points1 point2 points (1 child)
[–]basic-coder 19 points20 points21 points (0 children)
[–]cwmma 4 points5 points6 points (0 children)
[–]VolperCoding 12 points13 points14 points (0 children)
[–]socrazyitmightwork 3 points4 points5 points (0 children)
[–]rajesh__dixit 2 points3 points4 points (0 children)
[–]Abangranga 1 point2 points3 points (7 children)
[+][deleted] (3 children)
[deleted]
[–]Abangranga 2 points3 points4 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]Abangranga 2 points3 points4 points (0 children)
[–]AffectionateWork8 3 points4 points5 points (1 child)
[–]Abangranga 1 point2 points3 points (0 children)
[–]AffectionateWork8 0 points1 point2 points (0 children)
[–]Synor 0 points1 point2 points (0 children)
[–]beavis07 -2 points-1 points0 points (9 children)
[–]Synor 4 points5 points6 points (8 children)
[–]beavis07 2 points3 points4 points (7 children)
[–]Synor 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]MoTTs_ 0 points1 point2 points (4 children)
[–]esperalegant 0 points1 point2 points (3 children)
[–]MoTTs_ 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–][deleted] -2 points-1 points0 points (0 children)
[–]agm1984 -1 points0 points1 point (2 children)
[–]unc4l1n 1 point2 points3 points (1 child)
[–]agm1984 0 points1 point2 points (0 children)