Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
Explore the power of Kotlin and Spring Boot combined together to create web applications within a very few lines of code.
#kotlin #spring #springboot
https://spring.io/guides/tutorials/spring-boot-kotlin/
You love Kotlin's inherent support for creating DSLs? Let's take a look at a few different approaches you can take when building a domain-specific language.
#kotlin #dsl #middle
https://dzone.com/articles/kotlin-dsl-basics
Kotlin is popular, Kotlin is trendy. Kotlin gives you compile-time null-safety and less boilerplate. But is Kotlin better than Java? Check this interesting story of a project being written twice with a lot of evident examples and consider keeping them in mind.
#java #kotlin #middle
https://allegro.tech/2018/05/From-Java-to-Kotlin-and-Back-Again.html
How often have you been faced with declaring entity instances of an extensive data model? You’ve been likely using some builders or, even worse, special utility classes to fill the default values under the hood. How many overridden methods have you had? If these questions stir up nothing but negative feelings, this article is for you.
#kotlin #dsl #middle #senior
https://www.javacodegeeks.com/2018/07/kotlin-dsl-theory-practice.html
MongoDB’s dynamic schema is powerful and challenging at the same time. This post shows how the development with MongoDB can benefit from Kotlin and which patterns turned out to be useful in practice. You will also dig into the best practices for coding and schema design.
#kotlin #mongodb #db
https://blog.philipphauer.de/kotlin-mongodb-perfect-match/
Immutable Data Structures in Java
As part of some coding interviews, the topic of immutability sometimes comes up. There seems to be a bit of a misunderstanding on the concept of immutability, where developers often believe that having a ‘final’ reference is enough to make an object immutable. This blogpost dives a bit deeper in immutable references and immutable data structures. Take a look!
#java #immutability #kotlin #scala #junior #middle
https://www.jworks.io/immutable-data-structures-in-java/
Migrating from Lombok to Kotlin
As a Java developer, one of the most heard complaints about working Java is the verbosity of the language. One of the main areas where this verbosity really shows up is in the area of data classes.
Since this is such a common issue, several solutions have been created, Lombok being to the most well known. In this guide you will see how to seamlessly go from using Lombok to Kotlin instead. Check it out!
#java #lombok #kotlin
https://www.jworks.io/migrating-from-lombok-to-kotlin/