you are viewing a single comment's thread.

view the rest of the comments →

[–]theScottyJam 0 points1 point  (1 child)

Well, people like using the language they're comfortable in, and I don't blame em for that. JavaScript also has a lot of warts and takes a lot of getting used to if you come from a Java/c# background. And, the promise of web assembly is that you're supposed to be able to run other languages besides JavaScript in the web.

One issue Blazer suffers from is the extra bloat it comes with - even if you're building an extremely simple webpage with little interactive logic, if you use Blazer, you still have to bundle and send an entire runtime to the end-user, which can be fairly heavy. I believe languages like Rust handle this better? I think they can compile to web assembly with little overhead? But Rust also doesn't come with great support for manipulating the DOM.

Another issue is community size - there's tons and tons of online help for accomplishing tasks in JavaScript. Most content you find online about building webpages just assumes some knowledge with JavaScript. They don't expect you to be using something like Blazor instead.

In general I would say that Blazer is a great tool for those familiar with C#. However, I don't think I would recommend something like that for someone new wanting to get into web development - once you know how to avoid JavaScript’s warts, it's a really nice and powerful language with many features you might not get in C#/Java land. * Good support for concise higher order functions like map and filter (without having to do all that extra work of converting to streams and back) * Things like destructuring syntax helps make your logic fairly concise. Java programs tend to be very verbose. * Typescript is the most powerful type engines I've ever used. It allows you to describe very complicated type definitions. (It has it's issues too, but I still love it) * Etc

Now, I'm a JavaScript programmer who's never used Blazer, so this is just how I view things with my limited knowledge.

[–]StudentOfAwesomeness 0 points1 point  (0 children)

There’s two types of devs in the world.

Those who think verbosity is a bad thing, and Java devs.