Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 14th, 2005, 4:20 PM   #21
stevengs
Professional Programmer
 
stevengs's Avatar
 
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4 stevengs is on a distinguished road
Quote:
Originally Posted by Ooble
Speaking of which, I'd like to see some of the newcomers on the IRC channel. it's at irc://irc.freenode.net/#programmingforums.
was that some sort of challenge, Ooble? Like "Shootout at the IRC Corral"?
__________________
-Steven
"Is this a piece of your brain?" - Basil Fawlty
stevengs is offline   Reply With Quote
Old Jun 14th, 2005, 8:49 PM   #22
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Ummm... sure, why not?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jun 14th, 2005, 9:03 PM   #23
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
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.
Dameon is offline   Reply With Quote
Old Jun 16th, 2005, 10:31 PM   #24
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
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);
uman is offline   Reply With Quote
Old Jun 16th, 2005, 11:29 PM   #25
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 599
Rep Power: 4 Ancient Dragon is on a distinguished road
Quote:
Originally Posted by Ooble
Speaking of which, I'd like to see some of the newcomers on the IRC channel. it's at irc://irc.freenode.net/#programmingforums.
When I click that link I get an error "irs is not a registered protocol". :mad:
Ancient Dragon is offline   Reply With Quote
Old Jun 16th, 2005, 11:33 PM   #26
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
Open up an IRC client, connect to freenode, and then do "/join #programmingforums".
uman is offline   Reply With Quote
Old Jun 17th, 2005, 1:23 AM   #27
melbolt
Professional Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 254
Rep Power: 4 melbolt is on a distinguished road
Quote:
Originally Posted by uman
2) You don't have to declare all your variables at the top of the block!
3) for(int i=0;...) works fine!

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
melbolt is offline   Reply With Quote
Old Jun 17th, 2005, 1:02 PM   #28
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Quote:
Originally Posted by Ancient Dragon
When I click that link I get an error "irs is not a registered protocol". :mad:
It's IRC :p . And you need an IRC client that's registered with your browser for the link to work - otherwise, just do as Uman said.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:41 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC