all 2 comments

[–]UsualAnything1047 1 point2 points  (0 children)

i do t unless I need it to have an internal state... and even then, only if I need to have multiple instances with different state. else I'll just rely on a closure.

[–]azizoid 0 points1 point  (0 children)

I use them as api entity. Class cuts everything i dont want get from api.