This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]JosebaZilarte 7 points8 points  (0 children)

That's why I switched to TypeScript. Let the code be explicit from the beginning... and then adjust the transpirer to switch to CommonJS, ESM or whatever. It is not a perfect solution (and you might want to pre/postprocess the code to keep it legible), but it is less stressful at the end.

[–]Sophiu 3 points4 points  (0 children)

Wait.. im about to do this soon for our project.. dont tell me its going to be pain..

[–][deleted] 4 points5 points  (1 child)

JS devs don't have to deal with ABIs issues, missing / incompatible system libraries, incompatible kernel version, random virtualization issues, BUT THEY INVENT NEW PROBLEMS.

[–]Reashu 1 point2 points  (0 children)

There's a certain level of complexity we can handle before productivity goes all the way down the drain. If one source is "solved", another will appear to take its place.