Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
beefbroccoli
· 6y ago · 0 comments
In typescript I will for example make a class called 'Tools' with static 'free form' functions and no constructor. I do it just because it's easy to organize, import and call the functions. Is this bad?
Comments
[–]
glassounds
6y ago
Not saying this is "bad", but why not use a module for that?
[–]
beefbroccoli
OP
6y ago
Not sure. Maybe time to convert some classes to modules.