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

First poster: bot
Symfony v5.2.0-BETA1 has been released. Link: Release v5.2.0-BETA1 · symfony/symfony · GitHub
New
First poster: bot
Julia v1.5.4 has been released. Link: Release v1.5.4 · JuliaLang/julia · GitHub
New
First poster: AstonJ
A new Crystal blog post/announcement has been posted! Get the full details here: Crystal 1.0 - What to expect - The Crystal Programming...
New
NewsBot
Gleam v0.16.0 and v0.16.0-rc4 has been released. Link: Release v0.16.0 · gleam-lang/gleam · GitHub Link: Release v0.16.0-rc4 · gleam-...
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: bot
Julia v1.7.0-beta1 has been released. Link: Release v1.7.0-beta1 · JuliaLang/julia · GitHub
New
First poster: bot
A new PostgreSQL blog post/announcement has been posted! Get the full details here: PostgreSQL: PostgreSQL JDBC 42.3.2/42.2.25 Security...
New
First poster: bot
A new Rust blog post/announcement has been posted! Get the full details here: Security advisory for the regex crate (CVE-2022-24713) | ...
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
NewsBot
A new Go blog post/announcement has been posted! Get the full details here: Traversal-resistant file APIs - The Go Programming Language
New

Other popular topics Top

AstonJ
A thread that every forum needs! Simply post a link to a track on YouTube (or SoundCloud or Vimeo amongst others!) on a separate line an...
New
DevotionGeo
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
AstonJ
Or looking forward to? :nerd_face:
483 11078 254
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1147 28379 760
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
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
New
PragmaticBookshelf
Explore the power of Ash Framework by modeling and building the domain for a real-world web application. Rebecca Le @sevenseacat and ...
New