NewsBot

NewsBot

Go: When To Use Generics

A new Go blog post/announcement has been posted!

Get the full details here: When To Use Generics - The Go Programming Language

Most Liked

OvermindDL1

OvermindDL1

Let’s start with a general guideline for programming Go: write Go programs by writing code, not by defining types.

This is utterly horrifying and is one of the worst things about the whole go model.

Programs are something that translate data from one format to another, generally by a whole series of transformations internally. Not thinking about your data model from the beginning is horrifying. Types should come first, so you know that it is in a good format at every step. Then and only then do you write transformations (functions) between them.

Where Next?

Popular Backend topics Top

bot
Symfony v4.4.14 has been released. Link: Release v4.4.14 · symfony/symfony · GitHub
New
NewsBot
A new PostgreSQL blog post/announcement has been posted! Get the full details here: PostgreSQL: Announcing the release of Apache AGE 0.3.0
New
First poster: bot
Circle is a new programming language that extends C++ 17 to support data-driven imperative metaprogramming. Circle combines the immediacy...
New
First poster: dimitarvp
A new Rust blog post/announcement has been posted! Get the full details here: Announcing Rust 1.53.0 | Rust Blog
New
First poster: OvermindDL1
Today we are happy to announce axum: An easy to use, yet powerful, web framework designed to take full advantage of the Tokio ecosystem. ...
New
First poster: OvermindDL1
A new Lunatic blog post/announcement has been posted! Get the full details here: https://lunatic.solutions/writing-rust-the-elixir-way/
New
NewsBot
A new R blog post/announcement has been posted! Get the full details here: R on 64-bit ARM Windows - The R Blog
New
New
NewsBot
Zig 0.14.1 has been released. Link: Release 0.14.1 · ziglang/zig · GitHub
New
NewsBot
A new Rust blog post/announcement has been posted! Get the full details here: https://blog.rust-lang.org/2025/12/11/Rust-1.92.0/
New

Other popular topics Top

Devtalk
Hello Devtalk World! Please let us know a little about who you are and where you’re from :nerd_face:
New
PragmaticBookshelf
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
NewsBot
Node.js v22.14.0 has been released. Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New