PostCode

From The Washington Post Engineering team.

Results for #code-quality

Functional Programming for the Uninitiated

By Alex Byrnes

Functional programming is notoriously difficult to understand. The topic of monads for instance, is so difficult there's a video to help you to not fear them. These are unusually high stakes for a programming topic. And even if it's not frightening, it still might not be worth knowing or worth the time to learn it. The basics of functional programming, however, are both easy to understand, and incredibly powerful tools for taming complexity and writing usable code.

Developer Day 2015

By Sruti Cheedalla

On October 27, 2015, the Engineering team held its first Developer Day event. We had a simple goal, carve out a small space in time where we could gather as developers from across the organization to connect on all things tech. After months of planning we were able to enjoy mingling with each other as we heard interesting talks on how we use big data to predict article success, tips to manage growing teams, the hidden secrets to creating “Chatbots”, and many more.

Towards More Effective Unit Tests in Swift (and iOS in General)

By Aaron Crespo

I often pose a question to fellow engineers: “Given a Magic Engineer Wand™ what’s one thing you would improve about how apps get built at your company?”. Usually the answers I get boil down to something related to poorly tested code or code missing tests. Often they’ll respond with “I wish we had more unit tests”, “I wish we had better unit tests”, or “I wish it was easier for me to write unit tests with my codebase”, “Slow releases due to regressions”. Crashes suck and one good measure of the health of your code is your test coverage and test suite. Hopefully in this post I can show you some strategies to decouple your code and your tests, making it easier to write healthier apps.

Checkstyle, Chicken Soup for the Developer’s Soul

By Annyce Davis

So maybe not quite as “comforting” as chicken soup, but definitely a most helpful tool that every Java developer should have in their arsenal. Well, Checkstyle is a development tool to help Java developers write code that adheres to a coding standard. It does that by using static code analysis to determine potential program errors based on predefined checks.