Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Memorising syntax and other programming stuff

Hi folks... I recently joined Web designer learning adventure. I am really enjoying the fantastic content on this site.I recently completed html deepdive. One thing is really bothering me!

I am able to understand every class very clearly so far. But I started to feel it is little to much to memorise all the content they are teaching . As I have plans to complete designer and developer adventures, It is obvious that there is much more on my way. How do you Folks handle this? Do we really have to memorise all the tags attributes and programming syntax for every langauge we learn? If there are any special techniques to learn programming please let me know

4 Answers

Scott Paterson
Scott Paterson
26,869 Points

I think that a lot of people would find it very hard to remember every element and selectors and so forth, heck i am a real scatter brain and i have to go over and study stuff frequent.I think as long as you know solutions to situations to where you may need code is a good start.

Scott

Kevin Korte
Kevin Korte
28,149 Points

I don't focus on remembering syntax for all the different languages, what functions are built in and available to use by default, etc. I do however know how to find those answers very quickly online. A lot of the basic stuff I do have memorized. But even for something as simple as a box shadow in CSS, I can't remember the syntax. I believe it's X coordinate, Y coordinate, blur, radius, color; but instead of guessing I'd go here http://css-tricks.com/snippets/css/css-box-shadow/ and would have my answer in about 3 seconds.

The best way to memorize it is by using it.

You will end up memorizing what you use more frequently (certain applications also have code hinting, which can help, but sometimes actually gets in the way). For the rest, use a cheat sheet/reference!

Your responses are quite relieving. I do research online to write code, but i had a feeling that this process is kind of cheating. Good to know its quite normal and essential to do research online.

Scott Paterson,kevin korte and claudia Machado Thanks all for your valuable responses!

Kevin Korte
Kevin Korte
28,149 Points

It's not cheating...it's trying! Lol.

I feel it's more important to learn what options, features, and things can be done with the language you're using than remember the syntax. The syntax can always be looked up online easily.

I was writing some PHP code yesterday, and before I even started I opened php.net and got the search bar ready.