asyncrosaurus

joined 1 year ago
[–] asyncrosaurus 5 points 1 year ago

Yes, I couldn't recommend htmx highly enough.

[–] asyncrosaurus 67 points 1 year ago (13 children)

Web & mobile development took a wrong tern 10 million miles back, and no one wants to turn the car around and admit it.

[–] asyncrosaurus 39 points 1 year ago* (last edited 1 year ago)

Yes, and the people directly contributing to the project have legitimate gripes. Although, the parable of dhh is if you get on an asshole scorpions back, don't be surprised if you get stung. Dudes been an unreasonable prick for nearly 20 years now.

My comments directed at the manufactured outrage from the tooling zealots incapable of having a mature conversation. Or even accept a difference of opinion. The number of comments that start with, "never heard of Turbo, but let me weigh in on why you're an idiot for not liking Typescript. " is very telling...

[–] asyncrosaurus 109 points 1 year ago (18 children)

I continue to be baffled and amused by the complete meltdown of the typescript community over the actions of a single man on a single package. The only people who have legitimate gripes are those that had been actively contributing and whose work was erased. The rest of you are acting absurdly childish. The anger and vitriol being thrown at anyone who disagrees on how to write javascript would make me embarrassed if I was associated or involved in the ts community.

[–] asyncrosaurus 6 points 1 year ago* (last edited 1 year ago)

I find ORMs exist best in a mid-sized project, most valuable in a CQRS context.

For anything small, they massively over complicate the architecture. For the large enterprise systems, they always seem to choke on an already large and complex domain.

So a mid size project, maybe with less than a hundred or so data objects works best with an ORM. In that way, they've also been most productive mainly for the CUD of the CRUD approach. I'd rather write my domain logic with the speed and safety of an ORM during writes, but leverage the flexibility and expressiveness of SQL when I'm crafting efficient read queries.

[–] asyncrosaurus 9 points 1 year ago

Some of us have had to support multiple database targets. So I don't know about changing a database in a running application, but a good abstraction has made it easier to extend support and add clients when we could quickly and easily add new database providerz

[–] asyncrosaurus 2 points 1 year ago (2 children)

I like Blazor and use it exclusively at my work (usually to build the same type of stuff I'd use a HARP approach in a personal prj).

Blazor is awesome, but really is attractive to backend .Net developers more than anyone else. However, Blazor has a bunch of downsides: Blazor Server is too chatty to build scalable public facing webapps. Blazor WASM has a massive initial payload, which makes it slow and heavy.

Also, it just really falls into being overkill for so much stuff on the web. Half the shit I'm paid to build with Blazor would be faster and cheaper with just some htmx. Most SPAs are attempting to build a sand castle with an excavator.

[–] asyncrosaurus -1 points 1 year ago (1 children)

Javascript.

Because my exposure to Typescript is wading through over-engineered and bloated Angular front ends that could easily (and should) be thrown out and re-written in html/ js.

But also because I exclusively write simple shit that doesn't have a build step for the front end, because 90% of the stuff I make gains no benefit from needlessly overly complex front ends.

[–] asyncrosaurus 11 points 1 year ago* (last edited 1 year ago) (4 children)

I'd use what I've been experimenting with exclusively on personal projects: htmx, AlpineJs and Razor Pages on PostgreSQL AKA the HARP stack. Obviously, a hilarious acronym was needed.

Which might sound esoteric and hipster, but I'd contend it's pretty close to how we were building websites for decades before the cult of the SPA took over. For those not in the know, HARP is built with no fe frameworks, everything is rendered server side and html is swapped in the DOM on the fly. Htmx is a very tiny js library that makes backend requests to the server, and renders the returned htmx within the current page. AlpineJs is a client-side js library that acts like a modernized and simplified jQuery. Razor Pages is part of the ASP.NET web framework that runs on .Net, and produces html from Razor templates coded with C#. My professional work is on SQL Server, but I like PostgreSQL as the runner up because I'm not paying mssql out of my own pocket.

I'm wouldn't be concerned with hiring since I'd mostly just need C# developers with some designers. .Net developers are a dime a dozen, and many are seasoned vets with 15+ years experience building with .Net. It's easy to build a career with just C#/.net/asp.net so few of these devs are running around flipping frameworks every few hype cycles.

But I might have just shown my age and bias.

[–] asyncrosaurus 29 points 1 year ago (1 children)

There is no way in hell he would ever post to 4chan.

He made a long weepy post on his site how he would never use Reddit of all places, and how embarrassed he would be if "real world people" ever thought he was on it. He is exactly as insufferable and self righteous as you can imagine.

[–] asyncrosaurus 2 points 1 year ago (1 children)

Counter hot take, I do actually like Blazor but it has limitations due to how immature web assembly still is. It also does not solve the problem of being a big complex platform that isn't needed for small simple apps. Of the half dozen projects I've written in Blazor, I'd personally re-write 3 or so in just Razor Pages with Htmx.

[–] asyncrosaurus 3 points 1 year ago (1 children)

What do you mean going to? Internet Explorer supported VBscript, which was a "competitor" to Javascript. Though being locked to ie was a hindrance to adoption. That, and it was based on vb.

view more: ‹ prev next ›