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!
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
Why does the initial code actually runs?
In the first part of the video, there is a code written without ";" character. Isn't it that there should always be one, even in a one-line program code?
Best practice is to use the semi-colons.
Okay. I was just curious, i previously programmed in C++ and when i forgot to put a semi-colon to the code, program compilation was stopped. Thanks for the fast reply @mkmk :)
When you start working with Grunt for example you will be reminded to put a semicolon:)