PanArab

joined 10 months ago
[–] PanArab@lemm.ee 0 points 16 hours ago* (last edited 3 hours ago) (1 children)

It is pretty late for me. Sorry. And thank you for your patience. Repeating it three times helped.

It will be interesting to find out if the resulting binary is the same or not and what’s possible once it matured.

[–] PanArab@lemm.ee 3 points 16 hours ago (1 children)

Apple does give email service for two decades now

[–] PanArab@lemm.ee -1 points 17 hours ago (3 children)

I am not in the mood to read a technical document, but I don’t think the resulting binary/byte code should be different between the two “hello world” programs. But then again, why not?

Without the preview feature enabled, it is not an optional part of the method signature. It specifically looks for a main(String[]) signature.

Ah ha! So that’s what’s going on here. They almost got it right. They had the potential to make a lot of the boilerplate optional or implicit under relevant circumstances, but instead the language has two explicit switchable modes.

Can I write a Java application in “preview feature”?

[–] PanArab@lemm.ee 0 points 18 hours ago* (last edited 18 hours ago) (5 children)

Main method is not public static

It must be somewhere under the hood. Otherwise, it wont be callable and it would require an instance of an object to call. Unless the object here is the Java environment?

No String[] args

They are just optional I'm sure, like C and C++. You still need them to read command line arguments.

All in all, these syntax improvements are welcome. I already moved on to Kotlin for Android development though.

[–] PanArab@lemm.ee 2 points 1 day ago

The Digg bar is why I stopped using Digg

[–] PanArab@lemm.ee 120 points 1 day ago* (last edited 1 day ago) (3 children)

Info Wars might actually become credible

[–] PanArab@lemm.ee 1 points 1 day ago* (last edited 1 day ago)

It is possible to dislike both. For me SmallTalk-like languages are peak. Message passing for life!

[–] PanArab@lemm.ee 3 points 1 day ago (1 children)

My experience with Java over the last 2 decades or so. Shame Android gave it extra life, thankfully Kotlin exists now.

[–] PanArab@lemm.ee 15 points 1 day ago

Microsoft spent billions acquiring Skype only for us to be left with Teams

[–] PanArab@lemm.ee 1 points 3 days ago* (last edited 2 days ago)
view more: next ›