Articles

(Feb 05) #ruby

Metaclasses are classes whose instances are other classes rather than objects, and are found in some object oriented programming (OOP) languages such as Ruby. Although Ruby developers won't work directly with them, metaclasses have an impact on how the code behaves and it is important to understand what they do 'under the hood'. In this informative article, Jeff Kreeftmeijer introduces metaclasses and provides an overview of what they are and how they work.



(Feb 09) #algorithms

MapReduce is a programming paradigm for increasing the speed of carrying out a big data-processing task by breaking it up into smaller tasks that can run concurrently. Although the concept sounds straightforward, in practice MapReduce can be daunting and difficult to approach for developers not familiar with it. But it doesn't have to be complicated - in this article, Alex Ellis endeavors to explain in layman's terms what MapReduce is and how it works, providing clear, concise examples to demonstrate key points.



(Feb 11) #alloy

Knights and Knaves is a logic puzzle that involves sorting a set of people into knights or knaves based on their statements, given that knights always tell the truth and knaves always lie. It is a problem which can be solved by a computer, and implementing it provides a valuable learning lesson for developers. In this blog post, Hillel Wayne uses the Alloy language to show how it can be done.







Programming language of the day: Wollok. "- Object Oriented - Non "class-centered". Allows you to create objects as first-class citizens without the need of classes. To start working with objects without introducing complex subjects and mechanisms as hierarchies, overriding methods, etc. - Tries to maximize compile-time checks while keeping the power of a dynamic language. - With implicit types: by means of a type system and type inference mechanism. - A clean modern syntax avoiding unnecessary symbols (java) while keeping it simple and even familiar for those who already have some experience in programming) - Interpreted: means that the code is being evaluated as it's being read. Although its declarative syntax makes it feel like a compiled language"



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