Skip to content

Instantly share code, notes, and snippets.

Why you should switch to Kotlin

  1. Low cost of transition

    • You can continue using Maven (unlike in Scala, where Maven support is really bad and you eventually have to switch to sbt)

    • Kotlin and Java files can co-exist in the same project.

    • In IntelliJ, when you paste Java code into a Kotlin file, the IDE converts the code for you on the fly. (The conversion is not perfect. But, still).

@tfga
tfga / colorizeTomcat
Last active June 12, 2023 18:57 — forked from ElMesa/taillog.sh
Colorize logs
#!/usr/bin/env bash
#
# Usage:
#
# catalina.sh run 2>&1 | colorizeTomcat
# tail -200 catalina.out | colorizeTomcat
#
# Previous versions:
#