Signatures, be true: domain errors and functional handling in Kotlin

Here’s a function that signs a document: In Kotlin, Unit means the function completes without returning a meaningful value – roughly equivalent to void in Java. Got it? Now, tell me what could go wrong. You can’t.  Yet, the code might be invalid. The signing window might have closed. The database might be down. The…

Read the full article on Kotlin : A concise multiplatform language developed by JetBrains | The JetBrains Blog →

Tags:

No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest Comments

No comments to show.
Privacy Policy·Apps·Tools·Contact