paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7bb2bb6dbde9f900778aff991c8f084ea1c20ad7
parent c99c924d83ad45e198e5044a989e2b53926cb7ad
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Thu, 28 May 2020 00:02:46 -0400

Publish new blog post

Diffstat:
Mpages/blog.md | 1+
Apages/blog/i-like-perl.md | 67+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mpages/home.md | 4++--
Mpublic/feeds/sitewide-feed.xml | 19+++++++++++++++++++
Mpublic/sitemap.xml | 1+
5 files changed, 90 insertions(+), 2 deletions(-)

diff --git a/pages/blog.md b/pages/blog.md @@ -20,6 +20,7 @@ href="https://social.paritybit.ca/@jbauer">Mastodon</a>. ### 2020 <ul> + <li>2020-05-27 <a href="blog/i-like-perl">I Like Perl</a></li> <li>2020-05-26 <a href="blog/choosing-a-self-hosted-git-service">Choosing a Self-Hosted Git Service</a></li> <li>2020-05-25 <a href="blog/going-from-user-to-contributor-with-foss">Going From User to Contributor With FOSS</a></li> <li>2020-05-25 <a href="blog/paying-for-software">Paying for Software</a></li> diff --git a/pages/blog/i-like-perl.md b/pages/blog/i-like-perl.md @@ -0,0 +1,67 @@ +## I Like Perl + +[//]: # "Perl gets a lot of heat on the Internet, especially when compared to 'modern' languages. I, however, actually really like perl." + +[//]: # "main.min.css" + +[//]: # + +<div class="byline"> +<b>Written By:</b> Jake Bauer | + <b>Posted:</b> 2020-05-27 | + <b>Last Updated:</b> 2020-05-27 +</div> + +There. I said it. + +I don't have years of experience writing Perl, but what I've seen and done so +far makes me like it a lot when I compare it to other languages such as Python. +[The Perl documentation](https://perldoc.perl.org/) is really good, there are a +ton of useful tutorials online since it has been around for so long, I like its +package management (mostly the fact that nearly everything I want is in my +distro's standard repos), there are a ton of high-quality modules available, and +I really like its syntax. + +The official Perl documentation has been the most useful resource as I've been +learning and using the language. The [Perl +tutorials](https://learn.perl.org/tutorials/) also got me up and running really +quickly and explained things clearly. Whenever I have a question about something +in Perl, I can typically find the answer really quickly using the official +documentation or code samples online. + +Perl also has the long-standing CPAN (Comprehensive Perl Archive Network) which +is a repository of Perl modules similar to PyPi or npm. Due to how long Perl has +been around, there are a bunch of high-quality modules available. It also +doesn't have the same problems as npm with things like [malware being +uploaded](https://blog.npmjs.org/post/163723642530/crossenv-malware-on-the-npm-registry), +and it feels easier to use than PyPi. + +I love the fact that Perl uses semi-colons (`;`) and braces (`{}`) unlike Python +which relies on whitespace for differentiating indented code blocks and lines of +code. I'm also really fond of the simple ways to do things in Perl such as +killing the script when something doesn't work with `or die`, and outputting to +stderr with `warn`. + +There's also this indescribable feeling of joy I get whenever I program in Perl +(and, by extension, in shell script). The freedom that I have to solve a problem +and the ability to do it in so many different ways engages my brain in ways that +other languages like Lua and Python don't. Perl is still a true-to-its-name +scripting language, and the fact that its available on just about every platform +means that scripts written in Perl are usually portable by default. + +Perl has a reputation for being a write-only language because of the number of +scripts which use esoteric, hard to read, symbol-based syntax. Perl doesn't have +to be written this way though, it simply allows one to do it because Perl +doesn't impose strict "one way to do things" rules like Python does. Clean, +readable Perl can be and is written fairly easily. Using `use strict;` and `use +warnings;` as well as tools like `Perl::Critic` and `Perl::Tidy` also help one +to write clean, readable code. + +Python may be better suited to building larger applications now, but Perl is +still really good for scripts, simpler applications, and is, in my opinion, the +gold standard for advanced text processing. + +_This is my thirty-first post for the +[#100DaysToOffload](https://social.paritybit.ca/tags/100DaysToOffload) +challenge. You can learn more about this challenge over at +[https://100daystooffload.com](https://100daystooffload.com)._ diff --git a/pages/home.md b/pages/home.md @@ -20,6 +20,8 @@ extent)! Access through `gopher://paritybit.ca` or `gemini://paritybit.ca`. src="/img/feed-icon.png" width="15" height="15" alt="Click for RSS Feed"/> </a> </div> +2020-05-27 <a class="feed-item" href="blog/i-like-perl">I Like Perl</a> + 2020-05-26 <a class="feed-item" href="blog/choosing-a-self-hosted-git-service">Choosing a Self-Hosted Git Service</a> 2020-05-25 <a class="feed-item" href="blog/going-from-user-to-contributor-with-foss">Going From User to Contributor With FOSS</a> @@ -39,8 +41,6 @@ extent)! Access through `gopher://paritybit.ca` or `gemini://paritybit.ca`. 2020-05-17 <a class="feed-item" href="blog/setting-up-gpg-keys-from-scratch">Setting Up GPG Keys from Scratch</a> -2020-05-16 <a class="feed-item" href="blog/self-hosting-email">Self-Hosting Email</a> - ### What is a Parity Bit? It is a bit (in the 1's and 0's sense) used in checking for errors in digital diff --git a/public/feeds/sitewide-feed.xml b/public/feeds/sitewide-feed.xml @@ -7,6 +7,25 @@ <description>The feed that covers all notable additions, updates, announcements, and other changes for the entire paritybit.ca website.</description> <item> + <title>I Like Perl</title> + <link>https://www.paritybit.ca/blog/i-like-perl</link> + <guid>https://www.paritybit.ca/blog/i-like-perl</guid> + <pubDate>Wed, 27 May 2020 23:57:26 -0400</pubDate> +<description><![CDATA[<h2 id="i-like-perl">I Like Perl</h2> +<div class="byline"> +<p><b>Written By:</b> Jake Bauer | <b>Posted:</b> 2020-05-27 | <b>Last Updated:</b> 2020-05-27</p> +</div> +<p>There. I said it.</p> +<p>I don’t have years of experience writing Perl, but what I’ve seen and done so far makes me like it a lot when I compare it to other languages such as Python. <a href="https://perldoc.perl.org/">The Perl documentation</a> is really good, there are a ton of useful tutorials online since it has been around for so long, I like its package management (mostly the fact that nearly everything I want is in my distro’s standard repos), there are a ton of high-quality modules available, and I really like its syntax.</p> +<p>The official Perl documentation has been the most useful resource as I’ve been learning and using the language. The <a href="https://learn.perl.org/tutorials/">Perl tutorials</a> also got me up and running really quickly and explained things clearly. Whenever I have a question about something in Perl, I can typically find the answer really quickly using the official documentation or code samples online.</p> +<p>Perl also has the long-standing CPAN (Comprehensive Perl Archive Network) which is a repository of Perl modules similar to PyPi or npm. Due to how long Perl has been around, there are a bunch of high-quality modules available. It also doesn’t have the same problems as npm with things like <a href="https://blog.npmjs.org/post/163723642530/crossenv-malware-on-the-npm-registry">malware being uploaded</a>, and it feels easier to use than PyPi.</p> +<p>I love the fact that Perl uses semi-colons (<code>;</code>) and braces (<code>{}</code>) unlike Python which relies on whitespace for differentiating indented code blocks and lines of code. I’m also really fond of the simple ways to do things in Perl such as killing the script when something doesn’t work with <code>or die</code>, and outputting to stderr with <code>warn</code>.</p> +<p>There’s also this indescribable feeling of joy I get whenever I program in Perl (and, by extension, in shell script). The freedom that I have to solve a problem and the ability to do it in so many different ways engages my brain in ways that other languages like Lua and Python don’t. Perl is still a true-to-its-name scripting language, and the fact that its available on just about every platform means that scripts written in Perl are usually portable by default.</p> +<p>Perl has a reputation for being a write-only language because of the number of scripts which use esoteric, hard to read, symbol-based syntax. Perl doesn’t have to be written this way though, it simply allows one to do it because Perl doesn’t impose strict “one way to do things” rules like Python does. Clean, readable Perl can be and is written fairly easily. Using <code>use strict;</code> and <code>use warnings;</code> as well as tools like <code>Perl::Critic</code> and <code>Perl::Tidy</code> also help one to write clean, readable code.</p> +<p>Python may be better suited to building larger applications now, but Perl is still really good for scripts, simpler applications, and is, in my opinion, the gold standard for advanced text processing.</p> +<p><em>This is my thirty-first post for the <a href="https://social.paritybit.ca/tags/100DaysToOffload">#100DaysToOffload</a> challenge. You can learn more about this challenge over at <a href="https://100daystooffload.com" class="uri">https://100daystooffload.com</a>.</em></p>]]></description> +</item> +<item> <title>Choosing a Self-Hosted Git Service</title> <link>https://www.paritybit.ca/blog/choosing-a-self-hosted-git-service</link> <guid>https://www.paritybit.ca/blog/choosing-a-self-hosted-git-service</guid> diff --git a/public/sitemap.xml b/public/sitemap.xml @@ -3,6 +3,7 @@ <url><loc>https://www.paritybit.ca</loc></url> <url><loc>https://www.paritybit.ca/home</loc></url> <url><loc>https://www.paritybit.ca/blog</loc></url> + <url><loc>https://www.paritybit.ca/blog/i-like-perl</loc></url> <url><loc>https://www.paritybit.ca/blog/choosing-a-self-hosted-git-service</loc></url> <url><loc>https://www.paritybit.ca/blog/going-from-user-to-contributor-with-foss</loc></url> <url><loc>https://www.paritybit.ca/blog/paying-for-software</loc></url>