Good morning (?)!

For the people who registered for our Secret Santa make sure you have sent your presents!

It's almost the end of 2018 which means it's time for our bi-yearly Morning Cup of Coding Survey! If you have 5 minutes available I would really appreciate if you took the time to fill it out. As a thank you I will send a sticker to anybody who includes his mailing address. Thank you!

Now on to our articles!

Articles

(Dec 04) #functional-programming

In "true" functional programming languages like Haskell, Clojure, etc, your data structures are going to be immutable. So how then do you make modifications when you need to? In this article Richard Wild talks about data structures, called Persistent (or Partially Persistent), that make them appear to be changing at places where it makes sense while still being immutable everywhere else.







(Nov 18) #cpp #concurrent-programming [Hacker News]

Typically in parallel programming we want to avoid using locks because a lock, by definition, means that only one thread at a time can access a certain piece of code, which kills parallelism. In this deep dive Lucian Radu Teodorescu explores the ways we can reduce locks via tasks and careful and thoughtful planning.







(Nov 19) #cpp

C++20 introduced a small feature called Designated Initializers. This little feature makes aggregate initialization significantly easier to type, but it has some rules you must follow. Using a number of examples, both pre and post feature, Tobias Widlund shows us how this feature works and what are its small albeit very useful benefits.







Programming language of the day: StormScript."StormScript is important not because it presents 1 or 2 revolutionary ideas that change your usual workflow, but because it changes almost everything about common programming syntax to make it easier to read and write. This may seem more like a problem at first, but I believe that StormScript changes programming syntax for the better."



And that's it for today! Discuss this issue at our subreddit r/morningcupofcoding.

Did you like what you read? Let us know by clicking one of the links below.

Liked - Disliked

I hope you enjoyed reading the latest issue of Morning Cup of Coding. If you did, consider supporting it by becoming a patron (Patreon), buying me a coffee (PayPal), donating anonymously (coinbase), or purchasing an MCC mug (RedBubble); it helps me keep this going.

Cheers,

Pek