generics_aren_t_ready_for_go_drew_devault_s_blog.html (2240B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <!-- Sep 03, 2024 --> 5 <meta charset="utf-8" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1" /> 7 <title>Generics aren’t ready for Go | Drew DeVault’s Blog</title> 8 <meta name="author" content="Vincent Demeester" /> 9 <meta name="generator" content="Org Mode" /> 10 <link rel='icon' type='image/x-icon' href='/images/favicon.ico'/> 11 <meta name='viewport' content='width=device-width, initial-scale=1'> 12 <link rel='stylesheet' href='/css/new.css' type='text/css'/> 13 <link rel='stylesheet' href='/css/syntax.css' type='text/css'/> 14 <link href='/index.xml' rel='alternate' type='application/rss+xml' title='Vincent Demeester' /> 15 </head> 16 <body> 17 <main id="content" class="content"> 18 <header> 19 <h1 class="title">Generics aren’t ready for Go | Drew DeVault’s Blog</h1> 20 </header><p> 21 Have you ever seen someone write something to the effect of “I would use Go, but I need 22 generics”? Perhaps we can infer from this that many of the people who are pining after 23 generics in Go are not, in fact, Go users. Many of them are users of another programming 24 language that does have generics, and they feel that generics are a good fit for this 25 language, and therefore a good fit for any language. The inertia of “what I’m used to” 26 comes to a violent stop when they try to use Go. People affected by this frustration 27 interpret it as a problem with Go, that Go is missing some crucial feature - such as 28 generics. But this lack of features is itself a feature, not a bug. 29 </p> 30 </main> 31 <footer id="postamble" class="status"> 32 <footer> 33 <small><a href="/" rel="history">Index</a> • <a href="/sitemap.html">Sitemap</a> • <a href="https://dl.sbr.pm/">Files</a></small><br/> 34 <small class='questions'>Questions, comments ? Please use my <a href="https://lists.sr.ht/~vdemeester/public-inbox">public inbox</a> by sending a plain-text email to <a href="mailto:~vdemeester/public-inbox@lists.sr.ht">~vdemeester/public-inbox@lists.sr.ht</a>.</small><br/> 35 <small class='copyright'> 36 Content and design by Vincent Demeester 37 (<a rel='licence' href='http://creativecommons.org/licenses/by-nc-sa/3.0/'>Some rights reserved</a>) 38 </small><br /> 39 </footer> 40 </footer> 41 </body> 42 </html>