Subject

Articles

Pestering your script

By Don Jones and Jeffery Hicks

As we move into a DevOps-y world, one of the things you’ll need to start thinking about is how you’ll test your scripts. Here’s the deal: nobody likes a broken script in production. And although you might run a few tests on your script, you – or someone else – might also modify your script at some point, necessitating a re-test. Or, you might find some odd condition under which your script fails – well, you certainly don’t want to forget to test that condition again in the future, do you? In this article, we’ll talk about automated unit testing for PowerShell scripts.

Aunt Maria’s Serverless Pizzeria

By Slobodan Stojanović and Aleksandar Simović

This article, excerpted from Serverless Apps with Node and Claudia.js, explores building a back-end app and API to process and store orders for aunt Maria’s pizzeria.

Hello Swift! What is an Array?

By Tanmay Bakshi

This article, excerpted from chapter 7 of Hello Swift!, tells you what an array is and gives quite a few examples of how one can be used.

Dipping Your Toes into Elixir

By Saša Jurić

This article gives a short overview of Erlang and then delves into the benefits of Elixir.

Classic Computer Science Problems in Swift: Tic-Tac-Toe

By David Kopec

This article will teach you how to use the minimax algorithm to create a Tic-Tac-Toe AI that plays the game flawlessly.

Serverless Apps with Node and Claudia.js: servers and washing machines

By Slobodan Stojanović and Aleksandar Simović

To understand serverless, consider for a moment washing machines. This might sound like a crazy place to start, but owning a server nowadays is similar to owning a washing machine. Everybody needs to clean their clothes, and the most logical solution seems to be buying a washing machine. But most of the time the washing machine is plugged in, it’s doing nothing. At best, it’s used five to fifteen hours per week. Same goes with servers. Most of the time, your average application server is waiting to receive a request, doing nothing.

Poor API Design has Terrible Consequences.

By Arnaud Lauret

Why should we care about the design of an API? It’s quite simple. What do you do when you use an everyday thing, whether it’s a microwave oven, a web site, a mobile application, a TV remote or an ATM? You use its interface.

Dependency Injection in .NET, 2nd Edition: understanding the Composition Root

By Steven van Deursen and Mark Seemann

This article describes where and how programmers should compose an application’s object graphs and the concept of the Composition Root.

Deep learning and the Game of Go: Playing Games with Tree Search

By Max Pumperla and Kevin Ferguson

This article, from Deep Learning and the Game of Go, discusses tree search algorithms and their relevance to various types of games.

C# in Depth, 4th Edition: concise code with local methods

By Jon Skeet

This article, taken from chapter 14 of C# in Depth, Fourth Edition, delves into using local methods in C#.

© 2018 Manning — Design Credits