clone url: git://


1 <!DOCTYPE html>
2 <html xmlns="" lang="en" xml:lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <meta name="generator" content="pandoc" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
7 <title>What I like about the Scheme community</title>
8 <style>
9 code{white-space: pre-wrap;}
10 span.smallcaps{font-variant: small-caps;}
11 span.underline{text-decoration: underline;}
12 div.column{display: inline-block; vertical-align: top; width: 50%;}
13 div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
14 ul.task-list{list-style: none;}
15 </style>
16 <link rel="stylesheet" href="/assets/archive.css">
17 </head>
18 <body>
19 <main>
20 <h2 id="what-i-like-about-the-scheme-community">What I like about the Scheme community</h2>
21 <p>2020-01-13 00:00</p>
22 <p>One thing I really enjoy about the <a href="">Scheme</a> programming language is the community that comes along with it. In this blog post, I’m going to do more of an unstructured talk about my understanding of Scheme, its standards, implementations, and its various communities. I might be wrong, but, as I said, this is my understanding of it as someone who has spent time learning about it as a hobby, and as someone without a computer background.</p>
23 <p>If you aren’t familiar with Scheme, it’s an umbrella term for a set of programming language standards and implementations that are built around those standards. Scheme, itself, also falls under an umbrella term for a set of programming language standards and implementations called <a href="">Lisps</a>.</p>
24 <p>When I first started getting into programming, one of the hardest things for me to wrap my head around, as a person without a computer background, was understanding the difference between a standard and an implementation. I’m going to introduce these concepts to you below.</p>
25 <h3 id="scheme-standards">Scheme standards</h3>
26 <p>In the programming world, as far as I know it, standards are kind of like a set of rules that something should follow. To compare, imagine we made a standard for writing a document:</p>
27 <ul>
28 <li>Paragraphs should not be longer than five sentences</li>
29 <li>Each sentence must end with a period</li>
30 <li>Each section in the document should have a heading</li>
31 </ul>
32 <p>... and probably many more rules. After, we would formalize these rules into a document that writers could reference.</p>
33 <p>This is similar to how Scheme standards work. Someone writes a standard, and people build programming languages while following those standards.</p>
34 <p>A few popular Scheme standards include R5RS, R6RS, and R7RS. There are others, but those are the most common nowadays (2020). You can find these standards <a href="">here</a>. These documented standards are useful to reference when programming in an implementation Scheme that uses one of these standards. Conveniently, I’m going to provide you with a non-exhaustive list of Scheme implementations and the standard(s) they follow below:</p>
35 <ul>
36 <li><a href="">Racket</a> (Loosely follows R6RS)</li>
37 <li><a href="">Chicken</a> (R5RS)</li>
38 <li><a href="">Guile</a> (R5RS and most of R6RS)</li>
39 <li><a href="">Chibi</a> (R7RS)</li>
40 </ul>
41 <h3 id="scheme-implementations">Scheme implementations</h3>
42 <p>Implementations are standard-specific, but many of them support the use of other standards, languages, libraries, modules, and SRFIs (Similar to libraries) within the implementation.</p>
43 <p>For example, although Chicken Scheme is an R5RS implementation, but you can use the R7RS standard in it because someone added support for that standard.</p>
44 <h3 id="syntax-modification">Syntax modification</h3>
45 <p>Another cool thing about Scheme is that, due to the nature of Scheme, you can modify its syntax to your liking. Scheme’s macros and syntax-changing features allow you to do this. This is something I’m still learning how to do myself.</p>
46 <p>People use these macros and syntax-changing features to alter the language, and then save it as another language so others can use it. This is how the Chicken Scheme implementation, mentioned above, is able to have different standards to pick from.</p>
47 <p>Note: Other Lisps, such as such as Common Lisp, Clojure, Fennel, Carp, Hy, and many more, can also use macros and other features to alter the language.</p>
48 <h3 id="back-to-community">Back to community</h3>
49 <p>Now that you have a background on Scheme, let’s go back to the community aspect of it that I like so much.</p>
50 <p>I’m often socializing on the <a href="">Fediverse</a> or <a href="">Scuttlebutt</a>, and a big enough Scheme and Lisp community exist there.</p>
51 <p>The Scheme community is broken down into sub communities based on different implementations most of the time. So community-specific hashtags, such as #chicken, #racket, #guile, #chibi, etc. exist, and people from these sub communities will follow these hashtags, as well as a general #scheme hashtag, depending on what they are interested in.</p>
52 <p>Because of this, when I’m asking for advice, I will post a message with a #scheme hashtag, and more often than not, I will get a reply from one of the members of the sub communities, because we’re all just using Scheme in the end!</p>
53 <p>I find it very cool to be able to socialize with people from different programming communities. I feel like it’s a great way to make friends and bond over similar hobbies.</p>
54 </main>
55 </body>
56 </html>