News for hackers. Stuff that matters.
Re:One Year After Switching from Java to Go: Our Experiences by FrustratedMonky on Wednesday February 19, 2025 @08:16AM (#43101801)
"Annotations are declerative shorthands."

OR. Are annotations a crutch for something that should be in the language.

Just generally, if some tool has to use annotations, then that is indicator of something that should be in the language.

Re:One Year After Switching from Java to Go: Our Experiences by gf000 on Wednesday February 19, 2025 @08:20AM (#43101845)
So which language has native REST endpoints? Session-aware security?

Like, this is just standard metaprogramming, if you don't have it you will just reach for dumber tools like non-language aided code generation.

Re:One Year After Switching from Java to Go: Our Experiences by FrustratedMonky on Wednesday February 19, 2025 @09:15AM (#43102371)
all right, maybe it is a spectrum.

On other end

Type annotations in JavaScript. Just use a language with Types.