soc.me · Apr 28, 2018
Language Design: Unified Condition Expressions – Exceptions
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
A reasonable question that might be asked is whether this design can be extended to also handle thrown exceptions, and whether such an extension could completely replace the try-catch-finally idiom. One language that has done something similar is Ocaml, which has extended its pattern matching syntax/semantics . One option might be something along the lines of if readColorFromUri(location) //…
Read on /languages/unified-condition-expressions-exceptions.html ↗
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.