Dare Obasanjo sur Twitter : "This is what you sound like when refusing to address technical debt. #programming... Twitter. Matthew Jackowski sur Twitter : "Best Programming Quotes That Every Developer Should Know via @articposts | #programming #quote. Best Programming Quotes that Every Developer Should Know. Matija Marohnić. Javascript Tips for Non-Specialists. Script Junkie | Automating JavaScript Testing with QUnit. QUnit was born May 2008, out of the testrunner embedded into the jQuery core repository. It got its own name and documentation and a new home for the code. Late 2009 QUnit was refactored to be independent of jQuery, making it useful for testing all kinds of JavaScript frameworks and applications. Its assertion methods now follow the CommonJS assert specification. While QUnit can run in server-side or command line environments, it’s still most useful for testing JavaScript in the browser.
This article explores how to write unit tests with QUnit, and how QUnit can help developing applications. To get started, let’s look at a minimal QUnit testsuite, the Hello World of QUnit: <! This is a very minimalistic testsuite. If we open this as a html file in a browser, we’ll see this output: We can now set the assertion to always fail: test("hello", function() { ok(false, "world");}); The result will be this: Now we see the hello test failing, along with the failing assertion.
Writing QUnit Tests <! Script Junkie | How to Write Maintainable OO JavaScript Code. Writing maintainable Object-Oriented (OO) JavaScript will save you money and make you popular. Don't believe me? Odds are that either you or someone else will come back and work with your code. Making that as painless an experience as possible will save time, which we all know equates to money. It will also win you the favor of those for whom you just saved a headache. But before we dive into writing maintainable OO JavaScript, let's just take a quick look at what OO is all about.
What is OO? Object-oriented programming basically represents physical, real-world objects that you want to work with in code. Warning: JavaScript OO is different In the previous section I outlined the basics of classical object-oriented programming. Object Instantiation Here's an example of object instantiation in JavaScript: There are three important things to note here: I uppercased the first letter of my "class" function. Prototypal Inheritance Now, here's an example of prototypal inheritance in JavaScript:
Backstage Blog » Blog Archive How we work at Official.fm. Agile Workflow Scrum methodology Here at Official.fm, we adhere to the Scrum development method. We work in two-week sprints and release cycles. We have daily stand-up meetings at noon where each person briefly tells what they accomplished in the morning and what they will be working on in the afternoon. A few days before the end of a sprint, we all sit down and discuss how the current sprint went and plan for the next. Poker planning estimation The next step is to estimate requests for new features in our backlog so that we can have an idea of how many tasks we can complete in the next sprint. We use the “poker planning technique” where each developer has a hand of cards numbered 1, 2, 3, 5, 8 and 13.
This process allows us to give each story a numeric value so that we can accurately measure how much we accomplish in a given sprint. Last but not least, it’s important to note that the planning process is a major part of our workflow. Code review This is our basic development workflow: Code School - TryRuby.
Firefox. Comet. Cheatsheet. Couchdb. Free 3D Game Engine.