File: goto

package info (click to toggle)
libdb-ruby 0.6.5-6
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,612 kB
  • ctags: 3,979
  • sloc: ansic: 13,984; cpp: 8,739; ruby: 7,864; sh: 47; makefile: 8
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>