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

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 1 day ago

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 1 day ago
  1. I hope there is no war with Iran
  2. If there must be a war with Iran, then I hope Col. Wilkerson is right and it ends up being even worse than Vietnam
[-] PanArab@lemm.ee -1 points 1 day ago* (last edited 1 day ago)

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 1 points 2 days ago

The Democrats just have unsuccessful career criminals.

[-] PanArab@lemm.ee 1 points 2 days ago* (last edited 2 days ago)

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

[-] PanArab@lemm.ee 1 points 3 days ago

A highly advanced air force is bombing refugee tents. Is this Western Civilization?

[-] PanArab@lemm.ee 2 points 3 days ago

self-absorbed leftists

liberals are leftists...?

where do I start...?

[-] PanArab@lemm.ee 3 points 3 days ago

But I bet he knows all of them

[-] PanArab@lemm.ee 3 points 3 days ago

Enabling a genocide had absolutely nothing to do with it. Putting that aside for a moment, do you honestly think Lemmy has the ability to cost Democrats 10 million votes? Maybe there's a reason Harris didn't win a single delegate that last time voters had a say.

[-] PanArab@lemm.ee 2 points 4 days ago

Maybe there’s money in starting a coffee exporting business to the US…

28
submitted 1 week ago by PanArab@lemm.ee to c/palestine@lemm.ee
44
submitted 1 week ago by PanArab@lemm.ee to c/palestine@lemm.ee
7
submitted 1 week ago by PanArab@lemm.ee to c/palestine@lemm.ee
48
submitted 1 week ago by PanArab@lemm.ee to c/israelicrimes@lemm.ee
20
submitted 1 week ago by PanArab@lemm.ee to c/palestine@lemm.ee
1
submitted 1 week ago by PanArab@lemm.ee to c/arabs@lemm.ee
3
submitted 1 week ago by PanArab@lemm.ee to c/palestine@lemm.ee
19
submitted 1 week ago by PanArab@lemm.ee to c/israelicrimes@lemm.ee
4
submitted 1 week ago by PanArab@lemm.ee to c/mena@lemm.ee
8
submitted 1 week ago by PanArab@lemm.ee to c/saudi@lemm.ee
8
submitted 1 week ago by PanArab@lemm.ee to c/palestine@lemm.ee
3
submitted 1 week ago by PanArab@lemm.ee to c/mena@lemm.ee
view more: ‹ prev next ›

PanArab

joined 10 months ago
MODERATOR OF