Generics in the decode function are useful to avoid type assertion on the returned value.
But here in the encode function the type T is not returned or exploited by the encode function itself, so it's probably not needed. To say a banality: "less is more" 😬
Hey @matryer, just finished reading your insightful article on writing HTTP services in Go! 🚀 Really appreciate the tips and tricks you shared. One suggestion: how about a refactoring to remove generics from the encode function? Could streamline things even further! 🛠️ #golang
Hey @TIM_Official ciao!
Negli ultimi tre giorni lavorativi ho ricevuto circa 50 telefonate indesiderate dai vostri venditori.
Volete fare qualcosa o devo denunciarvi per stalking?
Guarda caso capita sempre quando faccio segnalazioni gusti al mio operatore @VodafoneIT
Probably the best thing you'll see today.
In 2017, a group of developers hilariously competed for who could create worst volume control interface in the world.
The results 🧵
1/22
This huge seaside property in the city of Pesaro (🇮🇹) is the villa of the Matvienko family. Valentina Matvienko is the head of the Federation Council (upper house of the Russian Parliament). Valentina's signature stands under the decrees to start the war with Ukraine.
@tobias_petry@colinodell https://t.co/jvt33HUA38 the lack of some images worries me a bit. Moreover Docker 4 mac (on Intel chip) is not only slow, but also unstable (e.g. File sync goes out of sync suddenly)
You have two options:
1. of all the naming conventions (camelCase, PascalCase, kebab-case and snake_case) you can make them all disappear instantly except one: the one you hate the most.
2. Leave everything as it is.
#namingConventions#programmingjokes#programming
“Inseriscila su Google: se ti restituisce meno di 10 risultati significa che è una buona password.” @FinecoLive, è un pesce d'aprile anticipato? O siete seri?