I think whoever first took Javascript and said "this is good but what if it was a compiled language" ruined us all

Follow

I'm a webdev I don't wanna wait for "a build"

· · Web · 1 · 0 · 2

@dogo @noiob i guess they mostly implied stuff like webpack and such, because IMO TS is 100% worth the "build" time tradeoff anyway

@Eramdam @dogo we're luckily not using webpack, just vite

@noiob @dogo i mean, no matter the bundler, if your codebase is big enough it will get slower anyway :')

@noiob @dogo (and webpack itself isn't particularly slow, it just gets slow when you throw in transforms with babel and such which you might actually not need a lot of depending on what browsers you target)

@Eramdam @dogo well, my php backend code doesn't need a compile step [when deploying]

@noiob @dogo I mean true but I sure hope you don't have runtime issues caused by mishandling of types :P

@noiob @dogo Like, sure vanilla JS doesn't require a "build" or compile step but then you have to be extra extra careful about shit like type handling and such. It's fine up until a certain scale at which you're better off having a compiler to catch dumb mistakes that can cause you bad crashes at runtime

@Eramdam @dogo if it was up to me there would be as little js as possible anyways

@dogo I wouldn't mind typescript at all if I could send it straight to the browser

my preferred way of rendering websites is server-side with some nice templates

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!