https://kotlinlang.org logo
#announcements
Title
# announcements
m

matej

11/16/2017, 1:15 PM
That moment when you're going back and forth between Kotlin and Java code and spend 10 seconds staring at it wondering why the IDE is complaining that it
Cannot resolve symbol 'val'
, only to realize you're in a Java class.
😬 9
c

Czar

11/16/2017, 2:05 PM
next action you usually perform: press
Alt+Ctrl+Shift+K
m

matej

11/16/2017, 2:09 PM
I'd love to do that, but in a 10 year old code base of roughly 150k LOC that has seen at least 6 devs come and go over the years, believe me, there's some non-ko(t)sher code and interaction going on that wouldn't convert well automatically. I gotta pick my battles and not break what's working, until time comes to modify it for some product development reason.
1
c

Czar

11/16/2017, 2:19 PM
I feel your pain (I'm dealing with 1 000 000+ LOC and couple of dozens of devs) but at least we have the codebase structured such so that teams do not touch each other's code too much. So that magic shortcut is quite frequently used by my team 🙂 Of course it involves some manual fine-tuning, but that's okay 🙂
3 Views