Team Blog
  • TouK
  • Portfolio
  • Careers
  • Talks
  • Nussknacker
Team Blog
  • TouK
  • Portfolio
  • Careers
  • Talks
  • Nussknacker

Browsing Tag

kotlin

11 posts
DDevelopment & Design
Read More
  • 6 minute read

The road to Kotlin Symbol Processing

  • byPiotr Jagielski
  • August 16, 2022
There’s a long back story to Java annotations. Introduced in 2004 for Java 5 and supported by the javac compiler since Java 6 in 2002, Read more
DDevelopment & Design

Announcing Krush – idiomatic persistence layer for Kotlin, based on Exposed

  • byPiotr Jagielski
  • December 30, 2019
We've released a persistence library for Kotlin, you can find it on our Github. It’s a JPA-to-Exposed SQL DSL generator. Read more
DDevelopment & Design

How we use Kotlin with Exposed at TouK

  • byPiotr Jagielski
  • February 12, 2019
Why Kotlin? At TouK, we try to early adopt technologies. We don’t have a starter project skeleton that is reused in every new project, we want to try something that fits the project needs, even if it’s not that popular yet. We tried Kotlin first it mid 2016, right after reaching 1.0.2 version Read more
DDevelopment & Design

Testing Kotlin with Spock Part 3 – Interface default method

  • byDominik Przybysz
  • September 27, 2018
Kotlin allows you to put method implementation in an interface. The same mechanism can be found in Java interfaces as default methods (and also Groovy Read more
DDevelopment & Design

Testing Kotlin with Spock Part 2 – Enum with instance method

  • byDominik Przybysz
  • May 28, 2018
The enum class with instance method in Kotlin is quite similar to its Java version, but they are look a bit different in the bytecode. Let's see the difference by writing some tests using Spock.What do we want to test?Let's see the code that we want to... Read more
DDevelopment & Design

When distributed monolith may work for you

  • byPiotr Jagielski
  • May 14, 2018
The Distributed Monolith term surely has a bad press. When you read through blogs and conference talks I’m sure you’d better build a “traditional” monolith Read more
DDevelopment & Design

Testing Kotlin with Spock Part 1 – Object

  • byDominik Przybysz
  • March 13, 2018
The object keyword in Kotlin creates singleton in a very convenient way. It can be used for example as a state of an operation. Spock Read more
DDevelopment & Design

Hamming Error Correction with Kotlin – part 1

  • byGrzegorz Piwowarek
  • October 17, 2017
Hamming code is one of the Computer Science/Telecommunication classics. In this article, we’ll revisit the topic and implement a stateless Hamming(7,4) encoder using Kotlin. Hamming Read more
DDevelopment & Design

Using Kotlin extensions in Groovy

  • byDominik Przybysz
  • August 24, 2017
Extensions in Kotlin and GroovyKotlin and Groovy have mechanisms for extending existing classes without using inheritance or decorators. In both languages, the mechanisms are called extension methods. Their source code looks different, but generated by... Read more
DDevelopment & Design

Kotlin’s extensions for each class

  • byDominik Przybysz
  • November 14, 2015
Extensions in Kotlin are very powerful mechanism. It allows for add any method to any of existing classes. Each instance has (as in Java) equals, toString and hashCode methods, but there is much more in Kotlin.Example classesLet's define some simple cl... Read more
Team Blog
© TouK sp. z o.o. s.k.a. 2016-2023