Lewis Coosner
Escaping Object References in Java
Escaping object references can become an issue with concurrent running threads.
Are Floats Faster Than Doubles in Java?
How do we choose a float data type over a double to represent a value? And once we’ve chosen one over the other, how will it affect the speed of our application? Is a float faster than a double, or vice versa?
Comparing Floating Point Numbers in Java
Lewis explains why you should never compare floating point numbers for equality.
Binary Representation of Floating Point Numbers in Java
A quick overview of the primitive floating point types in Java, and how to print the mantissa and exponent.
Floating Point Numbers in Java
Lewis looks at how floating point numbers are represented in computer memory, and introduces the problem of quantitization error.
Integral Number Representation in Java
Lewis explains how integral numbers are represented in computer memory. Java has four primitive integral data types.
Representation of Numbers in Computer Memory
Programmers need to understand how numbers are represented in computer memory. This knowledge is useful during debugging. Lewis starts with a recap of how positional numbering works.
Default, Static and Private Methods in Java Interfaces
Lewis discusses default, static and private methods in Java interfaces.
New in Java: Statements before super(…)
Lewis introduces a new enhancement in Java: statements before super()