I only know the very basics of C++, and it's occured to me how many different codes there are.
In C++ alone there are tons of libraries, each with their own little code snippets. So do you guys just memorize them all? Especially those of you who know multiple languages. Like do you use some sort of reference or does it just become instinctive to remember the codes and keep your languages seperate after awhile?
How do you keep your code straight?
Started by KeilanS, Oct 15 2008 08:26 PM
12 replies to this topic
#1
Posted 15 October 2008 - 08:26 PM
|
|
|
#2
Posted 16 October 2008 - 07:42 AM
I keep references handy. I have 4 main books that I use as references with C++, for example, plus another for wxWidgets. For almost any language I use, I'm reasonably comfortable with how it works. Having a reliable syntax highlighter is invaluable as well, since it helps me catch syntax changes (such as ' starting a comment versus starting a string).
For me, the biggest issue is := vs = vs == vs eq in the various languages.
For me, the biggest issue is := vs = vs == vs eq in the various languages.
#3
Posted 16 October 2008 - 03:27 PM
Thanks Winged. My C++ text has some good references, so I'll make sure to keep that around.
#4
Guest_Jordan_*
Posted 16 October 2008 - 03:56 PM
Guest_Jordan_*
I also keep references and the internet is a great resource also. At work I have books for C#, C++, PHP and Perl. At home I have several misc. books (like JavaScript, PHP and Visual Basic). If you develop in a web language such as PHP the best reference you can get is probably right on the web (php.net = the PHP manual).
#5
Posted 17 October 2008 - 07:52 AM
I use w3schools heavily when doing any web work. Their resources on HTML, JavaScript, CSS, ASP, and ADO have saved my butt repeatedly.
#6
Posted 17 October 2008 - 08:03 AM
I love references, but most of the time I just find that I guessed right...
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
#7
Posted 17 October 2008 - 08:06 AM
its so there is no and i mean NO Programmer out there that has no references you must be a genius to get all the code inside your head ok you should have your knowledge but its not a shame if you see other people source codes or read anything :D but never just copy and past the code without understanding what the code does
#8
Posted 17 October 2008 - 08:16 PM
kresh7 said:
its so there is no and i mean NO Programmer out there that has no references you must be a genius to get all the code inside your head ok you should have your knowledge but its not a shame if you see other people source codes or read anything :D but never just copy and past the code without understanding what the code does
That is definatly advice to live by. As a math student, I see so many people trying to just memorize the formulas. It does not work well.
#9
Posted 17 October 2008 - 09:43 PM
KeilanS said:
That is definatly advice to live by. As a math student, I see so many people trying to just memorize the formulas. It does not work well.
I kind of hate it when the teacher makes you memorize them and you don't have a resource on a test. Its not about having the formula or even function memorized its about knowing which one to use and applying it. You might not have the exact make up of a function memorized but u can easy type it into google (I program in php) and then you can find the make up. As long as you know how to use and apply it.
Realize the Web Web services and design.
#10
Posted 18 October 2008 - 09:45 AM
I used to let students have a cheat sheet (1 8.5x11 inch sheet, 2 sides) for tests. It was a great way to trick them into studying... they almost never needed to look at it :)
#11
Guest_Jordan_*
Posted 19 October 2008 - 05:55 PM
Guest_Jordan_*
I agree with mike. I believe we are using an outdated method for testing in many instances. When access to information is readily available I don't see why teachers still require you to memorize formulas. As soon as the test is done most students forget them anyway.
#12
Posted 19 October 2008 - 08:13 PM
Normally when I programming something, I just keep typing constantly. Then when I come across something I forget, I just type it in Google.
jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation
Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!


Sign In
Create Account


Back to top









