Archive for November, 2018

Home » November 2018

Dinero.js: Working With Monetary Values in JavaScript

Working with monetary values can become a problem in any programming language and JavaScript certainly is no different in that respect. The naïve assumption that monetary values can be expressed as floating point numbers almost inevitably leads to rounding errors caused by precision and the fact that in most cases monetary values are represented as decimal numbers with just two (instead of an undefined number of) decimal places. Apart from that, money is not just a number but usually comprises a currency ... Read more

Jenny Shen: UX Design Across Different Cultures

UX designer Jenny Shen recently has been featured on the Scott Hanselman's podcast with her work on UX design across different cultures. She's published a two-part summary of her experiences with cross-cultural design and internationalization (i18n) and localization (l10n) of websites and applications: UX Design Across Different Cultures — Part 1 UX Design Across Different Cultures — Part 2 These articles shed light on how distributing an application or publishing a website in another country not only requires translating the content and labels of UI elements but also has ... Read more

Nonsense We Put up With: Complexity, Agile Gone Wrong and Enterprise Decision Making

Recently, I've come across a few articles that - although about ostensibly different subjects - share a common theme: When trying to create business value through software and devising the structures required to do so we all too often put up with wasteful processes, politics and toxic behaviour patterns that not only do not contribute to our goal but are downright detrimental. First, there's this transcript of a talk Martin Fowler gave at Agile Australia this year: The State of Agile Software ... Read more

Dependency Management for Angular Unit Tests Using TestModuleMetadata

Since its inception it's always been one of the eminent design goals of Angular (and AngularJS before it) to make JavaScript applications easily testable and bake unit and E2E testing right into the development process. While the Angular team certainly has succeeded at this there's still the occasional snag you hit when writing unit or end-to-end tests. For the most part, the testing experience with Angular is terrific and testing JavaScript codebases has come a long way but of course there's always ... Read more