News for hackers. Stuff that matters.
Re:TypeScript Features to Avoid by moystard on Thursday January 20, 2022 @07:54AM (#30008266)
What do you mean by reproducing JEE? Leveraging OOP in your Javascript programs?

I really dislike this tendency of certain Javascript developers to qualify combining OOP with Javascript as "not understanding the language".

Re:TypeScript Features to Avoid by tentacleuno on Thursday January 20, 2022 @10:10AM (#30009818)
In my humble opinion, they're both fine. Use functions where you need to, and do the same with classes. They're both citizens of the language, so why not utilize them?
Re:TypeScript Features to Avoid by moystard on Thursday January 20, 2022 @10:26AM (#30010005)
I agree with you. They both serve a purpose and should be used when they make the most sense.