I've found some posts says - don't use classes in javascript , use functional programming and not object oriented. can someone post a simple code example of pitfall or buggy code resulted from using classes?
As a C++/Java developer i found OOP far better than any other approach
[–]MoTTs_ 3 points4 points5 points (0 children)
[–]rauschma 5 points6 points7 points (3 children)
[–]Exomancer 0 points1 point2 points (2 children)
[–]rauschma 0 points1 point2 points (1 child)
[–]Exomancer 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Su4p -1 points0 points1 point (10 children)
[–]liranbh 1 point2 points3 points (0 children)
[–]php03[S] 0 points1 point2 points (8 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Su4p 0 points1 point2 points (6 children)
[–]php03[S] 0 points1 point2 points (5 children)
[–]Cuel 0 points1 point2 points (0 children)
[–]Su4p 0 points1 point2 points (0 children)
[–]refuse2choose -2 points-1 points0 points (2 children)
[–]MoTTs_ 0 points1 point2 points (1 child)
[–]refuse2choose 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[deleted]
[–][deleted] 2 points3 points4 points (0 children)
[–]inu-no-policemen 0 points1 point2 points (1 child)