[Newbies] RE: Newbie: Error Checking in Dynamically typed Language

2006-12-09 Thread Jerome Peace
>[Newbies] Newbie: Error Checking in Dynamically typed Language >Aditya Siram aditya_siram at hotmail.com >Sun Dec 10 03:22:09 UTC 2006 wrote: >Hi all, >This is my first time working with a dynamically typed environment and my >first instinct is to error check all arguments. For example suppose

[Newbies] Newbie: Error Checking in Dynamically typed Language

2006-12-09 Thread Aditya Siram
Hi all, This is my first time working with a dynamically typed environment and my first instinct is to error check all arguments. For example suppose I want to create an object to represent an octet in an IP address (a number between 0 and 256) I would do something like this: Object subclass: