Functional Programming vs. Object Oriented Programming
Monday Morning Haskell Blog
by James Bowen
3M ago
Functional Programming (FP) and Object Oriented Programming (OOP) are the two most important programming paradigms in use today. In this article, we'll discuss these two different programming paradigms and compare their key differences, strengths and weaknesses. We'll also highlight a few specific ways Haskell fits into this discussion. Here's a quick outline if you want to skip around a bit! What is a Programming Paradigm? The Object Oriented Paradigm The Functional Paradigm Functional Programming vs. OOP OOP Languages FP Languages Advantages of Functional Programming Disadvantages of Functi ..read more
Visit website
How to Write Comments in Haskell
Monday Morning Haskell Blog
by James Bowen
3M ago
Comments are often a simple item to learn, but there's a few ways we can get more sophisticated with them! This article is all about writing comments in Haskell. Here's a quick outline to get you started! What is a Comment? Single Line Comments Multi-Line Comments Inline Comments Writing Formal Documentation Comments Intro to Haddock Basic Haddock Comments Creating Our Haskell Report Documenting the Module Header Module Header Fields Haddock Comments Below Commenting Type Signatures Commenting Constructors Commenting Record Fields Commenting Class Definitions A Complete Introduction to the H ..read more
Visit website
How to Write “Hello World” in Haskell
Monday Morning Haskell Blog
by James Bowen
3M ago
In this article we're going to write the easiest program we can in the Haskell programming language. We're going to write a simple example program that prints "Hello World!" to the console. It's such a simple program that we can do it in one line! But it's still the first thing you should do when starting a new programming language. Even with such a simple program there are several details we can learn about writing a Haskell program. Here's a quick table of contents if you want to jump around! Writing Haskell "Hello World" The Simplest Way to Run the Code Functional Programming and Types Re ..read more
Visit website
Black Friday Sale: Last Day!
Monday Morning Haskell Blog
by James Bowen
5M ago
We've come to Cyber Monday, marking the last day of our Black Friday sale! Today is your last chance to get big discounts on all of our courses. You can get 20% by using the code BFSOLVE23 at checkout. Or you can subscribe to our mailing list to receive a 30% discount code. You must use these codes by the end of the day in order to get the discount! Here's a final runthrough of the courses we have available, including our newest course, Solve.hs! Solve.hs We just released the first part of our newest course last week! These two detailed modules dive into the fundamentals of problem solving in ..read more
Visit website
Spotlight: Quick, Focused Haskell Courses
Monday Morning Haskell Blog
by James Bowen
5M ago
A couple days ago I gave a brief spotlight on the longer, more in-depth courses I've written. The newest of these is Solve.hs, with its focus on problem solving, and the original two I wrote were Haskell From Scratch and Practical Haskell. After my first two courses, I transitioned towards writing a few shorter courses. These are designed to teach vital concepts in a shorter period of time. They all consist of just a single module and have a shorter total lecture time (1.5 to 2 hours each). You can finish any of them in a concentrated 1-2 week effort. Today I'll give a brief summary of each o ..read more
Visit website
Spotlight: In-Depth Haskell Courses!
Monday Morning Haskell Blog
by James Bowen
5M ago
On Monday, I announced the release of Part 1 of Solve.hs, our newest course focused on problem solving. In addition, this entire week is our Black Friday sale, with two options to save on any of our courses, including the newest one. Your first option is to just use the code BFSOLVE23, which will get you 20% off. You can also get a special discount code by signing up for our mailing list, which will get you 30% off! Some of our courses are shorter and more focused, while others are longer and cover more ground. Today on the blog I wanted to highlight the longer courses available at Monday Mor ..read more
Visit website
New Course: Solve.hs!
Monday Morning Haskell Blog
by James Bowen
5M ago
A few weeks ago I hinted that, while I hadn't been able to publish consistently for much of this year, I had been working on something important. And now, I'm finally ready for the big reveal! Today I am excited to announce the release of Part 1 of my new course Solve.hs. This course is focused on problem solving in Haskell. This announcement also kicks off the Black Friday sale week for Monday Morning Haskell, where you can get 20% off any of our courses with the code BFSOLVE23. And if you subscribe to our mailing list, you'll get an even bigger discount, 30% off on everything, including Sol ..read more
Visit website
Ballparking Solutions
Monday Morning Haskell Blog
by James Bowen
5M ago
In last week's article, we went over how to build a simple benchmarking library for ourselves by timing computations. Now most of the time, we're inclined to use benchmarking in a purely reactive way. We write a solution to a problem, and then document how long it takes. But perhaps the most important use of benchmarking is proactive. In this article, we'll learn how to use ballpark estimates to guide our problem-solving process. This can save you a lot of time when you're working on performance-intensive problems, whether on Advent of Code, Hackerrank, or, of course, in the real world of sof ..read more
Visit website
Quick and Simple Benchmarking
Monday Morning Haskell Blog
by James Bowen
5M ago
As a programmer, you have to constantly be asking, "How Good is my Code?". There are a lot of different ways code can be "good" or "bad", but one of the key indicators in many cases is the time performance of your code. How long does it take your code to run on particular inputs? Haskell isn't generally regarded as one of the fastest languages out there; it's not designed specifically with performance in mind. Languages like C, C++, and, at a higher level, Rust, are specifically geared for writing code that runs faster. But this doesn't mean performance is irrelevant in Haskell. As long as yo ..read more
Visit website
Big News Soon!
Monday Morning Haskell Blog
by James Bowen
6M ago
If you’ve ever been a follower of this blog, you may have noticed that I have not been posting much this year - basically nothing in the last 5 months or so. This year I experienced the birth of my first child, and subsequently moved 2500 miles with my family. So unfortunately I haven’t been able to prioritize my weekly blog content. But I haven’t been completely staying away from Haskell! In fact, one of the other items I decided to prioritize is a new, upcoming course - the largest and most detailed I’ve done since Practical Haskell! It’s not quite ready for publishing yet, but will be comi ..read more
Visit website

Follow Monday Morning Haskell Blog on FeedSpot

Continue with Google
Continue with Apple
OR