Contents tagged with software-development
-
Use the whatwg-fetch polyfil with the aurelia-fetch-client and the aurelia-cli.
Install the polyfil. npm install whatwg-fetch --save Preppend the polyfil to the aurelia.json vendor-bundle. "bundles": [ { "name": "vendor-bundle.js", "prepend": [ "node_ … more
-
Types of Software Testing
The following is a work in progress. It reflects my half-baked sense of the common usage of the following terms. Unit Tests Test a really small part of the system in isolation. test a single … more
-
Dependency injection with and without inheritance
Dependency injection is valuable in languages that lack inheritance and becomes more powerful in languages that have inheritance. Without inheritance, dependency injection lets the container … more
-
Technical Writing Checklist
The content is accurate. The spelling is correct. The grammar is correct. The formatting is clean. more
-
Connect shapes and lines in Microsoft Word
We can draw a line between text boxes, so the line moves and adapts with the text boxes. Insert Shapes New Drawing Canvas Now, connected lines move and adapt. Hooray! more
-
Install JSPM packages from the local file system during development
NPM has npm install <folder>. JSPM requires more work. Link a project... cd <project-root> jspm link github:some/[email protected] -y ...then install from that link cd <other-project- … more
-
The Factory Pattern(s)
Simple Factory Encapsulate object creation within a class. Factory Method Define a class that does operations on an object. Let sub-classes choose the object. Abstract Factory Encapsulate creation … more
-
My Secret Job Title is “Code Butler”
I have been undergoing a paradigm shift in the role of a software developer. My new guiding metaphor is "butler." That is, in all my interactions with the employer, I ask, "What would a butler do?" … more