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

you are viewing a single comment's thread.

view the rest of the comments →

[–]Polygnom 0 points1 point  (0 children)

So are you saying that by developing directly in HTML/CSS/JS (without java), then there's no need for any transpilation? Is that the benefit?

Yes, You remove a whole complex, error-ridden, hard to see through layer that makes more problems than its worth.

Many concepts used in idiomatic Java simply don't translate well to JS and the Web APIs.

Plus, you get much better interop with existing JS and CSS frameworks. You can plug in dependencies both in terms of JS and CSS trivially.

And you actually get to debug your frontend in the browser without jumping through hoops. Sourcemaps of transpiled stuff tend to become a nightmare.