Global Feed Post Login
Replying to Avatar Leo Wandersleb

You blame JS but I was working mainly with Java for a long time and things like

```

Map eventCounter = new ConcurrentHashMap()

```

would be totally normal in an Android app and had little room for simplification. Gladly Kotlin (or more modern Java) is less verbose but with this simple assignment already over 100 chars long, I'm happy about any indentation I can skip.

Avatar
PABLOF7z 2y ago

ough, that's painfully long, yeah

I personally would break it into if the language allows it

```

Map eventCounter;

eventCounter = new ConcurrentHashMap();

```

Reply to this note

Please Login to reply.

Discussion

No replies yet.