Tricks with var and anonymous classes (that you should never use at work)
Explores Java's 'var' type inference for anonymous classes, enabling ad-hoc fields and methods, but warns against production use.
Explores Java's 'var' type inference for anonymous classes, enabling ad-hoc fields and methods, but warns against production use.
Explores the new 'var' keyword for local-variable type inference in Java 10, covering its usage, limitations, and impact on code readability.
A follow-up discussion on Swift type inference, emphasizing clear naming and predictable return types for code clarity.
Expanded thoughts on Swift's type inference for clean coding, emphasizing making return types unambiguous.
Explores when to use explicit type annotations vs type inference in Swift for cleaner, more readable code.
Explores when to use explicit type annotations vs. type inference in Swift for cleaner, more readable code.
Explores two key JIT compiler optimizations in Google's Unladen Swallow project for Python, focusing on type feedback and specialized function calls.
A developer details a Java compiler bug with generic type inference in static factory methods and provides a workaround.