Step Into Dev
New in Words · The Null Path New in Art · Fair Isle New in Words · Teardrops on My Shirt
  • Posts
  • Series
  • About
  • Art
  • Words

csharp

24 Nov 2026

Attribute Routing Comes to Go's ServeMux, in Struct Tags

Go's method and wildcard patterns set against [HttpGet("{id:int}")]. What the standard mux matches, what it leaves to you, and mapget, a small library that a...

13 min read · Step Over to Go
24 Nov 2026

How a .NET Solution Structure Maps to a Go Project Layout

The same small app, a sherry bar's chalk tab with an API and a CLI, written twice in one repository so the two layouts can be compared folder by folder: proj...

13 min read · Step Over to Go
17 Nov 2026

What I Got Wrong About Go

Two years on, five claims in the C# to Go series that the toolchain has overtaken: GOMAXPROCS in containers, the image pins, the golangci-lint config, b.N lo...

9 min read · Step Over to Go
11 Nov 2026

A Faster C# Claude Client, by Breaking the Rules

The C# client on the hot path was written the way the templates say and sat at 7.1 ms against Go's 4.4. This one throws out HttpClient, JsonNode and Console,...

13 min read · Claude Hot Path
10 Nov 2026

Range-Over-Func Iterators for People Who Miss LINQ

Go 1.23 iterators and the slices and maps packages, set against LINQ. What you can write now, what still needs a loop, and what Go 1.27 generic methods change.

13 min read · Step Over to Go
5 Nov 2026

A Claude Client in One C# File, Compiled Ahead of Time

The third client on the hot path: HttpClient, System.Text.Json nodes and a StreamReader loop, published with Native AOT on .NET 10. The binary is smaller tha...

6 min read · Claude Hot Path
3 Nov 2026

Forty-Eight Posts on Moving From C# to Go, in the Right Order

The complete C# to Go series, ordered as chapters for the first time. Who it is for, where to start, and three things I would write differently now that Go i...

6 min read · Step Over to Go
23 Mar 2026

Streaming AI Responses from Server to Screen

Streaming LLM responses end to end: Server-Sent Events, a chunk protocol for tool calls, a React Native transport and a renderer that upgrades to rich content.

11 min read
28 Jun 2025

Six Months In: Was It Worth It?

Six months of production Go after twenty years of C#. An honest retrospective on what was worth it, what hurt, and what I would tell past me.

5 min read · Step Over to Go
1 Feb 2025

What I'll Never Go Back For

The Go features a long-time C# developer would struggle to give up. Single binaries, fast builds, implicit interfaces and the rest.

4 min read · Step Over to Go
15 Jan 2025

What I Actually Miss From C#

The C# features I actually miss after months of writing Go full time. LINQ, proper enums, nullable reference types and a few others.

5 min read · Step Over to Go
5 Jan 2025

AWS Lambda and Go: Cold Starts That Don't Hurt

Go on AWS Lambda cold starts in around 100ms. How that compares with .NET Lambda functions, and how to build and deploy a Go handler.

3 min read · Step Over to Go
5 Jan 2025

Dockerfile for Go: Simpler Than You'd Think

Multi-stage Dockerfiles for Go that produce images under 20MB. How static binaries and scratch base images compare with .NET container builds.

4 min read · Step Over to Go
5 Jan 2025

GitHub Actions for Go Projects

A complete GitHub Actions workflow for Go projects. Build, test, lint, cross-compile and release, compared with the .NET CI setup you already know.

4 min read · Step Over to Go
5 Jan 2025

Health Checks and Readiness Probes

Liveness and readiness probes in Go for Kubernetes. Health check endpoints that tell orchestrators something useful, compared with ASP.NET Core health checks.

5 min read · Step Over to Go
5 Jan 2025

Kubernetes and Go: A Natural Fit

Running Go services on Kubernetes. Graceful shutdown, resource limits, health checks and why Go and Kubernetes fit together so naturally.

5 min read · Step Over to Go
5 Jan 2025

Metrics, Traces, and Logs: The OpenTelemetry Way

Instrumenting a Go service with OpenTelemetry. Metrics, traces and logs wired up end to end, compared with the .NET OpenTelemetry setup.

4 min read · Step Over to Go
5 Jan 2025

Shrinking Binaries and Build Tags

Shrink Go binaries with ldflags and control what gets compiled with build tags. A guide for .NET developers used to self-contained deployments.

4 min read · Step Over to Go
5 Jan 2025

Single Binary Deploys: The Killer Feature

Go compiles to a single static binary with no runtime to install. Why that changes deployment for .NET developers, and how cross-compilation works.

4 min read · Step Over to Go
5 Jan 2025

Versioning Your Modules

Versioning Go modules with semantic versioning and git tags. Major version suffixes, pseudo-versions and the differences from NuGet packaging.

4 min read · Step Over to Go
4 Jan 2025

Configuration Without IOptions<T>

Configuration in Go without IOptions or IConfiguration. Environment variables, flags, file parsing and the libraries .NET developers reach for.

5 min read · Step Over to Go
4 Jan 2025

Database Access: database/sql vs Entity Framework

Go's database/sql versus Entity Framework. Writing SQL by hand, scanning rows into structs and living without change tracking or LINQ.

5 min read · Step Over to Go
4 Jan 2025

Debugging: Delve vs Visual Studio's Comfort

Debugging Go with Delve after years of Visual Studio. What works, what is missing, and how to set up breakpoints and watches in VS Code and GoLand.

4 min read · Step Over to Go
4 Jan 2025

Generate All the Things

Code generation with go generate in place of C# reflection and source generators. Why Go developers write code that writes code, and the tools they use.

4 min read · Step Over to Go
4 Jan 2025

GORM and Friends: When You Do Want an ORM

GORM for developers who miss Entity Framework. What the most popular Go ORM offers, why the community argues about it, and the alternatives like sqlc.

4 min read · Step Over to Go
4 Jan 2025

HTTP Services: net/http vs ASP.NET Core

Building HTTP services with Go's net/http instead of ASP.NET Core. Routing, middleware, handlers and JSON without a framework.

5 min read · Step Over to Go
4 Jan 2025

JSON: Struct Tags and the Marshal Dance

JSON in Go with encoding/json and struct tags, compared with System.Text.Json and Newtonsoft. Omitempty, custom marshalling and the quirks that bite.

5 min read · Step Over to Go
4 Jan 2025

Linting and Formatting: gofmt Is Non-Negotiable

gofmt, go vet and golangci-lint for developers used to .editorconfig debates. Why Go formatting is not up for discussion, and the linters worth enabling.

4 min read · Step Over to Go
4 Jan 2025

Logging: slog and the Structured Logging Story

Structured logging in Go with log/slog, compared with ILogger and Serilog. Handlers, attributes, context and when to still pick zerolog or zap.

3 min read · Step Over to Go
3 Jan 2025

Benchmarks and Profiling Out of the Box

Go has benchmarking and profiling built into the toolchain. A C# developer's guide to go test -bench and pprof, compared with BenchmarkDotNet.

5 min read · Step Over to Go
3 Jan 2025

Mocking in a Language Without Mockito

Mocking in Go without Moq or NSubstitute. Hand-written fakes, small interfaces, and generated mocks with mockery and gomock.

5 min read · Step Over to Go
3 Jan 2025

Multi-Module Repos: Monorepo Thinking

Multi-module Go repositories and go.work workspaces, for teams coming from .NET solutions with shared projects and many services.

4 min read · Step Over to Go
3 Jan 2025

Organising a Real Project

How to organise a real Go project. Packages, internal directories, cmd layouts and why .NET's solution and namespace hierarchy does not translate.

6 min read · Step Over to Go
3 Jan 2025

Testing Without a Framework

Testing in Go with the built-in testing package instead of xUnit or NUnit. Table-driven tests, subtests, test helpers and coverage.

5 min read · Step Over to Go
2 Jan 2025

Composition Over Inheritance (For Real This Time)

Go has no inheritance at all. How struct embedding replaces C# class hierarchies, and why it stops being frightening after the first week.

6 min read · Step Over to Go
2 Jan 2025

Implicit Interfaces: Scary Then Brilliant

Go interfaces are satisfied implicitly, with no implements keyword. Why that feels like chaos to C# developers and why it turns out to be better.

6 min read · Step Over to Go
2 Jan 2025

The Empty Interface and Type Assertions

Go's any type explained for C# developers. How type assertions and type switches compare to object and casting, and when reaching for any is a mistake.

6 min read · Step Over to Go
1 Jan 2025

Async/Await vs Goroutines: A Mindset Shift

Goroutines explained for C# developers who think in async/await and Task. No coloured functions, no thread affinity, and a different mental model.

6 min read · Step Over to Go
1 Jan 2025

Channels: The sync You Didn't Know You Wanted

Go channels explained for C# developers who know BlockingCollection and message passing. Buffered, unbuffered, closing, ranging and the classic gotchas.

5 min read · Step Over to Go
1 Jan 2025

Context Is King

Go's context.Context compared with C# CancellationToken. Cancellation, deadlines and request-scoped values, and why every I/O function takes one.

5 min read · Step Over to Go
1 Jan 2025

Mutexes and WaitGroups: When Channels Aren't the Answer

Mutexes, RWMutex, WaitGroup, Once and atomic in Go's sync package, compared with lock and SemaphoreSlim in C#. When to use them instead of channels.

5 min read · Step Over to Go
1 Jan 2025

select: Multiplexing Like a Pro

Go's select statement for multiplexing channels. Timeouts, non-blocking operations and cancellation, compared with Task.WhenAny in C#.

5 min read · Step Over to Go
31 Dec 2024

Pointers Without the Pain

Pointers in Go for C# developers who have never needed them. Value versus pointer receivers, when to pass by pointer, and why it is less scary than it sounds.

7 min read · Step Over to Go
31 Dec 2024

Slices Are Not Arrays (And Neither Is List<T>)

Go slices are not arrays and not List<T>. Length, capacity, shared backing arrays and the append gotchas that catch every C# developer.

6 min read · Step Over to Go
31 Dec 2024

Stack vs Heap: Go's Escape Analysis

How Go decides between stack and heap at compile time. Escape analysis explained for C# developers used to value types and the garbage collector.

6 min read · Step Over to Go
30 Dec 2024

if err != nil: Your New Reality

Go error handling for C# developers. Why if err != nil replaces exceptions, how to wrap and inspect errors, and when the verbosity pays off.

6 min read · Step Over to Go
30 Dec 2024

Panic and Recover: The Emergency Exit

Go's panic and recover look like exceptions but are not meant to be used like them. When they belong, and why Go developers judge you for throwing.

5 min read · Step Over to Go
30 Dec 2024

The switch Statement You Always Wanted

Go's switch statement compared with C# switch and pattern matching. No fallthrough by default, tagless switches, type switches and the surprises.

6 min read · Step Over to Go
29 Dec 2024

Generics: Late to the Party

Go generics compared with C# generics. Type parameters, constraints and the deliberate limits that stop you building your usual abstractions.

6 min read · Step Over to Go
29 Dec 2024

No Enums? No Problem (Sort Of)

Go has no enums. How iota, typed constants and stringer stand in for C# enums, and where the substitute falls short.

7 min read · Step Over to Go
29 Dec 2024

The Million Dollar Mistake, Differently

Go's nil compared with C# nullable reference types. Nil pointers, nil slices, nil maps, the nil interface trap and how to stay safe without the compiler's help.

6 min read · Step Over to Go
29 Dec 2024

Where Did My Properties Go?

Go has no properties and no public or private keywords. How capitalisation controls visibility, and how to encapsulate without getters and setters.

6 min read · Step Over to Go
29 Dec 2024

Your Class Is Now a Struct (And That's Fine)

Go has structs, not classes. How methods, constructors and encapsulation work without inheritance, for C# developers who design class hierarchies.

6 min read · Step Over to Go
28 Dec 2024

Goodbye .csproj, Hello go.mod

Go modules and go.mod explained for .NET developers used to NuGet and csproj. No registry, no version ranges, and why it works anyway.

6 min read · Step Over to Go
28 Dec 2024

The Phrasebook: C# Concepts in Go Terms

A C# to Go phrasebook. Familiar .NET concepts, keywords and operators mapped to their Go equivalents in one bookmarkable reference.

8 min read · Step Over to Go
28 Dec 2024

You Know .NET, Now Meet the Go Toolchain

A .NET developer's first look at the Go toolchain. go build, go run, go test and go mod compared with the dotnet CLI and MSBuild.

6 min read · Step Over to Go

Get the next one by email

One post a week, Tuesday mornings. No noise in between.

© 2026 Andy Cross · RSS