PDA

View Full Version : Are there any general techniques to speed up my coding?


News
09-08-12, 12:40 PM
http://cdn.arstechnica.net/wp-content/uploads/2012/09/image-2.png Stack Exchange


This Q&A is part of a biweekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange (http://stackexchange.com/), a free, community-powered network of 80+ Q&A sites (http://stackexchange.com/sites).

mcwise asks (http://programmers.stackexchange.com/q/153791/46319):

I am preparing for a programming contest where we have to code in C++ (http://programmers.stackexchange.com/questions/tagged/c%2b%2b?sort=faq&pagesize=50) and it is all about producing working code in a short time. An example would be to use a macro (http://programmers.stackexchange.com/questions/tagged/macros?sort=faq&pagesize=50) to get the minimum of two ints or using memsets to initialize arrays (http://programmers.stackexchange.com/questions/147645/what-is-the-difference-between-an-array-and-a-stack) (but I was told that you shouldn't use either here (http://stackoverflow.com/q/3437404/1176596)).

Read 22 remaining paragraphs (http://arstechnica.com/information-technology/2012/09/are-there-any-general-techniques-to-speed-up-my-coding/) | Comments (http://arstechnica.com/information-technology/2012/09/are-there-any-general-techniques-to-speed-up-my-coding/?comments=1#comments-bar)



http://feeds.feedburner.com/~ff/arstechnica/index?i=R9f7vcovSmA:FiqzE408I5k:V_sGLiPBpWU (http://feeds.arstechnica.com/~ff/arstechnica/index?a=R9f7vcovSmA:FiqzE408I5k:V_sGLiPBpWU) http://feeds.feedburner.com/~ff/arstechnica/index?i=R9f7vcovSmA:FiqzE408I5k:F7zBnMyn0Lo (http://feeds.arstechnica.com/~ff/arstechnica/index?a=R9f7vcovSmA:FiqzE408I5k:F7zBnMyn0Lo) http://feeds.feedburner.com/~ff/arstechnica/index?d=qj6IDK7rITs (http://feeds.arstechnica.com/~ff/arstechnica/index?a=R9f7vcovSmA:FiqzE408I5k:qj6IDK7rITs) http://feeds.feedburner.com/~ff/arstechnica/index?d=yIl2AUoC8zA (http://feeds.arstechnica.com/~ff/arstechnica/index?a=R9f7vcovSmA:FiqzE408I5k:yIl2AUoC8zA)
http://feeds.feedburner.com/~r/arstechnica/index/~4/R9f7vcovSmA

More... (http://feeds.arstechnica.com/~r/arstechnica/index/~3/R9f7vcovSmA/)