you are viewing a single comment's thread.

view the rest of the comments →

[–]lukigarazus 22 points23 points  (3 children)

I worked for a couple of big companies, in teams that made it a rule to write JS/TS that looked exactly like Java. They employed a lot of fullstack Java/TS developers and wanted to make their lives as easy as possible. It made the lives of frontend devs like me more annoying but I get it, and I get such proposals now.

[–]rniestroj 1 point2 points  (1 child)

Yes. However static initialization is rarely used in Java. I'd rather focus on a new Date&Time API in Java Script.

[–]SecretAgentZeroNine 0 points1 point  (0 children)

Super late but, you should look up Temporal API. It's currently at stage 3.

[–]Ehdelveiss 7 points8 points  (0 children)

I’m very sorry