DEV Community

Discussion on: Please don't write a class

Collapse
 
pancy profile image
Pan Chasinga

Thanks for the comment.

I invite you not to get bogged down by my examples. I was just suggesting an alternative.

My point being when something is simple enough to maybe solve with functions, maybe there's no need to jump to writing classes from the get-go.

No one is suggesting classes are bad here.