days
-3
-6
hours
-2
-3
minutes
-2
-3
seconds
0
-7
search

Peter Verhas

Peter Verhas
Peter Verhas is a Senior Software Architect at EPAM Switzerland. He has more than ten years of Java development experience and more than twenty years with C and other programming languages. He is the author of the books Java Projects, Mastering Java 9 and Programming Java 9 by Examples. He regularly blogs in English (at DZONE, Java Code Geeks and his own blog Javax0.wordpress.com). Peter has a Master’s degree in Electrical Engineering and studied at TU Budapest, TU Wien, and TU Delft. He worked for companies like Digital Equipment Corporation, T-Mobile supporting telecom and finance industries and he was a teacher at TU Budapest for a short period. Peter also publishes open source programs on github.com/verhas and is the author of the ScriptBasic interpreter.

All Posts by this author

Why value types are important

The new ValueType in Java

Java, as it is now, has two different types of data—primitives and objects. In the coming releases, there will be a new type that is called ValueType. For everyday programming, there should be no difference between objects and value types but under the hood they are really different. They are like objects but work as if they were primitives. The second part of the sentence means: they are effective. Other languages have this type of data handling, though they usually do not call them with this name.