News for hackers. Stuff that matters.
Re:Astonishing Performance of .NET 5 by mdpm on Thursday November 12, 2020 @09:32AM (#25070244)
Low ceremony? Complexity in real world applications requires complexity in the frameworks that address them. Users will be more disappointed by simplicity that leaves them addressing complexity without guardrails, conventions, and tooling support.

If your view of low ceremony is matching HTTP verbs to methods, you may happily code your own against the HTTP primitives; if you want a framework that abstracts the complexity and provides a shiny-happy path, you may have to allow for some ceremony. The tooling is the antidote to this.

I think the place you trip up here is in not wanting to use a batteries included approach, while using a framework that makes the necessary abstraction/complexity tradeoffs for projects of mid to large scale. The appropriate tradeoffs _cannot_ be one size fits all.

F#'s support is tricky, as the number of users here is dwarfed by those in C#; and although .NET supports this language diversity, there are no direct idiomatic 'conversions' possible between C# and F# in many cases. This multiplies the effort of providing documentation and examples. I too would like to see it treated as a first class citizen, and for that - the code is OSS.

Re:Astonishing Performance of .NET 5 by rishav_sharan on Thursday November 12, 2020 @10:12AM (#25070692)
> I think the place you trip up here is in not wanting to use a batteries included approach, while using a framework that makes the necessary abstraction/complexity tradeoffs for projects of mid to large scale

You have hit the core of my issue here. I am more used to the node-express or golang's way of working where you start off with the smallest and simplest scaffolding and then add on the bits that you need. Rails and ASP .Net are not something I want to use for my small time projects.

Its probably unreasonable for me to expect .Net to be something completely different from what it really is, but I really hope that .Net grows up to enable other way of using it.

Re:Astonishing Performance of .NET 5 by manigandham on Thursday November 12, 2020 @12:33PM (#25072233)
(ASP).NET is also like that. The default templates just include more to start with since the platform is designed to scale to many scenarios and features.

You can trim out a lot. Take a look at the techempower benchmarks to see examples of different usage of the framework.

Re:Astonishing Performance of .NET 5 by christophilus on Thursday November 12, 2020 @11:41AM (#25071624)
> Complexity in real world applications requires complexity in the frameworks that address them.

Does it? The frameworks I use today are really, really simple. Polka on Node and Go + a few helper libraries. It's all really simple and clear what's going on, and I can solve problems of just about any complexity I've come across with just those basic tools.

Re:Astonishing Performance of .NET 5 by mdpm on Thursday November 12, 2020 @12:03PM (#25071853)
XSRF, rate limiting, permissions/RBAC, feature toggles/TIP, analytics, profiling, silly examples like recent samesite changes - Just a few examples, and that's without touching the developer tooling.

As each of these orthogonal concerns starts drifting in, applications become more and more complex as they 'tack on' support for these in code, rather than having structures in place to allow for extensions and modifications.

Abstractions always have their cost. Complexity exists in the problem domain of the web, and always will. .NET Core is generally well architected in response to a long experience in enterprise and developer concerns. It's not a magical answer to every domain's requirements, but it's generally a damn good compromise ime.

Re:Astonishing Performance of .NET 5 by christophilus on Thursday November 12, 2020 @12:53PM (#25072521)
Every one of those things is just composable middleware in the Node/Go stacks, and I think in Phoenix and most FP stacks. Middleware composition seems like the right approach to me.
Re:Astonishing Performance of .NET 5 by mdpm on Friday November 13, 2020 @05:36AM (#25080960)
.NET Core shares your opinion. Many of these are just registered/configured by default.
Re:Astonishing Performance of .NET 5 by jtdev on Thursday November 12, 2020 @10:17AM (#25070747)
> “ Complexity in real world applications requires complexity in the frameworks that address them.”

This is a dangerous way to think about complexity management.

Re:Astonishing Performance of .NET 5 by manigandham on Thursday November 12, 2020 @11:00AM (#25071201)
Why is it dangerous?
Re:Astonishing Performance of .NET 5 by mdpm on Thursday November 12, 2020 @10:56AM (#25071153)
This falls under the principle of "Complexity has to go somewhere".