Articles

(Jan 15) #javascript

JavaScript labels add functionality to break and continue statements in loops, allowing developers to better manage the execution flow of iterating code. Despite being a very useful asset, developers can often be unaware of them. In this short blog post, David Walsh demonstrates in a simple example how to use JavaScript labels to manage the behavior of nested loops.



(Jan 15) #python

Generators are code routines that allow code to be executed in the form of an iterating loop that returns values one at a time, allowing each value to be used as soon as it is returned. This allows developers to formulate and control the execution flow of the code precisely. In this article, author Gursimran Singh describes, with examples, how generators abstract the control flow and make it easier for developers to design efficient code.



(Jan 13) #clojure

Clojure is a dynamic, general-purpose programming language that combines the approachability of a scripting language with a robust framework for multithreaded programming. Transitioning from traditional OOP to Clojure requires a clear grasp on the fundamentals of this language, and in this final episode of a six-part tutorial series for learning Clojure, the author Nicolas Frankel covers transducers, defining what they are and demonstrating how to create and use them with examples.







Programming language of the day: Delta. "Delta is a general-purpose systems programming language intended as an alternative to C++, C, and Rust. Its primary goal is to improve programmer productivity from what C++ offers, to make writing fast code as enjoyable as possible."



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