News for hackers. Stuff that matters.
Re:Etcd, or, why modern software makes me sad by icedchai on Tuesday July 14, 2020 @03:14PM (#23836385)
Almost nobody does Javascript without a build step these days, unfortunately. I miss those simpler days.
Re:Etcd, or, why modern software makes me sad by tbrock on Tuesday July 14, 2020 @05:19PM (#23838063)
You might like deno (https://deno.land) then!

It’s native typescript.

Re:Etcd, or, why modern software makes me sad by cutler on Thursday July 16, 2020 @09:18AM (#23858680)
Except for the core which was recently reverted to ES6 due to Typescript's slugguish compilation and inefficiencies.
Re:Etcd, or, why modern software makes me sad by aprdm on Wednesday July 15, 2020 @04:22PM (#23851166)
I would say nobody at tech or hip company.

A lot of fortune 500 companies with some developers who missed the trendy stuff still do it that way. I made a medium size website (30 pages) in React with pure javascript and dependencies being script tags in index.html to vendored files.

So not even JSX. I did it that way because it was the easiest way to develop and deploy in that environment

Re:Etcd, or, why modern software makes me sad by zelly on Tuesday July 14, 2020 @11:24PM (#23840897)
If you don't need IE support and only care about modern browsers...

<script type="module">

Re:Etcd, or, why modern software makes me sad by Macha on Wednesday July 15, 2020 @08:20AM (#23844138)
And also don't use modern frameworks like React or Vue, or don't mind sticking all your templates in strings, or in your index.html, and shipping 100kb of template compiler to to user, or write render functions directly ala mithril.
Re:Etcd, or, why modern software makes me sad by IggleSniggle on Tuesday July 14, 2020 @08:07PM (#23839690)
my team (in a large enterprise) uses js for scripts using a shebang interpreter declaration, eg

``` #!/use/bin/env node

console.log("hello cli") ```

While it does depend on node, and there are arguably better crossplatform languages for this purpose, it is a zero-tool chain use case that is very convenient for us.

Re:Etcd, or, why modern software makes me sad by tomc1985 on Tuesday July 14, 2020 @07:10PM (#23839232)
Yeah, fuck those guys. script tags or GTFO of my project!!
Re:Etcd, or, why modern software makes me sad by throwaway744678 on Tuesday July 14, 2020 @04:47PM (#23837615)
Now, that is a bold claim. Are there any stats on that?
Re:Etcd, or, why modern software makes me sad by coldtea on Tuesday July 14, 2020 @05:02PM (#23837810)
"Nobody" here means few, or more loosely, much fewer teams than before, not "literally 0 people/teams".

And the group mentioned is (I deduce) not generally individual devs, enterprise devs building some internal thing, and so on but teams in companies doing public-facing SaaS, teams in startups, companies like Amazon/Google/Facebook/Apple all the way to AirBnB etc, and so on.

So, you don't really need stats for that.

Re:Etcd, or, why modern software makes me sad by icedchai on Tuesday July 14, 2020 @07:15PM (#23839270)
Yes, exactly. The larger the team, the more likely someone is a front end expert and wants to use latest cool framework, which will by its nature require a build step. Even for something simpler, you'll probably want it for cache busting, minimization, etc.