Better Programming

Advice for programmers.

Follow publication

BP’s Daily Digest: C# 11 preview updates, MVI with Kotlin, and more

More daily reads to inspire you

BP Editors
Better Programming
Published in
5 min readApr 19, 2022

In this daily digest, we’ve got a first look at the C#11 preview updates brought to you by Microsoft, the latest updates from some software engineering Medium publications, an entirely new way to debug your apps, one fun Python challenge, refreshing thoughts on the challenges an organization may face with Agile (with a remedy), a comprehensive guide to writing smart contracts for the Zilliqa blockchain, and as always lots of code to help you build stuff.

Programming

In her blog post, Kathleen Dollard walks us through the upcoming C# 11 preview features — Raw string literals, UTF-8, Checked user-defined operators, Auto-default structs, Pattern matching with spans, and more. Read the complete article here.

Debug Your App Through the User’s Eyes With a Session Replay Tool

Other times the bug reports say “the user complains about the app not working”, or even worse, “the app works sometimes, but when I click on the red button, it stops working”. And you’re left there wondering which of the 10 red buttons in your whole app the user is talking about. Gladly, Session replay comes to our rescue.

Session replay is the ability to review exactly what happens in someone else’s browser but at a later time — by Fernando Doglio

Read more>>

From Software Engineering Publications

An Introduction to Kaniko

How to use Kaniko to build container images in the Jenkins CI pipelines

Kaniko is one of the best image builder tools which runs without any dependency on the docker daemon. It is also a secure option to consider for image building when compared to using docker — by Tanvi P Karennavar at Groww Engineering.

Read more>>

From Python

How to Find the King’s Legal Moves in Chess With Python

Ever wondered how to find the king’s legal moves on a chessboard using Python? Don’t go anywhere as Martin Andersson Aaberge shows us how to solve this fun challenge.

Read more>>

From Web Dev

Decoupling Your Concerns With Dependency Injection, the Repository Pattern, React, and Typescript

Have you ever been frustrated by the baked-in application logic? Had to rewrite entire components or projects when a provider has changed? Wished that your frontend code wasn’t reliant on a specific data implementation? Been annoyed by relentless questions at the start of an article?

In this post, I’m going to walk through an example of how you can build loosely-coupled applications capable of scale and adapting to future change — by Leigh White

Read more>>

From Android Dev

All You Need for MVI is Kotlin. How to Reduce Without a Reducer?

In this article, I describe my attempt to implement a simple state reducer based on Kotlin Flow — by Maciej Sady

Read more>>

From iOS Dev

In a four-part series, Elena Rubilova builds a Cookies App using SwiftUI. Check out the 4th tutorial to know how to implement a cart functionality.

Read more>>

From Web3 Dev

Writing Smart Contracts for the Zilliqa Blockchain using the Scilla Programming Language

To write Scilla smart contracts, the easiest is to use the Neo Savant IDE, a fully-fledged IDE used for writing, testing and deploying Scilla smart contracts — by Wei-Meng Lee

Read more>>

From AWS

Creating a Serverless Redirect Function Using AWS Lambda and API Gateway

So you’ve created an app that’s published on the app stores and now you want to redirect your users to their respective stores using a single URL? You’ve come to the right place — by Rafiul Ansari

Read more>>

Agile

The Real Challenge of Organizations With Agile — and How to Fix It

It seems the main problem with applying Agile methodologies is not the lack of knowledge. It is rather the willingness of leadership to let go of their tactical decision-making power and put trust in their teams — by David Gattig

Read more>>

That’s all for now. Thanks for reading.

Sign up to discover human stories that deepen your understanding of the world.

BP Editors
BP Editors

Written by BP Editors

We cover code tutorials, leadership and management, productivity, coffee and a daily digest.

Responses (1)

Write a response