All Shows Archives — Chariot Solutions
DevNews 83 - Through a distorted audio channel, we give you Java 8
Note, we're switching to an every-other week
- Java SE 8 officially launched:
- Java Tutorials page on Java 8
- Great features as discussed on this tutorial
- Also examples on the GitHub repo - https://github.com/winterbe/java8-tutorial
- Cool new features include:
- Lambda and functional interfaces (single method with @FunctionalInterface) - lots of built-in ones including ones from Guava
- Extension methods - default methods (real code) for interfaces with the default keyword
- References to methods and constructors with ::
- Predicates - include test(), negate(), nonNull, isNull, isEmpty, etc...
- Functions - single param, return a result, can be chained
- Multiple Inheritance via Suppliers and Consumers
- Enhanced Comparators
- Optionals to wrap optional (nullable) values - to avoid NullPointerException
- Streams - which can be attached to JDK collections and can have filters and sorting applied, can work on match, count, reduce, etc… Parallel streams are possible - i.e. spawn multiple threads
- New Time (Date) API
- Clock - access to current date/time, aware of timezone, can call Clock.systemDefaultZone().millis()
- LocalTime, LocalDate, LocalDateTime, time Zones
- Cool new repeatable annotations
- Much more...
- Increase your productivity by improving your health in 7 mins: 7 min high intensity workout anyone can do
Meet the machines that steal your phones data
Introduction to Apache Avro - serialization processing API that is used by Hadoop tools and that you can use yourself
- Introduction
- Tutorial Part 1
- Tutorial Part 2
- Ken was trying to remember this serialization project for Javascript
Haydle Hackathon Report - Fun with EmberJS
Low energy BlueTooth with new AdaFruit device
Let's talk Android Watches - Android Wear
The post DevNews 83 – Through a distorted audio channel, we give you Java 8 appeared first on Chariot Solutions.