<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mick Duprez on Medium]]></title>
        <description><![CDATA[Stories by Mick Duprez on Medium]]></description>
        <link>https://medium.com/@mickduprez?source=rss-5d27b538cc55------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vU9nT0mL0go0Dyzx.jpg</url>
            <title>Stories by Mick Duprez on Medium</title>
            <link>https://medium.com/@mickduprez?source=rss-5d27b538cc55------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 14:34:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mickduprez/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Hoses not Bolts — Protocol-Driven Development.]]></title>
            <link>https://medium.com/@mickduprez/hoses-not-bolts-protocol-driven-development-b7331de8e04d?source=rss-5d27b538cc55------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7331de8e04d</guid>
            <dc:creator><![CDATA[Mick Duprez]]></dc:creator>
            <pubDate>Thu, 07 Aug 2025 09:29:47 GMT</pubDate>
            <atom:updated>2025-08-07T09:29:47.221Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hoses not Bolts — Protocol-Driven Development.</h3><p><strong>Thinking in Hoses and Wires, Not Bolted Connections: Protocol-Driven Development</strong></p><p><strong><em>A rediscovery of message-passing systems, inspired by Smalltalk and the struggles of real-world application design.</em></strong></p><p>Most systems are built like cars: rigid, bolted together, and prone to break when you change a part. But what if we built them like hydraulic machines — with flexible connections and interchangeable components?</p><blockquote>“The big idea <strong>is messaging</strong>.” — Alan Kay</blockquote><h4>The Problem with Conventional Architecture</h4><p>In most codebases, data is the centre of gravity. “Entities” are exposed directly. “Services” are bloated function bags. Interfaces exist, but mostly for mocking or REST APIs. You often find yourself tracing brittle connections and tightly-coupled chains just to understand how one part talks to another.</p><p>This works — until you want to change anything.</p><h4>The Analogy: Vehicles vs Hydraulic Systems</h4><p><strong>Traditional Software (Vehicles)</strong></p><p>A car or truck is a tightly-coupled machine. Each component is bolted into place. If you want to change something — say, the transmission — you pretty much need the <strong><em>exact part</em></strong>, or some hacky adapter.</p><p>This is like most OOP systems today. Concrete services call concrete repos, and replacing one part often breaks three others. Finding bugs is hard as everything is interdependent or ‘complected’.</p><h4>Protocol-Driven Development (Hydraulics)</h4><p>Hydraulic machinery is composed of standardized parts connected by hoses and wires.<br>You have a power source (engine) a hydraulic pump (transmission) and actuators and cylinders. <br>These are connected by simple adapters, hoses, and wires — not precision-fit gears.</p><p>The components don’t need to know each other — only how to send and receive <strong>pressure or signals</strong> (protocols). If the interface matches, the part just works.</p><p>This is what software should feel like.</p><blockquote>PDD isn’t about thinking in objects. It’s about thinking in <strong>hoses and wires</strong>, not bolted connections.</blockquote><h4>What is Protocol-Driven Development (PDD)?</h4><p><strong>PDD</strong> in this article is a design approach that:<br>- Models behaviour as <strong>explicit message contracts</strong><br>- Separates logic from storage, UI, and timing<br>- Encourages <strong>late binding</strong> and <strong>runtime substitution</strong><br>- Composes systems from minimal, focused <strong>protocols</strong></p><p>This isn’t “just using interfaces” — it’s building your system around them.</p><h4>Quotes That Shaped This Way of Thinking</h4><blockquote>“The key in making great and growable systems is much more to design how its modules communicate rather than what their internal properties and behaviors should be.”<em> </em><strong><em><br> — Alan Kay</em></strong></blockquote><blockquote>“OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things.” <br> — <strong>Alan Kay</strong></blockquote><blockquote><em>“Complexity is anything related to the structure of a system that makes it hard to understand or change.”</em> <br>— <strong>Rich Hickey</strong></blockquote><h4>So, why is it different?</h4><p><strong>The Aha! Moment</strong><br>I have been programming since around 1999/2000 where I started automating AutoCAD (v’s 14/ &amp; 2000) with VBA and AutoLisp. I thought I had grokked most paradigms having read many books, listened to and watched many talks and programmed in many languages from Assembly to scripting languages like Python. I have used much of this advice, principles (SOLID et al.) and design patterns but I was never happy with the finished product or how I got there. It worked, but it always seemed ‘forced’ and complex once you get to a certain sized codebase.</p><p>The penny finally dropped while working on a new personal project inspired by that original idea — a modern reimagining of message-based programming (ala SmallTalk), grounded in a practical way to reuse FFI’s, scripting and create dynamic application structure.<br>I re-watched the talks by Alan Kay, Dan Ingalls et al. on SmallTalk, Rich Hickey’s talk ‘Simple Made Easy’, re-read the SmallTalk spec’s and even did some coding again in SmallTalk to get a better feel for what/how I wanted my project to be.<br>I finally grokked what Alan Kay was talking about, he was talking about objects like remote computers and the message (protocol) is how they talk to each other.</p><h4>Example: Protocols in Go</h4><pre>type Repository[T any] interface {<br>    Save(t *T) (int64, error)<br>    Get(id int64) (*T, error)<br>    Delete(id int64) error<br>    List() ([]*T, error)<br>}<br><br>type Entity struct {<br>    ID   int64<br>    Name string<br>}<br><br>type EntityRepository interface {<br>    Repository[Entity]<br>}<br><br>type EntityManager struct {<br>    Repo EntityRepository<br>}<br><br>func (m *EntityManager) Rename(id int64, newName string) error {<br>    entity, err := m.Repo.Get(id)<br>    if err != nil {<br>        return err<br>    }<br>    entity.Name = newName<br>    _, err = m.Repo.Save(entity)<br>    return err<br>}</pre><p>It compiles — and the system behaves — even if the repo is just a stub. That’s the power of message-first design.</p><p><strong><em>Optional</em></strong>: <br>DI Without the Framework, just implement the protocol into a concrete form.</p><pre>repo := &amp;InMemoryEntityRepo{}<br>manager := &amp;EntityManager{Repo: repo}<br>manager.Rename(1, &quot;New Name&quot;)</pre><p>The behaviour is plugged in via protocol — not dictated by framework glue.<br>The above code looks pretty much idiomatic and familiar, but it’s ‘composable’ not complect, and very test-able.</p><h4>This Isn’t New — Just Rediscovered</h4><p>Much of this thinking by Alan Kay et al. was present in Smalltalk and systems like ARPANET. Message-passing, autonomy, and protocol-based coordination was the crux of the vision. Smalltalk was never the end — it was the prototype.</p><p>OO languages sort of got the concept of encapsulation (black box objects), interfaces (protocols) and polymorphism (protocol implementations) but it was presented as ‘Is A’ and ‘Has A’. If a class inherited from a parent class, it was the parent ‘type’, at least for polymorphism, but it was still all tightly coupled and wouldn’t compile if it wasn’t ‘just so’.</p><p>It’s all early bound (bolted connections) whereas SmallTalk is very late bound allowing for ‘Just In Time’ execution, you can even edit and swap in/out components within the running process, pretty cool!</p><p>Interfaces are touted as a de-coupling solution or class contract for polymorphism, and they work, but with a deeper understanding of how to use them as protocols they become much more powerful!</p><p>## What About Static vs Dynamic Typing:<br>Static types, while they can save a lot of headaches, they are a necessary evil of OO and other languages that are statically compiled. The tight coupling of the components/classes almost dictates that you use them if you don’t want any surprises, especially in larger code bases. <br>PDD style programming can deal with most of the problems caused by using dynamic types simply by using protocols. Bugs are controlled by the boundaries of the component and the ‘message’ should be clear as to what you want when you ask.</p><p>Did I mention testing is easier?</p><h4>Final Thoughts</h4><p>Basically, if your system can talk to itself through protocols, it can change itself through composition.</p><h4>Start with:</h4><p>- Define you top level Components/Domains<br>- How do they **talk to each other**<br>- One message at a time<br>- One protocol per behavior<br>- Compose bigger protocols from a lot of small ones to create a larger Domain/Component protocol<br>- Concrete implementations later, just stub them out and review the message pipelines.</p><p>I find starting with the main Components or Domains and work out the questions/messages I need to ask of a component ‘top down’ to discover the protocols for each. <br>Create the protocols then implement the concrete objects.</p><p><strong><em>Welcome to Protocol-Driven Development</em></strong>, that’s it!</p><h4>References/Inspirations</h4><p>Alan Kay — “The Early History of Smalltalk”</p><p>Alan Kay — “OOP and Its Relationship to Messaging”</p><p>Rich Hickey — “Simple Made Easy” (thanks Rich for the word education — ‘complect” is my new goto for complicated things :) )</p><p>Dan Ingalls — Design Principles Behind Smalltalk</p><p>Gary Bernhardt — Boundaries (talk)</p><h4>💬 Contribute or Discuss</h4><p>If you find this idea interesting or useful:<br>- Open an [Discussion](<a href="https://github.com/MickDuprez/Protocol-Driven-Development/discussions">https://github.com/MickDuprez/Protocol-Driven-Development/discussions</a>) to ask a question or propose a clarification<br>- Submit a Pull Request to refine phrasing or examples<br>- Star the repo to bookmark and follow its evolution</p><p>[Discuss on Hacker News](<a href="https://news.ycombinator.com/item?id=44812326">https://news.ycombinator.com/item?id=44812326</a>)</p><p>Thanks for reading!</p><p>Copyright © August, 2025 Mick Duprez</p><p>Licensed under the MIT License (see original article below)</p><p><a href="https://github.com/MickDuprez/Protocol-Driven-Development">GitHub - MickDuprez/Protocol-Driven-Development: A short, self-contained design article I wrote after rediscovering the original, &#39;actual&#39; intent behind Smalltalk&#39;s message passing.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7331de8e04d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smalltalk : but is it ready?]]></title>
            <link>https://medium.com/@mickduprez/smalltalk-but-is-it-ready-aba3f2ddef2c?source=rss-5d27b538cc55------2</link>
            <guid isPermaLink="false">https://medium.com/p/aba3f2ddef2c</guid>
            <category><![CDATA[mr-smalltalk]]></category>
            <category><![CDATA[smalltalk-programming]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[enterprise-software]]></category>
            <category><![CDATA[smalltalk]]></category>
            <dc:creator><![CDATA[Mick Duprez]]></dc:creator>
            <pubDate>Tue, 18 Jan 2022 00:44:31 GMT</pubDate>
            <atom:updated>2022-01-18T00:44:31.406Z</atom:updated>
            <content:encoded><![CDATA[<h3>Smalltalk : but is it ready?</h3><p>I just finished reading Richard Kenneth Eng’s post on Smalltalk —<a href="https://richardeng.medium.com/smalltalk-isnt-dead-here-s-why-you-should-use-it-e33c112b73e7"> Smalltalk Isn’t Dead…</a><br>I was going to comment but I had a bit more to say about what I think is some of the problems/barriers of entry to the adoption of Smalltalk for web and enterprise type projects.</p><h3>The problem…</h3><p>It’s obvious that people balk at the VM/image setup that is Smalltalk, that’s a shame as it can be very flexible. More needs to be done to educate potential users of how to use it in the real world rather than just “how good” Smalltalk is.<br>One of the first things I seek out when looking at a new language is how hard is it to setup and then deploy. There’s a huge difference in difficulty to setting up an ASP.Net app on a self hosted system and setting up say a PHP web app using LAMP! Does the ASP.Net app do anything that PHP doesn’t? The end user wouldn’t know, or cares for that matter…<br>Smalltalk says very little about how to setup and use it in ‘real world’ production, you have to dig into the doc’s for it, when this gets too laborious people move on to something else (easier).</p><h3><strong>Is there a solution?</strong></h3><p>Projects like Amber and Seaside are a good start and are well positioned these days with a lot of app’s being done on the web rather than desktop. I’m considering moving a large asp.net app to Seaside/Amber but there’s always that niggle of being a ‘language loner’ and I do have a responsibility to my client to provide source code that others can use if something were to happen to me — my ‘bus policy’ :), this is another — probably unnecessary — barrier I feel.</p><p>For desktop I think there needs to be an emphasis on practical UI development and <strong>being able to use external databases and documents rather than saving ‘everything’ in an image</strong>. Sure, this can be done but it needs to be put up front and centre if you want dev’s to take an interest. Web app’s thrive because they have a central repository (the database and server for document storage), they are updated automatically and there’s only “One version of the truth” with all their applications data. Desktop app’s like Excel et al are also using OneDrive or some other cloud services, even sole trader businesses are using the cloud for storage and backup, it’s easy and it makes sense.</p><p>The perception of “The Image” needs to change, for the outsider looking in it looks like it’s all or nothing, like running a Linux VM on your Windows box. This is true to an extent but it doesn’t have to be like this. New desktop images could be deployed easily with updates etc from a ‘launcher’ that checks the source code repo for the latest updates. The image can be protected from changes by the user but they still have the API/Classes to use for them to develop there own scripts/plugins for productivity. These need the ability to be brought into an image like self loading dll’s from a repo or locally. <br>Having these abilities would make Smalltalk no different to any other VM/JIT’d/Interpreted language. A lot of this is probably already possible but again, the perception of how Smalltalk works needs to be changed.</p><h3>Why Smalltalk still has a chance</h3><p>If there’s one thing that keeps me coming back to Smalltalk (the language) is that it doesn’t change…..ever! Compare that to most of the mainstream languages that are continually changing which just creates more work for maintenance and updates rather than allowing time for improvements and new features. Some Lisp’s come close but it’s easy to get lost in some new syntax someone conjured up from macro land and you’re back to ‘learning’ and not using. Some consider that a strength and it is — for Lisp. In Smalltalk you just create another ‘object’ as your DSL rather than a new ‘language’, the syntax never changes!</p><p>Smalltalk is every bit as elegant as say Lisp and once you grok that it’s all about objects and messages you’re set. It’s IDE is built in and hard to beat and again, it doesn’t change! The guys at Pharo have built some great code metrics tools for the dev team to analyse their code bases for improvements and you could always build your own but the basic IDE is very powerful and productive once you get going.</p><p>TDD and Git are just part of the language (in Pharo at least?) and is quite painless. There’s no loading and configuring some plugins or test runner applications, just write your tests in with your package like any other code. Take 5 minutes to watch how it’s done, it couldn’t be much easier than what&#39;s shown in this<a href="https://www.youtube.com/watch?v=FZBDNRJWpLE&amp;list=PL2okA_2qDJ-kCHVcNXdO5wsUZJCY31zwf&amp;index=13"> Unit tests in Pharo video</a>.</p><h3>The bottom line</h3><p>Some developers love learning new stuff all the time (me included) but when it comes to getting stuff done reliably, safely and quickly then Smalltalk is a real contender. If it could be used like C#/Java etc I think there would definitely be more adoption. Sure, it’s not for everything but if there was ever a chance for a ‘platform’ or ‘engine’ to build reliable enterprise software then Smalltalk is it. Learning it is easy to the point you can get a lot done fast, learning it well to write and structure more elegant code is another matter but don’t sweat it, with all the tools at hand refactoring is easy :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aba3f2ddef2c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smalltalk, could it replace web app’s?]]></title>
            <link>https://medium.com/@mickduprez/smalltalk-could-it-replace-web-apps-7f79a89e0731?source=rss-5d27b538cc55------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f79a89e0731</guid>
            <category><![CDATA[web-apps]]></category>
            <category><![CDATA[smalltalk]]></category>
            <category><![CDATA[squeak]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[pharo]]></category>
            <dc:creator><![CDATA[Mick Duprez]]></dc:creator>
            <pubDate>Tue, 10 Mar 2020 09:32:06 GMT</pubDate>
            <atom:updated>2020-03-10T09:41:01.680Z</atom:updated>
            <content:encoded><![CDATA[<p>While performing my daily routine of checking favourite web sites and blogs I once again come across Smalltalk (oooh! shiny…). I’ve always liked Smalltalk ( <a href="https://medium.com/hackernoon/smalltalk-just-take-a-look-d0a0052ed5e4">https://medium.com/hackernoon/smalltalk-just-take-a-look-d0a0052ed5e4</a>) but have never had a sizable ‘green field’ project to work on where I thought Smalltalk would be a good fit. Time to put my thoughts down on paper (so to speak).</p><h3><strong>Just thinking out loud really…</strong></h3><p>I’m currently developing an app in Django/MySQL and while I find this stack quite good to work with, it’s still a ‘web stack’ and comes with all that that entails.<br>This is fine but the company who I work for will be using this as an internal project management and documentation collation tool, being an actual web site is not <em>really</em> that important as it’s not a shop front or data collection front for potential customers.<br>There is a need for talking to other RESTful services of other financial institutions but again, nothing a desktop app couldn’t handle.<br>There is also a need for a central repository for the info and documents, no problem for a desktop app in that regard either.</p><p><strong>So why do I need a web app?</strong></p><p>Good question!<br>I guess the current thinking is that web app’s can save a lot of headache when it comes to deployment, maintenance and upgrades. The user is always working with the latest build and there is no need for installing any software, fair enough. But do we really need web app’s for things like internal accounting software and other business enterprise type applications that are used internally?<br>I don’t really think it’s an issue for most businesses as long as ‘staying up to date’ is seamless for the end users.</p><p><strong>Isn’t this what Java/.Net is for?</strong></p><p>That was the intention I’m sure but the reality is that developing with these platforms is not as ‘seamless’ as they are advertised to be.<br>I won’t go into detail about this (for brevity) but to say that with Smalltalk, having a single VM that can run an ‘image’ with all dependencies included feels like a lot easier way to do things.</p><h3><strong>Smalltalk…the good.</strong></h3><p>Smalltalk images can be tweaked/updated and sent out or retrieved from a remote repo automatically and loaded next startup. <br>Most desktop app’s come bundled with many files and dlls etc, I’m sure a VM with an image and perhaps a script that runs them after checking and downloading updated images would be more than acceptable (or something similar). Major updates would be for the VM if and when required (years, not possibly months like a web stack!).</p><p>The development stack, including the server and public web site if required, can all be in one language. Seaside is actually quite nice to use!</p><p>The development environment for Smalltalk is quite powerful and easy to use (once you get used to it but that’s another story :) ). The language is easy to understand and being able to develop ‘live’ has to be one of its greatest attributes.</p><p>Smalltalk isn’t quite as ‘walled off’ as people seem to think, interacting with the file system, the internet/intranet, databases and other app’s is quite doable. I think this is a hard perception to overcome for many that have only had a passing look at Smalltalk. It really is no different than Java, the main difference is that you typically start a Smalltalk VM and load an image (or start the VM via an image) whereas Java does this behind the scenes to give the illusion of a ‘real app’ (i.e. a stand alone executable).</p><p>Overall I think Smalltalk is well positioned to handle enterprise/commercial applications given the above and much more but…</p><h3>…the bad</h3><p>Unless you go with one of the commercial Smalltalk environments you’re going to find the going tough at the start for all but trivial applications. Documentation for the commercial versions is quite good and as long as you have confidence in the longevity of the company/platform you deal with I think it’s a sensible way to go. <br>In all fairness though, Seaside has been pretty good to work with. I think this is due to the ‘web app’s are king’ perception of the community and developers at large and more effort has been focused there.</p><p>GUI development, from what I’ve found, seems to be a second class citizen of the open source platforms, and I have no idea why! Documentation is scarce or unreliable/out of date. <br>The tools to build a decent GUI framework are definitely there but having a library of classes without knowing how to use them is frustrating at best.<br>It’s little wonder Smalltalk is often relegated to the hobbyist scene when it <em>feels</em> like working with a half finished project.</p><h3>So, what’s the verdict?</h3><p>I think there is great potential in this area for Smalltalk, it’s a great language and an even a better programming paradigm for almost any discipline.</p><p>While learning the basics of the language is very easy, like Lisp it will take a while to fully appreciate the real power of such a simple syntax and get your head around the idioms to be able to write good code. A big plus is that refactoring old, newbie code is very easy :)<br>I can easily see the <em>n</em>X productivity gains that other Smalltalkers talk about once you become even an early intermediate user of the language and tools.</p><p>Developing large applications <em>seems </em>like they could scale well and rolling out updates could potentially be seamless.</p><p>Hmm…I think I’ll give it a go, will let you know how I get on :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f79a89e0731" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning me a Haskell for my own good]]></title>
            <link>https://medium.com/@mickduprez/learning-me-a-haskell-for-my-own-good-c59eddb7f45a?source=rss-5d27b538cc55------2</link>
            <guid isPermaLink="false">https://medium.com/p/c59eddb7f45a</guid>
            <category><![CDATA[functional-programming]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[haskell]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Mick Duprez]]></dc:creator>
            <pubDate>Thu, 31 Aug 2017 23:45:21 GMT</pubDate>
            <atom:updated>2020-03-10T09:35:34.532Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*L9LCd20W9rc7AVHcgUY-rQ.jpeg" /></figure><p>I’ve picked up Haskell a few times in the past and I’ve always found myself understanding the overall concepts and can read and understand most code. Once you get past the basics though the learning curve can get steep real fast. Again, it’s not so much the overall concepts but it’s underlying details of how Haskell works and I think you need to know these details if you want to get the most out of it.</p><p>Anyway, I came across a book called ‘<a href="http://haskellbook.com/">Haskell programming from first principles</a>’ and so far it is delivering. It’s quite a tome with over 1200 pages, I’m only a quarter of the way through and have already covered a lot of ground. I’ve completed all exercises and I find I’m fully understanding what’s presented and what’s going on at a deeper level (so far :) ).</p><p>The book starts with a chapter on Lambda Calculus and teaches you how it works with some exercises at the end. This chapter alone was a great help and set the tone for the rest of the book.<br>The teaching style is quite good and the authors encourage you to think about how an example or exercise works and what you think the answer is then verify it yourself in the REPL. I like this approach as it encourages you to ‘tinker’ a bit and learn some things on your own.</p><p>The book is a bit of a slog due to its size, you read and read and it seems as though you are still at the start of the book! Most programming books you might work your way through in a few days but with Haskell it’s different. You need to start — as they say — from first principles and your prior knowledge of programming will only get in the way — there are no shortcuts with Haskell.</p><p>The authors deliberately eschew analogies with other programming languages and in this particular book’s case I agree, hence the size of the book. It would be hard to write a shorter book without analogies, I still think analogies are useful but use them alongside this book, not in place of it so you don’t miss the subtle points that can be very important to gain a full understanding of Haskell.<br>While I’ve mentioned it’s a bit of a slog, it’s not hard reading, just a lot to read :) The content is clear and I couldn’t see any real areas where it could be trimmed down.</p><p>It’s strange really, Haskell has many similarities with Lisp in how it works but I think it’s the strict typing that makes it harder to learn than Lisp. The declaration syntax is fine but the hardest thing to grok is the terminology. It’s things like type classes, type constructors, type instances, type variables, data types … you get the idea and it seems there’s more types than you could poke a stick at, all in the one line of code!<br>I can glaze over quickly once they start mentioning all these types in one sentence and I need to stop and take another look. Perhaps I will make a cheat sheet to refer to, it will help until it all ‘sticks’.</p><p>Anyway, if you want to learn Haskell properly you just have realise that Haskell is not the same language with a new syntax like Lisps and most imperative languages. You just have to go back to ‘school’ and stick it out, it will be worth it and I think this book will help you get there.</p><p>I’ll let you know how I get on once I finish, cheers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c59eddb7f45a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smalltalk, just take a look.]]></title>
            <link>https://medium.com/hackernoon/smalltalk-just-take-a-look-d0a0052ed5e4?source=rss-5d27b538cc55------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0a0052ed5e4</guid>
            <category><![CDATA[smalltalk]]></category>
            <category><![CDATA[paradigm-shift]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[programming-languages]]></category>
            <dc:creator><![CDATA[Mick Duprez]]></dc:creator>
            <pubDate>Thu, 20 Jul 2017 13:46:24 GMT</pubDate>
            <atom:updated>2017-07-20T14:04:24.611Z</atom:updated>
            <content:encoded><![CDATA[<p>I love languages, I check a lot of them out to see what might ‘fit’ the way I think or do things.</p><p>I honestly believe we should write low level code at the lowest level possible and everything else at the highest level possible. Practically all languages above say C are just high level languages using low level paradigms and I just don’t think the abstractions go far enough.</p><p>But I digress. I’m just here to implore you to take a look into the past to see how we should be working now and perhaps into the future, take a look at Smalltalk!</p><p>I’ve often read a lot of good things about Smalltalk, but always dismissed it as a relic of the past and thinking “if it’s relevant today, why isn’t everyone using it”. I’m sure I’m not alone in this thinking, then I tried it…</p><p>What are we doing! Honestly, this Smalltalk ‘thing’ is awesome, and to think they were doing this 50 odd years ago is mind blowing![1]. How did we lose our way?!<br>Granted, computer power — or lack thereof — probably played some part and I’m sure there were other financial (and probably political) reasons it didn’t take hold but today there really is no excuse!</p><p>I’m definitely not saying “Smalltalk will save the Universe”, it wont, but we could all learn a lot from its elegance and they way it does things. Even if you just watch some videos or have a read on the weekend you’ll come away with a different perspective and perhaps some good ideas.</p><p>Anyway, here’s a taste of what’s possible -&gt; <a href="https://www.youtube.com/watch?v=if72CFsF_SY&amp;t=1823s">https://www.youtube.com/watch?v=if72CFsF_SY&amp;t=1823s</a></p><p>[1] as an aside, Steve Jobs was said to have seen the GUI of this system when touring the Xerox/PARC facilities one day and was so blown away he apparently missed some of the most important features of the system[2]. Apple and Windows got the ‘window’ system but missed the rest.</p><p>[2] please don’t quote me on that, I remember reading something about this in a letter from Alan Kay somewhere. If you want to argue the point, put up the evidence to set the record straight and we’ll call it a day ;)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0a0052ed5e4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/smalltalk-just-take-a-look-d0a0052ed5e4">Smalltalk, just take a look.</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Clojure CLR From Scratch — Part 1.5]]></title>
            <link>https://medium.com/@mickduprez/clojure-clr-from-scratch-part-1-5-8b8570292546?source=rss-5d27b538cc55------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b8570292546</guid>
            <category><![CDATA[lisp]]></category>
            <category><![CDATA[clojure]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[clojureclr]]></category>
            <dc:creator><![CDATA[Mick Duprez]]></dc:creator>
            <pubDate>Mon, 17 Oct 2016 10:13:44 GMT</pubDate>
            <atom:updated>2016-10-18T22:51:31.666Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi All, been a while and very sorry about that, been extra busy!</p><p>Anyway, I thought I’d put in a little in between post to describe a simple build system using a Windows batch file to handle our build tasks. I plan to build on this file and add functionality as we go but I think we will eventually build our very own ‘build’ or project application and I plan on doing it in Clojure CLR.<br>Should be fun :)</p><h4><strong>Take One</strong></h4><p>Please note I’m not that experienced with batch files and know just enough to be dangerous as they say so feel free to correct my sources and gives tips or pointers on the best/better way of doing things (keeping in mind I think the bat files will be a temporary fix for now).</p><p>Create a new file in the main folder of your project (in my case C:\home\dev\clj1) and we’ll call it ‘build.bat’ and add the following text:</p><pre>ECHO Building a Clojure CLR project From Scratch!</pre><pre>:: Set some environment variables required for this build:<br>SET CLOJURE_LOAD_PATH=%CLOJURE_LOAD_PATH%; c:\home\dev\clj1\src; c:\home\dev\clj1\build;<br>SET CLOJURE_COMPILE_PATH=c:\home\dev\clj1\build;</pre><pre>:: Run clojure.compile and build our app:<br>clojure.compile clj1.core</pre><pre>:: pause for effect:<br>PAUSE</pre><p>Save the file and open a command prompt in this folder and enter ‘build’ to run the build.bat file in this folder and you should get the following output:</p><pre>c:\home\dev\clj1&gt;build</pre><pre>c:\home\dev\clj1&gt;ECHO Building a Clojure CLR project From Scratch!<br>Building a Clojure CLR project From Scratch!</pre><pre>c:\home\dev\clj1&gt;SET CLOJURE_LOAD_PATH=; c:\home\dev\clj1\src; c:\home\dev\clj1\build;</pre><pre>c:\home\dev\clj1&gt;SET CLOJURE_COMPILE_PATH=.\build;</pre><pre>c:\home\dev\clj1&gt;clojure.compile clj1.core<br>Compiling clj1.core to c:\home\dev\clj1\build; -- 8 milliseconds.</pre><pre>c:\home\dev\clj1&gt;PAUSE</pre><pre>Press any key to continue . . .</pre><p>Yay! It seems to have worked but it’s a bit noisy, a quick bit of research and I found that if you start the bat file with @ECHO OFF it will make things a lot cleaner.<br>Add that to the start of the bat file and run it again and you should get:</p><pre>c:\home\dev\clj1&gt;build<br>Building a Clojure CLR project From Scratch!<br>Compiling clj1.core to c:\home\dev\clj1\build; — 8 milliseconds.<br>Press any key to continue . . .</pre><p>Cool, much better!</p><h4><strong>Take Two</strong></h4><p>There’s some tidying up we could do to the file paths to make future batch files easier to create, we don’t really need the PAUSE in there either. Let’s change all the hard coded file paths to relative paths using the %CD% system variable that gives use the current working directory for this shell session, here’s my file:</p><pre><a href="http://twitter.com/ECHO">@ECHO</a> OFF<br>ECHO Building a Clojure CLR project From Scratch!</pre><pre>:: Set some environment variables required for this build:<br>SET CLOJURE_LOAD_PATH=%CD%\src; %CD%\build;<br>SET CLOJURE_COMPILE_PATH=%CD%\build;</pre><pre>:: Run clojure.compile and build our app:<br>clojure.compile clj1.core</pre><p>Save and run it again and the output should be the same but there is almost no editing to do to this file for future projects - until they become more complicated at least :)</p><h4>Take Three (Optional)</h4><p>If you want to make this even more reusable we can add a parameter to the call to our bat file, for example we may not always call our main .clj file ‘core.clj’ so we can then call it like this:</p><pre>c:\home\dev\clj1&gt;<strong>build clj1.core</strong></pre><p>When we call a batch file with variables like this they get stored in to shell variables such as %1, %2, %3, etc in the order that they are entered. This means we can get this variable and use it in our script like so:</p><pre><a href="http://twitter.com/ECHO">@ECHO</a> OFF<br>ECHO Building a Clojure CLR project From Scratch!</pre><pre>:: Set some environment variables required for this build:<br>SET CLOJURE_LOAD_PATH=%CD%\src; %CD%\build;<br>SET CLOJURE_COMPILE_PATH=%CD%\build;</pre><pre>:: Run clojure.compile and build our app:<br><strong><em>clojure.compile %1</em></strong></pre><h4>Some Notes:</h4><p>Batch files are pretty cool, I should use them more often really for repetitive tasks like this.</p><p>Note that the ‘SET’ command only sets the environment variables for the current shell/terminal session and they won’t be written to the system Environment Variables registry which is good. In fact, be sure to go back and remove the ‘project’ paths from the CLOJURE_LOAD_PATH system variable (leave the path to the clojure install) and test again to convince yourself it’s all working as expected. You can also delete the CLOJURE_COMPILE_PATH variable as this is a ‘project’ only variable which we set in our bat file.</p><p>Thinking on this script more we can easily add some more parameters and logic to run different commands such as running a test suite say. We may look at that next time but it wouldn’t take much study to come up with some cool features and I’d love to see what you come up with!</p><h4>Coming Up Next</h4><p>Next time I will be adding some more structure to our very simple app to get a feel for how we can organise our projects and get it all to build nicely. If I get a chance I might add some .Net interop as well, that’s why we are using Clojure CLR in the first place right? :)</p><p>Stay Well,<br>Mick.</p><p>P.S. — You can find the source code for these articles at my github account<br><a href="https://github.com/MickDuprez/clojure-clr-from-scratch">https://github.com/MickDuprez/clojure-clr-from-scratch</a><br>and if you like these posts, don’t forget to hit the green heart button below, thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b8570292546" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My current Clojure CLR project]]></title>
            <link>https://medium.com/@mickduprez/my-current-clojure-clr-project-ad34fd68ec44?source=rss-5d27b538cc55------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad34fd68ec44</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[bricscad]]></category>
            <category><![CDATA[autocad]]></category>
            <category><![CDATA[clojure]]></category>
            <category><![CDATA[clojureclr]]></category>
            <dc:creator><![CDATA[Mick Duprez]]></dc:creator>
            <pubDate>Sat, 27 Aug 2016 00:40:43 GMT</pubDate>
            <atom:updated>2016-08-27T00:40:43.514Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ku6k4HQoiNmE6NIIFzaDrA.jpeg" /><figcaption>Screenshot of the home built IDE so far</figcaption></figure><p>In my efforts to learn how Clojure and Clojure CLR in particular works I’m in the process of building a simple plugin IDE for the <a href="https://www.bricsys.com/en_INTL/">Bricscad</a> CADD application (an AutoCAD alternative that is better in many ways IMO).</p><p>I started programming in AutoCAD many years ago now using VBA and AutoLisp then onto ObjectARX with C/C++ and have since branched out into web dev and other areas but CAD programming is my bread and butter. <br>In my day to day work I build plugins for these CAD app’s which involves writing class libraries in C# and I find the ‘ceremony’ of writing this OO code tedious, hence my venture into Clojure.</p><p>To aid me in my work I thought I’d develop some tools to make my job easier and so far it has been a great learning experience and very productive!<br>For the code editor I’m using the <a href="https://github.com/jacobslusser/ScintillaNET">ScintillaNET</a> control which takes a bit of configuration but works well. For the REPL I have used a basic TextBox control with a bit of code to handle the I/O from the read and eval methods I have in the C# code to process Clojure code snippets.<br>This is all built into a very small C# class library I load into the host app and from there I can start coding in Clojure and testing with the REPL in host app and so far it’s working quite well.</p><p>The screenshot above shows a sample of how to use the IDE in a CAD session, It shows how I can write some functions and some tests and run them. It’s a bit contrived as I wouldn’t really write 2 sets of functions or tests but it shows how it all works together. The add1 functions would be the first iteration and add2 is the corrected 2nd iteration of code an test.</p><p>Anyway, this was just a quick post just to brag really :)<br>I will be putting this all up on GitHub soon and will continue the <a href="https://medium.com/@mickduprez/clojure-clr-from-scratch-part-1-the-tools-6037311b815e#.enf9e9o13">Clojure CLR from Scratch</a> posts using some of the insights and lessons I’ve picked up during this project.</p><p>Stay Well,<br>Mick.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad34fd68ec44" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New Clojure News Feed]]></title>
            <link>https://medium.com/@mickduprez/new-clojure-news-feed-c3868a077067?source=rss-5d27b538cc55------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3868a077067</guid>
            <category><![CDATA[clojureclr]]></category>
            <category><![CDATA[clojurescript]]></category>
            <category><![CDATA[clojure]]></category>
            <dc:creator><![CDATA[Mick Duprez]]></dc:creator>
            <pubDate>Wed, 24 Aug 2016 22:52:48 GMT</pubDate>
            <atom:updated>2016-08-24T22:52:48.268Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi All,</p><p>quick plug for a <a href="https://clojure.news/">new site for all news Clojure</a>, very similar to the <a href="https://news.ycombinator.com/news">Hacker News</a> feed over at <a href="https://news.ycombinator.com/news">ycombinator.com</a></p><p>Cheers,</p><p>Mick</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3868a077067" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Clojure CLR from scratch — Part 1 - The Tools]]></title>
            <link>https://medium.com/@mickduprez/clojure-clr-from-scratch-part-1-the-tools-6037311b815e?source=rss-5d27b538cc55------2</link>
            <guid isPermaLink="false">https://medium.com/p/6037311b815e</guid>
            <category><![CDATA[lisp]]></category>
            <category><![CDATA[clojure]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[clojureclr]]></category>
            <dc:creator><![CDATA[Mick Duprez]]></dc:creator>
            <pubDate>Thu, 11 Aug 2016 04:02:28 GMT</pubDate>
            <atom:updated>2016-10-18T22:52:44.720Z</atom:updated>
            <content:encoded><![CDATA[<h3>First things first:</h3><p>Please note that this is not a “learn Clojure from scratch” series of posts. You must have some programming experience and have at least studied some basic Clojure. <br>There are some articles out there but they are few and they are old. I’m basically just documenting my path on how to get up and running based on some of these old resources and by what I’m learning by trial and error.</p><p><em>NOTE: This article is based on using a Windows paltform but the steps and concepts should be easily translated to a Unix type set up with Mono (I think).</em></p><h3><strong>Install Clojure Clr</strong></h3><p>Go to the <a href="https://sourceforge.net/projects/clojureclr/">sourceforge clojure-clr site</a> and download the latest zip (release or debug), extract it to a suitable place. I put the contents of the Release or Debug folder in my C:\bin\clojure folder that I created so I have c:\bin\clojure\(copied contents). This folder should contain Clojure.Main.exe and Clojure.Compile.exe in it and you now need to add this folder to your PATH environment variable so you can execute these tools from all folders without having to use the full path to the .exe.</p><h3><strong>Project and Build Tools</strong></h3><p>I have had a great deal of trouble here just getting a simple “hello world” app up and running. I tried Leiningen with lien-clr with mixed results that was very frustrating trying to work it all out.</p><p>We won’t be using these tools just yet and I think it’s good to know how to build something from scratch anyway. That way you always have an option and you won’t become hamstrung by a non functioning build tool, at least you may have a chance to debug it and fix it as you will know what’s going on ;)</p><h3>A Code Editor</h3><p>Notice I didn’t say IDE?<br>You could install Visual Studio and the vsClojure extension (for community/professional 2013) but there is little activity in that project recently so I’d rather not be reliant on it. I don’t need no stinkin’ IDE :)</p><p>I did choose to go with Visual Studio Code however which is basically just a code editor with a project/folder view and a terminal along with some nice code formatting. So far it works and is barely a distraction in my learning process (i.e. I don’t need to learn an editor as well as a language, use notepad and a terminal if you want, just use the K.I.S.S. principle for now).</p><p>As a terminal is built into VS Code we can fire one up and do our coding and command line tasks all from the one application. The built in terminal is a bit slower than the standard system command prompt terminal at times though, especially when you have long error reports and you need to scroll around.</p><h3>Project Folder Structure</h3><p>Here is my folder structure for a very simple project called clj1. You can put this wherever you like but I like the UNIX style of having short folder names that are easy to find so mine resides at C:\home\dev so my project folder is C:\home\dev\clj1</p><pre>clj1<br>|   <br>+---build<br><strong>|       Clojure.dll<br>|       Microsoft.Dynamic.dll<br>|       Microsoft.Scripting.dll</strong><br>|       <br>\---src<br>    \---clj1<br>            core.clj</pre><p>Notice I copied the 3 dlls from the clojure install folder to my build folder, this is important as they contain the core libraries required by Clojure-CLR our app needs to run.</p><h3>The Source</h3><p>Here is the simple source file from the src\clj1 folder:</p><pre>(ns clj1.core (:gen-class :main true))</pre><pre>(defn -main []<br>    (println &quot;Hello World!&quot;))</pre><p>Very simple but note the <em>:gen-class </em>and <em>:main true</em> values passed in the ns (namespace) section of code. These tell the compiler to generate an .exe rather than a library (.dll) as output and that -main is the entry point.</p><p>The (ns &lt;….blah&gt;) sets up the namespace/pathing for the project, in this case our namespace is clj1.core which coresponds with our src\clj1\core.clj. We don’t use say src.clj1.core as that just adds unwanted names in our namespace but as it stands that’s what we would need if we compiled from our root folder for the compiler to find the file. The src folder is only there to help us organise our project. We will discuss this further in a minute.</p><h3>Some Environment Settings</h3><p>To make things easy for the compiler to locate files and to keep namespaces clean we need to set up a few environment variables. <br>NOTE: <em>This is for Windows only, maybe someone can add a solution for a Linux with Mono set up.</em></p><p>We need to set up a CLOJURE_LOAD_PATH and a CLOJURE_COMPILE_PATH environment variable.</p><p>Here’s what my set up looks like, change the path to your project folder to suit:</p><pre>CLOJURE_LOAD_PATH = c:\home\dev\clj1\src; c:\home\dev\clj1\build; C:\bin\clojure</pre><pre>CLOJURE_COMPILE_PATH = c:\home\dev\clj1\build</pre><p>Notice I have two paths for the CLOJURE_LOAD_PATH path, this tells the compiler to look in these folders for necessary files and compiled assemblies required to build the final application or library. <br><strong>Update:</strong> <em>I added the path to the Clojure install path as well (where Clojure.Main.exe, Clojure.Compile.exe and other dlls live), I found this necessary on my laptop when I couldn’t get the steps here to work. This solved that problem and gives the compiler another (more complete) set of assemblies that might be required for compilation.</em></p><p>The CLOJURE_COMPILE_PATH path is where we tell the compiler to put our output such as the .exe or .dll file. This is another reason why we need to have two LOAD paths, as the compiler builds the project it outputs intermediate files and assemblies here and it needs to be able to find them again for the final build.</p><p>Obviously this isn’t an ideal way to set up every project, I couldn’t imagine setting up these variables every time I want to make a new project but we’ll work on that soon as a seperate side project I think.</p><h3>Finally, Compiling</h3><p>We’ve had a bit to get through but it’s all very important to get the set up right believe me! If you come from a java background this is probably common knowledge but if like me you come from a C# and VS background it just doesn’t make sense until you work it out (or read this perhaps ;) ).</p><p>Here’s my command line session to compile this ‘killer’ app:</p><pre>C:\home\dev\clj1&gt;<strong>clojure.compile clj1.core</strong><br>Compiling clj1.core to C:\home\dev\clj1\build -- 10 milliseconds.</pre><p>We call clojure.compile and pass it the namespace of our main source file which translates to the folder and file clj1\core.clj (which contains the clj1.core namespace). It all lines up and because we set out compile path to look in the source folder we eliminate the need for the ‘src’ folder in our command. I hope that makes sense because it’s important!</p><p>Your build folder should look like this now:</p><pre>clj1<br>|<br>+---build<br><strong>|</strong>       <strong>clj1.core.clj.dll<br>|       clj1.core.clj.pdb<br>|       clj1.core.exe<br>|       clj1.core.pdb</strong><br>|       Clojure.dll<br>|       Microsoft.Dynamic.dll<br>|       Microsoft.Scripting.dll<br>|<br>\---src<br>    \---clj1<br>            core.clj</pre><p>You can run your new app by entering:</p><pre>C:\home\dev\clj1&gt;<strong>build\clj1.core.exe</strong><br>Hello World!</pre><h3>Final Thoughts</h3><p>I feel a bit dumb as this took me nearly 3 days to work this out but that was the whole impetus for writing this article. I couldn’t find a clear example and explanation of how to set it up. <br>Most articles do mention the path-ing thing in passing but it’s all a bit hand-wavy as if you know what they are talking about, that’s how it seemed to me anyway.</p><p>Working in Visual Studio for too long makes you lazy, we need to break that habit and start anew with Clojure!</p><p>I hope this is helpful to someone as I intend it to be the article that I was looking for. If I can make it clearer or you have any tips or corrections please let me know.</p><p>Cheers,</p><p>Mick.</p><p>P.S. — You can find the source code for these articles at my github account<br><a href="https://github.com/MickDuprez/clojure-clr-from-scratch">https://github.com/MickDuprez/clojure-clr-from-scratch</a><br>and if you like these posts, don’t forget to hit the green heart button below, thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6037311b815e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Clojure CLR from scratch — Part 0]]></title>
            <link>https://medium.com/@mickduprez/clojure-clr-from-scratch-part-0-26cf5ee052c2?source=rss-5d27b538cc55------2</link>
            <guid isPermaLink="false">https://medium.com/p/26cf5ee052c2</guid>
            <category><![CDATA[clojureclr]]></category>
            <category><![CDATA[clojure]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[lisp]]></category>
            <dc:creator><![CDATA[Mick Duprez]]></dc:creator>
            <pubDate>Sat, 06 Aug 2016 02:58:39 GMT</pubDate>
            <atom:updated>2016-10-18T22:52:11.311Z</atom:updated>
            <content:encoded><![CDATA[<p>This is going to be a series on how to use Clojure on the CLR, I’m no expert in either but what I learn along the way will be recorded here and hopefully may one day be useful to someone else.</p><h3>Why Clojure?</h3><p>I’ve learned and used many languages over the years, never really mastering any of them, and how can you? Once you learn the basic syntax and “Hello World!” examples you soon find yourself knee deep in frameworks and special language “features” just to get anything done. Maybe I’m a bit different but I’m never really satisfied using things I don’t fully ‘grok’ and because of this I’m seldom satisfied with my code.</p><p>Then I met Lisp!</p><p>I’ve been aware of and dabbled in some lisp many times over the years using AutoCAD’s AutoLisp mainly for basic config and routine tasks. While it’s mainly a subset of a “proper” lisp, it is a lisp all the same but I never really studied how it worked as I was too busy drinking the OO koolaid :)</p><p>In my efforts to grok more about programming patterns and frameworks I came across <a href="https://mitpress.mit.edu/books/structure-and-interpretation-computer-programs">SICP</a> and saw programming in a completely different light. Yes, it was programming “Enlightenment” and I haven’t stopped thinking about it since. Now I just want to code in lisp and IMO Clojure is perhaps the best one available today, put aside it’s interop with Java/.Net and you have a Scheme on steroids! <br>I highly recommend watching some of Rich Hickey’s talks on Clojure to understand why, just replace Java with C# when mentioned and it works the same.</p><p>Basically, Lisp is a very elegant and simple language and I want to use it with .Net and Clojure is my choice so here goes!</p><p>See you in part 1!</p><p>Mick.</p><p>P.S. — You can find the source code for these articles at my github account<br><a href="https://github.com/MickDuprez/clojure-clr-from-scratch">https://github.com/MickDuprez/clojure-clr-from-scratch</a><br>and if you like these posts, don’t forget to hit the green heart button below, thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26cf5ee052c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>