Y
Hacker News
new
|
ask
|
show
|
jobs
by
beefbroccoli
2217 days ago
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?
1 comments
glassounds
2217 days ago
Not saying this is "bad", but why not use a module for that?
link
beefbroccoli
2217 days ago
Not sure. Maybe time to convert some classes to modules.
link