It gets better when scales
01.11.2025 05:35 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0@crusty0gphr.bsky.social
๐ฅฒ โฎโฎโฎโฎโฎโฎโฏโฏโฏ ๐ซ | Go๐ช | Beer-Driven-Development ๐บ | Yet Another Golang Developer
It gets better when scales
01.11.2025 05:35 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Abstraction is a simplified view of an entity , which omits unimportant details. Abstraction is a part of simplification and a key to modularity.
Go generics are debatable. This was an entirely community-requested feature to remove some boilerplate from runtime code.
Go's json package, conceptually, has better design. It is a product of a design choice that values simplicity and high abstraction.
31.10.2025 07:35 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 1Rust & Zig (Bun): "We know everything about the data structure. Use that to generate perfect, specialized code possible."
Go: "We have no idea what data structure we'll get at runtime. We must be prepared to handle anything the user throws at us. We'll inspect the structure when we get it."
Well, there are a fundamental difference in concepts how Zig (Bun), Rust and Go work with json. Go's json package is reflection heavy. It is also bound by the GC.
31.10.2025 07:35 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0๐ก The most impacting change in software engineering industries:
๐ Back then: google it, for sure someone else had the same problem.
๐คช Now: ask GPT, it knows how
The sign you've hit senior engineer status:
Your answer to โWhat's the best tech stack?" is automatically โIt depends."
#programming #softwareengineering
How legacy code always seems to end up as one big mess? It's a buildup of all those "temp" expedient shortcuts we take under pressure. Connections in the system get so twisted that no one can reason out the consequences of a change. That's when the fun stops and the headaches begin.
#Programming
TODO is a ๐งotally ๐ขptional, ๐elay ๐ขpportunity.
Every single TODO is a precious promise we made to our future selves that they'd be too busy fighting new fires to ever dig up that old code.
Honestly, we're not procrastinating, we're just spelling ๐ก๐ฒ๐๐ฒ๐ฟ๐๐ข with a fewer letters.
#Programming #meme
Go 1.25 introduces a new method .Go() for the sync.WaitGroup type. With the introduction of the method the process finally has been simplified and made safer. It removes the manual management of the counter. Less code less bugs.
pkg.go.dev/sync@master#...
#go #golang
grep and awk
01.08.2025 06:37 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0If youโre not sure about switching to Go, consider this ๐
#go #golang #funny
Common anti-pattern thatโs extremely dangerous
dev.to/crusty0gphr/...
#go #golang
This one actually will print "something went wrong".
The difference is how return value is declared and initialized to its zero value on the stack frame. This affects the defer closure.
This is a very dangerous concept. I lost a week of debugging a problem with a similar implementation.
Your answer is correct btw ๐
04.07.2025 14:08 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Good catch, there was a trap ๐ชค
What about this one? ๐
โจ Quiz time!
- What will be printed? -
1. something went wrong
2. something else went wrong
3. nil
------------------------
Try your luck, let's start a comment war ๐
I plan to write an article about this next week and want to understand how many of you know how this behaves.
#go #golang #quiz
A nice article about "Finding performance problems by diffing two Go profiles"
#golang
www.dolthub.com/blog/2025-0...
๐ต Green Tea is now a garbage collector.
Green Tea is experimental Span-based Scanning approach, instead of processing individual objects, the garbage collector now scans memory in "much larger, contiguous blocks" referred to as spans.
github.com/golang/go/is...
#go #golang #development
After hearing this a lot: "no debugger = no Zed"โweโre excited to share that Zed's Debugger has finally launched! ๐
zed.dev/debugger
This is a thing I've noticed for myself. If I code the solution myself, I'm more aware of what I'm doing. When I generate tests, I feel disconnected from the project. After generating a few lines of code, bug fixing feels a bit quirky, like I've lost the context of what I'm doing.
11.06.2025 19:41 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Writing the code by hand provides a more complete theory of it than 'tabbing' AI generated results.
What do you think about this? Does all this vibe coding actually make you feel numb?
#ai #vibecode
Goroutine chain shutdown with contexts on @dev.to
dev.to/crusty0gphr/...
#go #golang #contexts
On stage: "Imagine that everyone is naked"
On code review: "Imagine the code was vibed"
#ai #Developers #SoftwareDevelopment
Over the years, there were numerous proposals to add try/cache logic, error handling wrappers to minimize the bloat, but Go's team states that there wonโt be syntactic language changes for error handling.
go.dev/blog/error-s...
#golang #go #SoftwareDevelopment #Programming
Itโs more efficient than using map. You can have iota enums and assign values to them in a slice. Uses smaller memory footprint.
04.06.2025 06:16 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Iโm talking about โฆ operator ๐ I thought your post is about it, then I looked carefully what you mean
03.06.2025 15:28 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0This actually is very useful. In scenarios where you have a static length array with constants, which might change over time by developers. You donโt have to manually count how many additional elements you have added and update the length. Case will be handled by the compiler.
03.06.2025 15:25 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Also, Nothing phone is another glass sandwich which Iโm starting to hate. I want a durable phone made of good quality plastic.
02.06.2025 17:02 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0I really like Fedora. I haven't used it for a while, but it's my favorite distro.
Honestly, I don't like the Nothing Phone. I've never used it, but its design makes me want to avoid it.