| | |
Nicest Programming Shortcuts
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
![]() |
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
]
,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
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
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
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....?
...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
![]() |
Similar Threads
- how to name shortcuts dynamically (C#)
- Collision testing, mathematical/programming concept (C++)
- Professional web design and programming services (Post your Resume)
- host file help (Windows NT / 2000 / XP)
Other Threads in the Computer Science Forum
- Previous Thread: Why questions go unanswered... (Link)
- Next Thread: problems with WORD documents
| Thread Tools | Search this Thread |
ai algorithm algorithms amazon assignment assignmenthelp assignments automata battery bigbrother binary bittorrent bizarre bletchleypark blogging bomb business codebreaker compiler computerscience computertrackingsoftware connect conversion csc data dataanalysis dataintepretation development dfa dissertation dissertations dissertationthesis dissertationtopic ebook employment energy extensions floatingpoint foreclosure foreclosuresoftware gadgets geeks givemetehcodez government graphics hardware history homeowners homeworkassignment homeworkhelp humor ibm idea ideas internet iphone ipod jobs laser laws linkbait lsmeans mainframes marketing mining mobileapplication msaccess nano netbeans networking news os p2p piracy piratebay principles programming rasterizer research sam-being-cute sas science security simulation software spying sql stephenfry study supercomputer supercomputing sweden technology textfield turing two'scompliment uk virus warehouse ww2





