Thursday 13 November 2014

News!

As you see, the website is updating frequently as I am adding more and more updates. I will always try to make the blog better. The link, as you know is different from the title as it is called experimentfogfog.blogspot.com. Updates are coming in faster and faster, like rains of numbers and letters of code. We sometimes can memorize the code, but most of the time, we don't.Imagine we actually have to write the comments in the code as well. Like for example, (Written in JavaScript) var Person = (function() { // If the new keyword is absent, the constructor will be the window. // In this case, compensate, and return a new instance if ( this.constructor !== Person ) { return new Person(name); } this.name = name; } // Intentionally forgot the "new" keyword var Joey = Person('Joey'); Joey.name; // Joey See? Code can sometimes be confusing. It can be frustrating, but stick at it! It can be rewarding to see all of your hard work working at the end. News! like this contains something I want to tell you or something important. And in this case, I want to tell you something weird and confusing, like that code above. Check frequently if you want more News! on experiment.blog!

No comments:

Post a Comment