File: goto

package info (click to toggle)
libdb2-ruby 0.5.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,352 kB
  • ctags: 2,743
  • sloc: ansic: 11,156; ruby: 6,199; cpp: 6,064; makefile: 86; sh: 31
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>