Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Jun 3rd, 2005, 5:12 PM   #31
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 nnxion
You should write your own IRC client, rfc 1459 will help.
I prefer not to reinvent the wheel. Imagine if we all said stuff like that... "I need to create a presentation on our current budget for tomorrow's board meeting." "Oh, yeah, just whip an app up with GTK and the SDL - have fun!"
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jun 3rd, 2005, 6:38 PM   #32
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 244
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
I think it's good, here's how i look at it.

if it does exactly what you want it to and works efficiently in every environment in which you care to have it work in, then it's perfect code.

requirements!

it doesn't matter if it's the most efficient way to do it, if you want efficiency then you better do everything in assembly the loooooooooooooong way.

if your program meets the requirements perfectly, then it is a perfect program in my opinion.


it's like we say at work, "hey it works, it's good"

i do reccommend making things easier on yourself whenever possible though, time can be an issue, it's nice to investigate some useful namespaces and member functions.

looks good to me..
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt

Last edited by melbolt; Jun 3rd, 2005 at 6:44 PM.
melbolt is offline   Reply With Quote
Old Jun 3rd, 2005, 7:32 PM   #33
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Doing everything in assembler the long ways doesn't produce efficiency. Even if one is talking ultimate performance, most coders have no inkling of how to achieve it, in assembler or otherwise. Melbolt's comment regarding meeting requirements is right on. Unfortunately, one of the hardest parts of the job is SETTING appropriate requirements and the other is VERIFYING if they've been met. If you can achieve both those, then, yes, it's good. Not perfect, but good. Once it's good, if it's any good, it has to last. An absolutely huge amount of the money spent on the code is spent AFTER it's been judged good. Dedicate yourself to "good", then "maintainable". Anything else is amateurish. Not a sin. Just not professional. "Not Good" is the sin, so learn to spot that stuff. You may not realize it, if your career revolves around desktop utilities and apps, but much of the code produced in the market today can be actually unsafe or life-threatening to the end user. Look to your code to be "good". If you do, accolades will follow, no need to seek them out.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei 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 9:31 AM.

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