about sort and dictionary

Björn Lindström bkhl at stp.lingfil.uu.se
Thu Nov 24 13:17:10 EST 2005


Magnus Lycka <lycka at carmen.se> writes:

> As I understand it, Ruby's "!" isn't quite like "procedure" in Pascal,
> or "not const" in C/C++, but rather a marker for surprising behaviour,

In my experience, ! is used in Ruby much the same way as it is in
Scheme, signifying that a method/function is called only for side
effects. (Similar to a void function in C.)

-- 
Björn Lindström <bkhl at stp.lingfil.uu.se>
Student of computational linguistics, Uppsala University, Sweden



More information about the Python-list mailing list