Good morning (?)!

Have I mentioned that we have a Subreddit? Head on over to r/morningcupofcoding to discuss each issue and provide feedback. Especially the feedback part. I know you have some. Right?

Anyway, let's get to our articles!

Articles

(Sep 04) #cpp

C++17 has added a few new features one of which is the std::optional . In this article by Casey Carter of Microsoft's Visual C++ Team we learn, like the title says, how, when and why to use it. Specifically, the author goes over a few examples where std::optional solves a problem: having an object who's state might have not yet initialized.



(Sep 17) #javascript

I'm sure you've heard more than once the JavaScript is a Prototypical Object-Oriented Programming Language, but what does this really mean? Author Rajat highlights the differences between a class and a prototype particularly regarding constructors and inheritance.



(Sep 16) #programming-language-theory

Name Resolution is the process in which a programming language determines when a name is given a value and what value that would be. Will Crichton takes a deep look into this concept from variable scopes, control flows, method resolutions and more. If you are working on your own programming language (like I am) then this is definitely an important topic.



Programming language of the day: Wu."Apart from being a strong and exquisite hipster language, Wu strives to be a decently useful, control-focused high-level language for use in game development as well as general purpose development. Its syntax is highly inspired by Rust's strong explicit syntax, combined with concepts from Jonathan Blow's Jai language and the sugar of MoonScript and the functional language family."



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