File: goto

package info (click to toggle)
ruby-bdb 0.6.5-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,028 kB
  • sloc: ansic: 13,984; cpp: 8,735; ruby: 7,869; sh: 47; makefile: 9
file content (16 lines) | stat: -rw-r--r-- 489 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<entry index='g'>
<name>goto</name>
<reference>exception</reference>
<reference>ruby</reference>
<reference>non-local exit</reference>
<content>
    One of which ((Ruby)) doesn't have.

    Why ((|goto|))'s absent is not for the policy "it should not be anywhere,"
    but for the fact "it's troublesome in implementation."
    In place of ((|goto|)), ((|catch|))/((|throw|))
    or the ((exception|Exception)) is used\ in ((Ruby)).

    See also "((Non-Local Exit))."
</content>
</entry>