Stephan Schröder
08/04/2023, 12:51 PMLanguage files blank comment code
---------------------------------------------------
Java 80 1028 333 4075 before
Kotlin 80 643 330 4185 after
so we see a collapse of blank lines by 35%, but why did the codelines not decrease, despite my feeling that kotlin code is more compact than Java code?
I think it's because of my love of the trailing comma 😅
A lot of parameter lists went from e.g.
public String getAccessToken(byte[] pkcs12, String keyStorePw, String privateKeyPw, String fd) {
to looking like this:
fun getAccessToken(
pkcs12: ByteArray,
keyStorePw: String,
privateKeyPw: String,
fd: String,
): String {
thanksforallthefish
08/04/2023, 12:56 PMCLOVIS
08/04/2023, 1:33 PMKlitos Kyriacou
08/04/2023, 1:39 PMhho
08/04/2023, 2:48 PMStephan Schröder
08/04/2023, 2:51 PMKlitos Kyriacou
08/04/2023, 3:42 PM