Tag

code

A First asyncio Application

From Python Concurrency with asyncio by Matthew Fowler

This article shows how you might make your first application that leverages asyncio.

The Act of Writing Code

From The Programmer’s Brain by Felienne Hermans

When you program, there are a lot of different types of things that you might be doing. In this article we dive into these different activities that you perform as you program.

Good and bad flexibility in code

By Christian Clausen

Flexibility is essential for long-lived codebases, however, it comes at a price. It requires effort to maintain flexibility and improperly-implemented flexibility can actually make a codebase harder to maintain. In this article, I show how good flexibility can be extracted from the structure of our code with minimal effort. But before we get into that, let’s discuss what flexibility in a codebase means.

Writing Good Assertions

From Testing JavaScript Applications by Lucas da Costa

In this article, I will teach you techniques to help you write better assertions. You will learn how to make them catch as many bugs as possible, without having to update tests too often, lessening your maintenance burden.

Testing with Node, Jest, and JSDOM

From Testing JavaScript Applications by Lucas da Costa

In this article, you’ll learn how to use Node and Jest to test code written to run in a browser.

How is C# Compiled?

From Code like a Pro in C# by Jort Rodenburg

This article gives an overview of exactly how C# code is compiled.

Learning when to Break the Rules

From Street Coder by Sedat Kapanoglu

The Value of Concurrency in Tests

From Testing JavaScript Applications by Lucas da Costa

This article explains what parallelism is and how Jest can help you run your tests faster.

Call or Pass?

From Five Lines of Code by Christian Clausen

This article delves into when a function should call a method on an object or pass it on as an argument.

Automated JavaScript testing

From Testing JavaScript Applications by Lucas da Costa

© 2022 Manning — Design Credits