←back to thread

Next.js is infuriating

(blog.meca.sh)
1033 points Bogdanp | 2 comments | | HN request time: 0s | source
Show context
pjmlp ◴[] No.45100415[source]
I don't get these kind of complaints, coming from Java and .NET web frameworks, Next,js is the only sane frontend framework followed by Angular.

Saying this as someone doing Web related development since 1998, glory days of Perl and CGIs.

replies(3): >>45100468 #>>45100541 #>>45101200 #
Etheryte ◴[] No.45100468[source]
I don't think the post is an unreasonable complaint. The fact that you have to even think about how to get logs out of your application is insane, never mind all the hoops you need here. Logging should be a first class citizen in anything that goes to production.
replies(1): >>45100741 #
pjmlp ◴[] No.45100741[source]
Interesting, because that is hardly so in most frameworks, logging requires additional libraries and configuration almost everywhere.
replies(1): >>45102727 #
Etheryte ◴[] No.45102727[source]
In most languages and frameworks logging is as simple as import, initialize, done. Here it's far from it.
replies(1): >>45102756 #
pjmlp ◴[] No.45102756[source]
Really, which ones?

Because anything Java, .NET and Python, it certainly requires configuration and related infrastructure.

replies(2): >>45102988 #>>45107264 #
1. Summershard ◴[] No.45107264{4}[source]
> .NET

I think you haven't used .NET in a while. Nowadays, logging is absurdly easy to configure. Heck, you usually don't even need to configure it, because the basics are already included in most templates. You just use the Logger class and it works.

The only time you have to spend more than 30 minutes on it is when you use some external logging libraries. And most of them are quite sane and simple to use, because it's so easy to create a custom logging provider.

replies(1): >>45113150 #
2. pjmlp ◴[] No.45113150[source]
I use it almost every day.

Java, .NET and nodejs are all over the place around here.

The point was without configuration.

Logger class doesn't do the work for production monitoring, without additional configuration so that its output appears on the necessary production dashboards.