Author Topic: For my fellow programmers
Lanacan 
Title: Random, Crazy, Mental....
Posts: 23,360
Registered: Feb 19, '02
Extended Info (if available)
Real Post Cnt: 23,026
User ID: 647,740
Subject: For my fellow programmers

 

-----signature-----
(none)
Link to this post
Cao_Ren 
Title: Archmaster
Posts: 15,733
Registered: Jul 13, '01
Extended Info (if available)
Real Post Cnt: 15,446
User ID: 248,745
Subject: For my fellow programmers
Yup.

 

-----signature-----
Overlord of Wei-Britain
"Woooo, threesome with me, Cao, & Lynea!" -Poit-Narf
Link to this post
Steelwind_Oo 
Title: Lurking Oo
Posts: 32,879
Registered: Sep 30, '00
Extended Info (if available)
Real Post Cnt: 31,007
User ID: 46,829
Subject: For my fellow programmers
Very accurate. This is why I try so hard to document and use some kind of standard even though I am mostly a solo programmer. Someone always ends up looking at your code eventually. Heck I've looked back on some of my own older code and felt that way, lol.

 

-----signature-----
'God is an imaginary friend for grownups.', Walter Crewes (Morgan Freeman), The Big Bounce
Don't be afraid to ask dumb questions they're easier to handle than dumb mistakes!
Xbox 360 Gamer Tag: SteelwindOo
e93% a53% s33% k13%
Link to this post
Ah-Schoo 
Title: Fuzzy Caterpillar of Friendliness
Posts: 71,317
Registered: Aug 11, '00
Extended Info (if available)
Real Post Cnt: 68,974
User ID: 39,247
Subject: For my fellow programmers
Cao_Ren posted:
Yup.

 

-----signature-----
.
Opinion = fact. Anecdote = proof. Political label more important than either of those.
Welcome to ACF, where debate goes to die.
.
"fascist totalitarian secular progressive Zionist intellectually challenged Christian puppets." - Aerlinthina
Link to this post
Cawlin 
Posts: 20,754
Registered: Feb 22, '05
Extended Info (if available)
Real Post Cnt: 20,667
User ID: 1,030,445
Subject: For my fellow programmers
It frustrates me that programmers all are aware of this sort of assfoolery but all still staunchly refuse to accept standards for documentation and code annotation and so forth... plain

It's like all programmers hate the siht out of reading other peoples' code, but want to create code themselves that every other programmer will hate the siht out of reading too...

 

-----signature-----
If ignorance were painful, half the posters here would be on morphine drips.
Everyone playing WoW knows everything about playing two classes: 1) their own and 2) Hunters
Link to this post
Steelwind_Oo 
Title: Lurking Oo
Posts: 32,879
Registered: Sep 30, '00
Extended Info (if available)
Real Post Cnt: 31,007
User ID: 46,829
Subject: For my fellow programmers
Cawlin posted:
It frustrates me that programmers all are aware of this sort of assfoolery but all still staunchly refuse to accept standards for documentation and code annotation and so forth... plain

It's like all programmers hate the siht out of reading other peoples' code, but want to create code themselves that every other programmer will hate the siht out of reading too...
That requires discipline and not many programmers have that, lol. Besides most of them think they are unique snowflakes and that nobody could ever properly understand their code anyway (I say them because I do try to keep my code clean). tongue

 

-----signature-----
'God is an imaginary friend for grownups.', Walter Crewes (Morgan Freeman), The Big Bounce
Don't be afraid to ask dumb questions they're easier to handle than dumb mistakes!
Xbox 360 Gamer Tag: SteelwindOo
e93% a53% s33% k13%
Link to this post
the_great_intex 
Title: This is what cool looks like
Posts: 30,622
Registered: Jun 27, '02
Extended Info (if available)
Real Post Cnt: 27,363
User ID: 692,453
Subject: For my fellow programmers
I never, ever comment my code happy

 

-----signature-----
Only those who dare to fail greatly, can ever achieve greatly
In the middle of difficulty lies opportunity
The only thing in life achieved without effort is failure
Time Circuits... On. Flux Capacitor.... fluxxing.
Link to this post
Rhodoman 
Posts: 81,876
Registered: Jun 14, '01
Extended Info (if available)
Real Post Cnt: 80,454
User ID: 154,069
Subject: For my fellow programmers
Some of it is also because, even if you talk your project management into writing down requirements and specifications, they are rarely adhered to, constantly changing and increasing until the project just barely launches within its time frame and you have spent all your time making sure the damn thing works, doesn't crash and does every extra damn thing they asked for at the last minute.

So there's no time or money left to explain how you actually got it accomplished.


Rho

 

-----signature-----
Rho is correct. - Varece
Venit hiems quidquid Latine dictum sit altum viditur
Referring to illegal aliens as 'immigrants' is the same as referring to shoplifters as 'shoppers' - Dorvinion
Link to this post
silvadel2 
Posts: 4,970
Registered: Jul 13, '09
Extended Info (if available)
Real Post Cnt: 4,970
User ID: 57,980
Subject: For my fellow programmers
This is yet another reason why I like pascal-languages more than c-languages... It is FAR easier to self-comment pascal than C.

C is the reason for all the mess...

I do not understand why mainstream coding has not moved on by now.

We no longer live in a "closest to the metal and portability of the language are of massive importance" world...

We live in a "ease of debugging and ease of maintaining code SHOULD be the primary concern but ISNT" world.

 

-----signature-----
Lost postcount 17k; Lost years 9.6; Lost Title: Priceless
The most expensive things in life are free
Asheron's Call 3 // Horizons 2 -- Dragons of Dereth (one can always hope)
1920x1200 is a Monitor. 1920x1080 is a TV without a tuner.
Link to this post
-Accident- 
Title: Waiting to happen
Posts: 16,541
Registered: Aug 24, '00
Extended Info (if available)
Real Post Cnt: 16,161
User ID: 41,169
Subject: For my fellow programmers
Rhodoman posted:
Some of it is also because, even if you talk your project management into writing down requirements and specifications, they are rarely adhered to, constantly changing and increasing until the project just barely launches within its time frame and you have spent all your time making sure the damn thing works, doesn't crash and does every extra damn thing they asked for at the last minute.

So there's no time or money left to explain how you actually got it accomplished.


Rho


not using Agile, eh?

 

-----signature-----
I realize now I do not fear death. I fear my daughter will not be free when I die.
- NR, #iranelection
Link to this post
Arc_DT 
Title: Mithan said I am smart
Posts: 11,647
Registered: May 28, '02
Extended Info (if available)
Real Post Cnt: 11,518
User ID: 683,353
Subject: For my fellow programmers
the_great_intex posted:
I never, ever comment my code happy

To good code, comments are a detriment. Good code uses meaningful labels and small blocks where the code itself is the comments.

With that said, I split interfaces from implementation and comment the *interface*, because that's what's going to be consumed by other programmers, and also what I'm going to forget when I come back months or years later. Macro-level comments = good, micro-level comments = bad, unless there's simply no practical way to make obvious what it is you're doing without the comment.

 

-----signature-----
"... We just need a president to sign this stuff... Pick a Republican with enough working digits to handle a pen to become president."
-Grover Norquist
.
MICHIGAN - Where the trees are the right height!
Link to this post
Immortal_Haze 
Posts: 16,105
Registered: Jan 31, '02
Extended Info (if available)
Real Post Cnt: 15,927
User ID: 639,213
Subject: For my fellow programmers
I've identified 3 people in this thread I'd never want to work with already... jeez.

BTW, Lan, my whole job for about 6 years has been fixing other peoples' sh*t code. :\

 

-----signature-----
flag
"Those who have long enjoyed such privileges as we
enjoy forget in time that men have died to win them." FDR
Link to this post
TheUnholyGhost 
Title: Mr. Subtle
Posts: 29,652
Registered: Apr 4, '00
Extended Info (if available)
Real Post Cnt: 28,967
User ID: 18,463
Subject: For my fellow programmers
LOL Programmers

/end BT

 

-----signature-----
The Ghost
Ryan Giggs, the Legend: http://www.youtube.com/watch?v=3GxhYklM_3M
Glory Glory Man United: http://www.youtube.com/watch?v=V6WuMtdMVq8
Link to this post
Ex-remlocke 
Posts: 30,681
Registered: May 12, '00
Extended Info (if available)
Real Post Cnt: 29,873
User ID: 24,450
Subject: For my fellow programmers
-Accident- posted:
Rhodoman posted:
Some of it is also because, even if you talk your project management into writing down requirements and specifications, they are rarely adhered to, constantly changing and increasing until the project just barely launches within its time frame and you have spent all your time making sure the damn thing works, doesn't crash and does every extra damn thing they asked for at the last minute.

So there's no time or money left to explain how you actually got it accomplished.


Rho


not using Agile, eh?



switching from pure waterfall to an agile/waterfall mix was the best thing our team has ever done.

 

-----signature-----
this.
what the **** is a Barack?! - DMX
Link to this post
Immortal_Haze 
Posts: 16,105
Registered: Jan 31, '02
Extended Info (if available)
Real Post Cnt: 15,927
User ID: 639,213
Subject: For my fellow programmers
Ex-remlocke posted:
switching from pure waterfall to an agile/waterfall mix was the best thing our team has ever done.


I need you to come talk to some of the old fogies here lol. The comment I made earlier this week to a technical fellow... "After 8 years of doing the same process, we're expecting different results this time? We don't want to risk changing the process but would rather fail again using business as usual?"

 

-----signature-----
flag
"Those who have long enjoyed such privileges as we
enjoy forget in time that men have died to win them." FDR
Link to this post
Unarmed-Yarr 
Title: Pirate of Harrrvestgain
Posts: 22,020
Registered: Feb 23, '00
Extended Info (if available)
Real Post Cnt: 20,021
User ID: 12,032
Subject: For my fellow programmers
haha, love it

 

-----signature-----
Old Fogie (4,297 days old), East Sider, Pirate
Unarmed Yarr, Dissilspilg, HOH 4 life (12-15-00)
Passersby were amazed by the unusually large amounts of blood.
Link to this post
meltedmossy 
Title: :(){ :|:& };:
Posts: 11,957
Registered: Aug 12, '01
Extended Info (if available)
Real Post Cnt: 11,649
User ID: 317,074
Subject: For my fellow programmers
silvadel2 posted:
This is yet another reason why I like pascal-languages more than c-languages... It is FAR easier to self-comment pascal than C.

C is the reason for all the mess...

I do not understand why mainstream coding has not moved on by now.

We no longer live in a "closest to the metal and portability of the language are of massive importance" world...

We live in a "ease of debugging and ease of maintaining code SHOULD be the primary concern but ISNT" world.


Have you ever heard of embedded devices? Kernel programming? Writing GPU code?

 

-----signature-----
Spirits Within.
Mage, 150.
Slumbering away the days for now..
i have the damn ass patron
Link to this post
silvadel2 
Posts: 4,970
Registered: Jul 13, '09
Extended Info (if available)
Real Post Cnt: 4,970
User ID: 57,980
Subject: For my fellow programmers
meltedmossy posted:
silvadel2 posted:
This is yet another reason why I like pascal-languages more than c-languages... It is FAR easier to self-comment pascal than C.

C is the reason for all the mess...

I do not understand why mainstream coding has not moved on by now.

We no longer live in a "closest to the metal and portability of the language are of massive importance" world...

We live in a "ease of debugging and ease of maintaining code SHOULD be the primary concern but ISNT" world.


Have you ever heard of embedded devices? Kernel programming? Writing GPU code?


Sure -- it is called assembly language.

 

-----signature-----
Lost postcount 17k; Lost years 9.6; Lost Title: Priceless
The most expensive things in life are free
Asheron's Call 3 // Horizons 2 -- Dragons of Dereth (one can always hope)
1920x1200 is a Monitor. 1920x1080 is a TV without a tuner.
Link to this post
Arc_DT 
Title: Mithan said I am smart
Posts: 11,647
Registered: May 28, '02
Extended Info (if available)
Real Post Cnt: 11,518
User ID: 683,353
Subject: For my fellow programmers
//Inserts bread into each container
for(cc=fc;cc<=lc;cc++)
c[cc].push(br);


...


//Do I really need a comment?
for(currentContainer=firstContainer; currentContainer<=lastContainer; currentContainer++)
containers[currentContainer].insert(bread);


...


//But comment the interface
void putBreadInIt(Bread bread, ContainerArray containers, int firstContainer, int lastContainer);//Puts bread into each container

 

-----signature-----
"... We just need a president to sign this stuff... Pick a Republican with enough working digits to handle a pen to become president."
-Grover Norquist
.
MICHIGAN - Where the trees are the right height!
Link to this post
ACX 
Posts: 30,237
Registered: Oct 25, '01
Extended Info (if available)
Real Post Cnt: 29,651
User ID: 481,671
Subject: For my fellow programmers
I never realized so much of ACF was programmers.

 

-----signature-----
(none)
Link to this post
Ex-remlocke 
Posts: 30,681
Registered: May 12, '00
Extended Info (if available)
Real Post Cnt: 29,873
User ID: 24,450
Subject: For my fellow programmers
Immortal_Haze posted:
Ex-remlocke posted:
switching from pure waterfall to an agile/waterfall mix was the best thing our team has ever done.


I need you to come talk to some of the old fogies here lol. The comment I made earlier this week to a technical fellow... "After 8 years of doing the same process, we're expecting different results this time? We don't want to risk changing the process but would rather fail again using business as usual?"



Old people stuck in their ways are hard to work with (in other news.. see politics).. it's one of the reasons I won't work for the government directly as everyone has their habits and they don't want to change them.

A waterfall project will always run into problems that the Agile framework is prepared to handle. Change requests during the final test phases of waterfall seem to always happen. This usually happens when the product is unveiled to the client and they find something they needed 8 months ago but it isn't close to what they need to address their problems. Big changes to the requirements aren't supposed to take place 2 weeks before a release, when testing is wrapping up, yet it's common place in the waterfall methodology. Agile eliminates this problem by continuously reevaluating the business needs and tweaking the application where needed.


There are downsides to agile such as less documentation up front and a need for good project management between teams working on different functionality, but those are easily overlooked by the extra value that's generated.

 

-----signature-----
this.
what the **** is a Barack?! - DMX
Link to this post
Gibbon_raver 
Posts: 9,305
Registered: Apr 11, '04
Extended Info (if available)
Real Post Cnt: 9,192
User ID: 913,427
Subject: For my fellow programmers
What is the definition of bad code?




































Not yours.

 

-----signature-----
Link to this post
Wolfpaw_We 
Title: WoW Vault Staff
Posts: 14,203
Registered: Mar 22, '01
Extended Info (if available)
Real Post Cnt: 13,901
User ID: 77,927
Subject: For my fellow programmers
Rhodoman posted:
how you actually got it accomplished

The quarterly revenue report does not care.

 

-----signature-----
(none)
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP