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

AstonJ
Lots of cool stuff in this release! This release brings a number of exciting features, including integration with the new Phoenix LiveD...
New
First poster: bot
Spring v5.3.0 has been released. Link: Release v5.3.0 · spring-projects/spring-framework · GitHub
New
First poster: bot
A new Rust blog post/announcement has been posted! Get the full details here: Announcing Rustup 1.23.0 | Rust Blog
New
First poster: bot
Node.js v12.20.0, v15.3.0 and v14.15.1 has been released. Link: Release 2020-11-24, Version 12.20.0 'Erbium' (LTS), @mylesborins · node...
New
First poster: bot
Laravel v8.5.14 has been released. Link: Release v8.5.14 · laravel/laravel · GitHub
New
First poster: bot
Node.js v14.19.0 has been released. Link: Release 2022-02-01, Version 14.19.0 'Fermium' (LTS), @richardlau · nodejs/node · GitHub
New
First poster: bot
Node.js v16.17.0 has been released. Link: https://github.com/nodejs/node/releases/tag/v16.17.0
New
First poster: brennan
A new Gleam blog post/announcement has been posted! Get the full details here: Hello echo! Hello git! - Gleam
New
NewsBot
A new PostgreSQL blog post/announcement has been posted! Get the full details here: PostgreSQL: PostgreSQL JDBC 42.7.7 Security update ...
New
NewsBot
Node.js v24.7.0 has been released. Link: Release 2025-08-27, Version 24.7.0 (Current), @targos · nodejs/node · GitHub
New

Other popular topics Top

brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
AstonJ
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
New
PragmaticBookshelf
Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
First poster: AstonJ
Jan | Rethink the Computer. Jan turns your computer into an AI machine by running LLMs locally on your computer. It’s a privacy-focus, l...
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
PragmaticBookshelf
Use advanced functional programming principles, practical Domain-Driven Design techniques, and production-ready Elixir code to build scal...
New