blog/public/index.xml
2024-12-02 02:33:20 +01:00

34 lines
4.7 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Home on vulpine solutions</title>
<link>https://blog.vulpine.solutions/</link>
<description>Recent content in Home on vulpine solutions</description>
<generator>Hugo</generator>
<language>en-gb</language>
<copyright>sam, CC-BY-SA 4.0</copyright>
<lastBuildDate>Mon, 02 Dec 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://blog.vulpine.solutions/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>rust is good, just not for me</title>
<link>https://blog.vulpine.solutions/blog/rust-is-good-just-not-for-me/</link>
<pubDate>Mon, 02 Dec 2024 00:00:00 +0000</pubDate>
<guid>https://blog.vulpine.solutions/blog/rust-is-good-just-not-for-me/</guid>
<description>&lt;p&gt;Rust is the big new&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; thing in just about every programming niche. web frameworks? of course there&amp;rsquo;s a Rust one! in fact, there&amp;rsquo;s dozens of them. command line tools? good luck finding one that &lt;em&gt;isn&amp;rsquo;t&lt;/em&gt; written in Rust these days. databases? oops, all Rust!&lt;/p&gt;&#xA;&lt;p&gt;all of this carcinisation&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; has me feeling kind of left out, though. you see, i&amp;rsquo;ve never really vibed with Rust: i have tried it multiple times, even building a handful of (unfinished, naturally) projects with it, but i always bounce off of it eventually. for a long time, i attributed this to Rust just not being what it&amp;rsquo;s hyped up to be, that it&amp;rsquo;s actually a lot worse than everyone says it is, but&amp;hellip; it really isn&amp;rsquo;t. it &lt;em&gt;is&lt;/em&gt; a good programming language. a great one, in fact! i want to dig a little deeper into &lt;em&gt;why&lt;/em&gt; i, personally, don&amp;rsquo;t vibe with it. (not very deep, mind you, because self-reflection is difficult as &lt;em&gt;hell&lt;/em&gt;)&lt;/p&gt;</description>
</item>
<item>
<title>go&#39;s panics are fundamentally flawed</title>
<link>https://blog.vulpine.solutions/blog/go-panics-are-fundamentally-flawed/</link>
<pubDate>Tue, 05 Nov 2024 00:00:00 +0000</pubDate>
<guid>https://blog.vulpine.solutions/blog/go-panics-are-fundamentally-flawed/</guid>
<description>&lt;p&gt;&lt;em&gt;(alternative title: &lt;code&gt;panic()&lt;/code&gt; considered harmful)&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;errors-how-do-they-work-anyway&#34;&gt;errors, how do they work anyway?&lt;/h2&gt;&#xA;&lt;p&gt;errors in Go programs are represented by values. when calling a function that may return an error, it&amp;rsquo;ll return &lt;code&gt;(T, error)&lt;/code&gt;, and you can handle the error the same way you would any other value.&lt;/p&gt;&#xA;&lt;p&gt;(note: the &lt;code&gt;(T, error)&lt;/code&gt; syntax doesn&amp;rsquo;t imply Go has tuples, because it doesn&amp;rsquo;t. functions can just return multiple values.)&lt;/p&gt;&#xA;&lt;p&gt;now, this approach does have some problems. Go lets you ignore the error very easily, by using the discard operator &lt;code&gt;_&lt;/code&gt; rather than assigning it to a variable. it&amp;rsquo;s also extremely verbose&amp;ndash;anyone who has used Go a substantial amount has written &lt;code&gt;if err != nil { return err }&lt;/code&gt; a thousand times. both of these issues are fixable, though: the compiler could emit a warning or an error (heh) when discarding an error value, and new syntax could be introduced to bubble errors up more easily.&lt;/p&gt;</description>
</item>
<item>
<title>hello world!</title>
<link>https://blog.vulpine.solutions/blog/hello-world/</link>
<pubDate>Mon, 04 Nov 2024 00:00:00 +0000</pubDate>
<guid>https://blog.vulpine.solutions/blog/hello-world/</guid>
<description>&lt;p&gt;oh hey, it&amp;rsquo;s the stereotypical &amp;ldquo;hello world&amp;rdquo; post. look at me! i copy pasted a hugo tutorial!&lt;/p&gt;&#xA;&lt;p&gt;turns out making a blog is really difficult, and not for technical reasons. it&amp;rsquo;s just really hard to actually write things consistently.&#xA;i can&amp;rsquo;t promise anything in that regard&amp;ndash;expect this site to get about one post a year, and that&amp;rsquo;s &lt;em&gt;if&lt;/em&gt; i actually remember it exists.&lt;/p&gt;&#xA;&lt;p&gt;until then though, have fun reading the one rant i&amp;rsquo;ve already written. hope you like go because if not, it probably isn&amp;rsquo;t for you!&lt;/p&gt;</description>
</item>
</channel>
</rss>