排序
generic types and variance in kotlin compared to java
generic types and variance in kotlin compared to java,Have a look at my blog, I really appreciate your feedback, leave a comment and follow if you like :) https://kotlinexpertise.c...
Java may be verbose, but who cares?
Java may be verbose, but who cares?,This article originally appeared on IG's blog After more than 15 years of Java experience, I have tended to brush aside comments about Java's ve...
Save the Optional, stop using isPresent
Save the Optional, stop using isPresent,Most functional programming languages offer a concept called Option or Maybe to deal with the presence or absence of a value, thus avoiding ...
Comparing Spock and JUnit
Comparing Spock and JUnit,JUnit is considered the standard framework to test Java applications. I don't think anybody will challenge its position in the short term. In addition JUn...
Finding Null or Empty String Checks in Java
Finding Null or Empty String Checks in Java,I have a lot of code like this: if( null == myString || ''.equals(myString)) doAThing(); Enter fullscreen mode Exit fullscreen mode The ...
In praise of Vavr’s Option
In praise of Vavr's Option,Null is sometimes considered the billion dollar mistake. One could argue about this forever, but certainly, null has lead to a lot of awful code. Most fu...
Hi, I’m Cody Melthratter
Hi, I'm Cody Melthratter,I have been coding for 5 years. You can find me on GitHub as cmelthratter I live in san jose. I work for Intel I mostly program in these languages: Java. I...
How to Set Up Cucumber Tests for Java
How to Set Up Cucumber Tests for Java,Java cucumber tests have 3 parts. The feature file The step definitions (the 'glue' file(s)) The junit test file The feature file is where the...
Auto Pi Finder or Any Device Really
Auto Pi Finder or Any Device Really,The aim of this is to demonstrate how to automatically find a Pi on a network using an Android application. To understand what is needed, we sho...
Java 8 Functional Interface Cheatsheet
Java 8 Functional Interface Cheatsheet,O'Reilly has a great in-depth article on the functional interface in Java 8. Here's a quick cheat sheet to keep track of the main types, what...
Do you know Project Lombok?
Do you know Project Lombok?,I've been using and appreciating Lombok for some time. It's one of the first dependencies I drop into my Java projects. This article is just about makin...