Besides lambdas expressions, Java 8 introduced another language syntax change in the form of a new operator, :: (double colon), to create so-called method references. Even though I talked about and used method references in earlier articles, it’s time to take a closer look.
The first version of my Calibre export tool got released today!
Swift is quite a flexible language, providing you with many tools to modify and augment it as you seem fit. One of these augmentations is the support for custom or overloaded operators.
Setting variables at build-time can provide valuable metadata to our application that wasn’t available when writing the code or even at runtime. We can control feature-flags, or build information, like a version number, without updating the Go-code constantly.
Even though interfaces and abstract classes have many similarities at first look, especially after introducing default methods, they have different use-cases and capabilities.