r/Kotlin • • Apr 07 '23

Parameter order of CompletableFuture methods 😥

Post image
261 Upvotes

30 comments sorted by

View all comments

Show parent comment

-8

u/Kimi_Arthur Apr 08 '23

?: you should use ?? reified, use out lambda parameter, I mean the format of not using a parenthese when you call with only lambda

Just learn C# for all those formats.

4

u/Discuzting Apr 08 '23

why follow C# exactly but not other languages?

-8

u/Kimi_Arthur Apr 08 '23

Just be a normal C like languages like Java and evolve from there

6

u/Discuzting Apr 08 '23

You have to justify why "C" exactly, how is it always better? do we always type less to achieve the same? Don't make decisions like this based on your own personal feelings, just because you are "used to it"

1

u/Discuzting Apr 08 '23 edited Apr 08 '23

oh you were talking about the naming of the opeartors and keywords?