Geeks With Blogs
Annie Bougie April 2013 Entries
What is this, Javascript?
Being a new Javascript developer coming from a C# background, I'm finding out the this keyword is a lot more nuanced (confusing?) than in C#. In C#, this means the current instatiation of the class you are in. In VB.NET, they don't have a this, they only have a Me. VB.NET has this kind of weird throwback to old VB, the module. In the module, you are executing in the global context, so there is no Me. The Me keyword is undefined. Java is very similar in giving you a C#-style, instance-scoped this, ......

Posted On Tuesday, April 9, 2013 7:30 AM

Javascript Testing
I've been working with Node.js projects for the last several months, and have been charged with creating a set of testing tools for automated unit testing. I've settled on Mocha.js, even though there are several others that are widely used, such as Jasmine. Mocha is really working well for sever side code without a lot of dependencies. The biggest issue that has been plaguing my efforts is dependencies and lack of mocking. Since server-side testing is the easier problem to solve, that's where I'm ......

Posted On Monday, April 8, 2013 3:00 AM

Copyright © Annie Bougie | Powered by: GeeksWithBlogs.net