try/catchにはエラーハンドリング以外にも強力な裏の使い方があるらしいですが、知ってる人いますか?
The power of the try/catch construct lies in the ability to unwind a deeply nested computation immediately to a much higher level in the stack of calling functions. There are situations where no error has occurred, but the ability to unwind the stack and pass a value to a higher level is desirable. Julia provides the rethrow, backtrace, catch_backtrace and current_exceptions functions for more advanced error handling.
https://docs.julialang.org/en/v1/manual/control-flow/#The-try/catch-statement
で、しつもんはなんでしょうか
回答1件
あなたの回答
tips
プレビュー