<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>English - Generic-Go (Series) Feed</title><link>https://codepros.org/series/generic-go/</link><description>Recent content</description><generator>Hugo 0.147.1</generator><language>en</language><lastBuildDate>Sat, 18 Apr 2026 12:58:00 +0000</lastBuildDate><atom:link href="https://codepros.org/series/generic-go/index.xml" rel="self" type="application/rss+xml"/><category>Generic-Go</category><item><title>Intro to Generics in Go: Type Parameters, Type Inference and Constraints</title><link>https://codepros.org/blog/golang-generics-introduction/</link><pubDate>Sun, 23 Jan 2022 21:10:00 -0500</pubDate><guid>https://codepros.org/blog/golang-generics-introduction/</guid><category>generic-programming</category><category>go</category><category>triangle-go</category><category>interface</category><category>reflection</category><description>&lt;p>Generic programming for statically typed languages is a tool for building
maintainable software. Generics have a lot of advantages and can create
infinitely reusable code, they do however, have a history of being overused and
misunderstood leading to anti-patterns&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup>. Due to the regularity of misuse the
Go team has been reluctant to add generics to the language.&lt;/p>
&lt;p>Beginning in February 2022, Go will introduce generics support in its 1.18
release&lt;sup id="fnref:2">&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref">2&lt;/a>&lt;/sup>. The Go team spent many years researching and experimenting with
different implementations of generics and their implications for Go. The Go team
believes they have found an implementation that is both effective and, more
importantly, maintains the simplicity of the language.&lt;sup id="fnref:3">&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref">3&lt;/a>&lt;/sup>&lt;/p></description></item><item><title>An Overview of Generic Programming: Writing Code with Arbitrary Types</title><link>https://codepros.org/blog/generic-programming-in-software-engineering/</link><pubDate>Sat, 22 Jan 2022 20:10:00 -0500</pubDate><guid>https://codepros.org/blog/generic-programming-in-software-engineering/</guid><category>computing-basics</category><category>generic-programming</category><category>abstraction</category><category>interface</category><category>reflection</category><description>&lt;p>Generic Programming is a specialized form of programming in some languages
(primarily statically typed languages) where code is written to process objects
of &lt;strong>&lt;em>any&lt;/em>&lt;/strong> arbitrary type. The distinction between generic programming and&lt;picture>
&lt;source type="image/webp"
srcset="https://codepros.org/blog/generic-programming-in-software-engineering/images/generic-meme_hu_f44e63704aa27600.webp 1x"
sizes="(max-width: 768px) 100vw, 768px">
&lt;img class="img-fluid float-end me-3 mb-3"
src="https://codepros.org/blog/generic-programming-in-software-engineering/images/generic-meme_hu_e616330fdc0b64fc.png"
srcset="https://codepros.org/blog/generic-programming-in-software-engineering/images/generic-meme_hu_e616330fdc0b64fc.png 1x"
sizes="(max-width: 768px) 100vw, 768px"
width="200"
height="137"
alt="A
meme with a black background and text reading &amp;amp;ldquo;generic
meme&amp;amp;rdquo;"
loading="eager"
decoding="async"
style="max-width: 200px" />
&lt;/picture>normal
programming is when writing generic code the &amp;ldquo;type&amp;rdquo; (often denoted &lt;code>T&lt;/code>) of the
data is not explicitly stated. The generic programming paradigm is challenging
to master because it requires a high level of abstraction (ignoring the type of
data in its entirety).&lt;/p></description></item></channel></rss>