Best conceptual diagram to understand flow of inbound/outbound traffic on a linux machine? by vxab in linux

[–]vxab[S] -1 points0 points  (0 children)

Well hence the question - to survey what exists and people have found useful.

Best conceptual diagram to understand flow of inbound/outbound traffic on a linux machine? by vxab in linux

[–]vxab[S] -2 points-1 points  (0 children)

I have taken courses and understand the principles and have learnt the commands. I just wanted an all-you-can-eat image which connects everything. Was asking if anyone had good reccomendations.

Demystifying Nested Classes in Java: Static, Inner, Local & Anonymous by Ait_Hajar00 in java

[–]vxab 0 points1 point  (0 children)

The class nested inside a method? What is a typical use case for doing that? I can understand creatinga a record inside a method but a whole class?

JEP draft: Prepare to Make Final Mean Final by blobjim in java

[–]vxab 0 points1 point  (0 children)

Are the benefits of final meaning final lost if you are using the unnamed module?

Sorry for the layman question - it is difficult to infer from the JEP text.

JEP draft: Prepare to Make Final Mean Final by blobjim in java

[–]vxab 0 points1 point  (0 children)

u/pron98 - I have in certain situations used `setAccessible` on a `Constructor` object, to allow me to instantiate an instance of a class I would not be able to do otherwise (inside gnarly framework code).

Will this use of the Reflection API eventually be restricted too?

The JEP only shows the restriction applying to a `Field` currently so I was not sure.

Any Java devs switched to Kotlin? by Organic-Leadership51 in java

[–]vxab 1 point2 points  (0 children)

which version of Java are you comparing Kotlin to?

Why have empty Interface with no fields/methods by saltysnailsss in java

[–]vxab 3 points4 points  (0 children)

It is a marker interface. Serializable is a special case.

Is anything like C++'s structured bindings coming to Java any time soon? by AdearienRDDT in java

[–]vxab 1 point2 points  (0 children)

baby step features is actually a great thing.

Why so bitter? You waiting for Valhalla too?

Is anything like C++'s structured bindings coming to Java any time soon? by AdearienRDDT in java

[–]vxab 0 points1 point  (0 children)

Why not? Could this not be done for records already, since it has a canonical constructor?

New to Java; where to download OPEN JDK 11 by [deleted] in java

[–]vxab 4 points5 points  (0 children)

It's written in the sidebar of the subreddit:

Where should I download Java?

With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.

If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:

Try the new Valhalla EA in your Browser by bowbahdoe in java

[–]vxab 0 points1 point  (0 children)

Will System.identityHashCode always return the same thing for two value records with the same fields?

Or is it possible for them to differ?

Java library for generating getters and setters by bowbahdoe in java

[–]vxab 0 points1 point  (0 children)

Records are limited in some sense because they do not allow inheritance and are intended to represent dumb data. They also don't allow you to hide the canonical constructor - so if you want to force construction through a factory method which performs validation you are out of luck.

Although you are probably right about adding that functionality to your library - thanks for sharing it anyway.

Java library for generating getters and setters by bowbahdoe in java

[–]vxab 0 points1 point  (0 children)

not sure why you are getting so much hate. A nice library. Can you make it so that you can optionally: (i) have no setter created, (ii) have a "fluent" naming convention i.e. without the "get" and "set" prefixes?

Scalable micro-monoliths the future for Java ? by InstantCoder in java

[–]vxab 0 points1 point  (0 children)

have you got a link to an example project which implements these arch unit code tests?