News for hackers. Stuff that matters.
Re:The Era of Visual Studio Code by dragonwriter on Tuesday September 22, 2020 @11:14PM (#24562557)
> Yeah but "Hello World" in actual java is a main class and a quick write to stdout, like most any other normal (programming, not scripting) language.

Scripting languages are programming languages, and a class with a method is only typical of a narrow class of languages (most of which that aren't Java are specifically designed to closely follow Java); leaving aside those programming languages typically called “scripting” languages, in C++ it is just a function, just like C; D is pretty similar (as are most procedural languages, including those like C++ that also support class-based OOP without being obsessive about it, and also most impure functional languages.)

In Haskell it's just: main = putStrLn "Hello, World!"

Re:The Era of Visual Studio Code by tomc1985 on Tuesday September 22, 2020 @11:31PM (#24562645)
My point was that Java's hello world is comparable to most other language, and that hello world in Android is a poor example
Re:The Era of Visual Studio Code by dheera on Wednesday September 23, 2020 @06:59PM (#24573244)
Well here's GTK hello world in freaking C. One file that you can gcc and run "./a.out". Not 79 files with a build system that breaks every time you hit "upgrade", and which requires me to install gigabytes worth of SDK API bloat and agree to 10 different license agreements. Want a free build system that works for this for every version of Linux in the past decade and probably the coming decade? All you need is ONE "Makefile" and you're done.

https://developer.gnome.org/gtk3/stable/gtk-getting-started....

Any higher level language and ecosystem than C should be less verbose and less involved than this. Otherwise, what's the point of being higher level?