Timeline for Should I use exceptions to control the range of parameters in Python?
Current License: CC BY-SA 3.0
        7 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 23, 2015 at 23:31 | history | tweeted | twitter.com/#!/StackProgrammer/status/558768895608102913 | ||
| Jan 23, 2015 at 3:00 | answer | added | Rufflewind | timeline score: 5 | |
| Jan 23, 2015 at 2:57 | comment | added | dwjohnston | I guess what I'm getting at, is that it seems inconvenient to have a bunch of exception statements at the start of every method. | |
| Jan 23, 2015 at 2:49 | comment | added | Robert Harvey | The alternative is returning an error code, or a boolean success value. Exceptions and error codes are generally the two ways one would do this. Exceptions are probably more convenient. | |
| Jan 23, 2015 at 2:28 | comment | added | dwjohnston | @Rufflewind Not using exceptions at all? | |
| Jan 23, 2015 at 2:02 | comment | added | Rufflewind | What's the alternative? | |
| Jan 23, 2015 at 1:57 | history | asked | dwjohnston | CC BY-SA 3.0 |