Anthony Accioly on Nostr: "Small" things I highly appreciate about Kotlin coming from Java - Chapter 2 ...
"Small" things I highly appreciate about Kotlin coming from Java - Chapter 2
š¦ššæš¶š»š“ š§š²šŗš½š¹š®šš²š
ššššššāšššš.šššš.š»ššššš³ššš
šššāšššš()ā{
āāāāšššāššššā=ā"š¹šššāš³šš"
āāāāšššāššššš¢ā=āš»ššššš³ššš.ššš ()
āāāāššššššš("š·šššš,ā$šššš!āššššš¢āššā${ššššš¢.ššš¢š¾ššššš}.")
}
https://kotlinlang.org/docs/strings.html#string-templates
No more overusing šššššš.šššššš parameters. No more clunky š¼šššššššµššššš.šššššš. It just works.
#Kotlin #Java #JVM #String #StringInterpolation #StringTemplates #SoftwareDevelopment
š¦ššæš¶š»š“ š§š²šŗš½š¹š®šš²š
ššššššāšššš.šššš.š»ššššš³ššš
šššāšššš()ā{
āāāāšššāššššā=ā"š¹šššāš³šš"
āāāāšššāššššš¢ā=āš»ššššš³ššš.ššš ()
āāāāššššššš("š·šššš,ā$šššš!āššššš¢āššā${ššššš¢.ššš¢š¾ššššš}.")
}
https://kotlinlang.org/docs/strings.html#string-templates
No more overusing šššššš.šššššš parameters. No more clunky š¼šššššššµššššš.šššššš. It just works.
#Kotlin #Java #JVM #String #StringInterpolation #StringTemplates #SoftwareDevelopment