DEV Community

My two greatest challenges while learning software development

Kelvin Wangonya on January 14, 2019

“The greater our knowledge increases, the greater our ignorance unfolds.” ― John F. Kennedy I studied Computer Science in school. Specialised in...
Collapse
 
lluismf profile image
Lluís Josep Martínez

"Why should you complicate your code? Just write a function that takes care of what you need. You need something else taken care of? Write another function." If you ever deal with a complex project you'll see that having thousands of functions is not scalable and a nightmare to maintain. At least with classes you can group them, makes maintenance much more easy. Javascript added classes (although it's just syntactic sugar) for a reason.

Collapse
 
vikctar profile image
vikctar

This resonates with me on so many levels. Waiting for your next post.

Collapse
 
danielkakai profile image
DANIELKAKAI

I totally agree with you

Collapse
 
hydroweaver profile image
Karan

So true!!!!! 😮😮😮😮