![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 | |
|
Professional Programmer
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4
![]() |
Quote:
![]()
__________________
-Steven "Is this a piece of your brain?" - Basil Fawlty |
|
|
|
|
|
|
#22 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Ummm... sure, why not?
|
|
|
|
|
|
#23 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
I believe exceptions are just dandy for the case that isn't supposed to happen. When writing some code, I am grateful that I get meaningful exceptions that tell me what's f**king up...these are provided by the .Net framework and by myself. Ot's convenient to have it break when I throw it so I can diagnose it. Pretty much I throw a lot more than I catch
Nope. exceptions are not supposed to be a regular occurence. |
|
|
|
|
|
#24 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
I would also like to point out that in a very great deal of the classes there is NO private data or encapsulation. This leads to fun things like this: (this is actual code, variable names have been changed to protect the guilty)
object.widgets[object.widget_num] = foo; object.widget_num++; instead of the much more obvious object.add_widget(foo); |
|
|
|
|
|
#25 | |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 599
Rep Power: 4
![]() |
Quote:
|
|
|
|
|
|
|
#26 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
Open up an IRC client, connect to freenode, and then do "/join #programmingforums".
|
|
|
|
|
|
#27 | |
|
Professional Programmer
Join Date: Feb 2005
Location: PA, USA
Posts: 254
Rep Power: 4
![]() |
Quote:
i don't know about you but I don't like to search around for where something was declared, i know it's not a problem in .NET with the "goto definition" but maybe we won't always be viewing the code through that. i like to have all my variable declarations organized. i do agree with the for loops thing though, since you know right where to find it.
__________________
I have never let my schooling interfere with my education. -Mark Twain- Xbox live gamertag: melbolt |
|
|
|
|
|
|
#28 | |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|