Nicest Programming Shortcuts

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Apr 2004
Posts: 16
Reputation: doubleglazing2 is an unknown quantity at this point 
Solved Threads: 1
doubleglazing2's Avatar
doubleglazing2 doubleglazing2 is offline Offline
Newbie Poster

Nicest Programming Shortcuts

 
0
  #1
Apr 10th, 2004
Hi ,
What is the nicest shortcut you discoverd when coding? I don't know about you - but I have unbounded love for recursion . It's always hard to visualise (for me atleast...) but it's so beautiful and efficient. After I'd made a recursive procedure @ work I got over the shock that they teach the method at uni :eek: only to be pained by my mates hating it @ our uni - the problem of education - they wanna shove it down your throat:p .

Anyway, what is you favourite method you use in coding? [We all have our favourite functions...but that's another thread ]
When the moon of happiness rose over the horizon of my will, I set out for the sun of arrival
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 219
Reputation: BountyX is an unknown quantity at this point 
Solved Threads: 8
BountyX's Avatar
BountyX BountyX is offline Offline
Code Guru

Re: Nicest Programming Shortcuts

 
0
  #2
Apr 10th, 2004
actually believe it or not recursion is considered "elegant" but not more effecient, It actually requires more memory than normal iteration and is mostly used as a logical convience for approaching recusive problems.
A Hacker's Mind:
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 16
Reputation: doubleglazing2 is an unknown quantity at this point 
Solved Threads: 1
doubleglazing2's Avatar
doubleglazing2 doubleglazing2 is offline Offline
Newbie Poster

Re: Nicest Programming Shortcuts

 
0
  #3
Apr 10th, 2004
Really?... ...all these years I've been thinking that....:lol:
I think I was fooled by the fact that a piece of code get used over and over again - so is more efficient. Obviously i need a retake in my logic module! :lol:
You're right - we were taught that @ uni I think - but I'm trying to ge that outta my system now...I still can't believe it....:lol: It's like I thought you spell environment with out an 'n' for years and when i found out I fell on the floor laughing...:lol: :cry: :lol:

Anyway...you got a favourite piece of code?...or do u love it all?....or hate it all?.....or non-reactionary....?
When the moon of happiness rose over the horizon of my will, I set out for the sun of arrival
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 192
Reputation: Toba is an unknown quantity at this point 
Solved Threads: 5
Toba's Avatar
Toba Toba is offline Offline
Junior Poster

Re: Nicest Programming Shortcuts

 
0
  #4
Aug 18th, 2004
I think my favorite programming shortcuts are subroutines and functions for small pieces of code. Using them makes your programs smaller and your code easier to read, but it also uses more space on the stack.
what? WHAT?
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 15
Reputation: shalin is an unknown quantity at this point 
Solved Threads: 0
shalin's Avatar
shalin shalin is offline Offline
Newbie Poster

Re: Nicest Programming Shortcuts

 
0
  #5
Sep 7th, 2004
Signals & Slots in Qt Designer . :lol:
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 4191 | Replies: 4
Thread Tools Search this Thread



Tag cloud for Computer Science
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC