Sponsor

DigitalOcean offers the simplest, most developer-friendly cloud platform. It’s optimized to make managing and scaling apps easy with an intuitive API, multiple storage options, integrated firewalls, load balancers and more. Plus - DigitalOcean’s community provides over 2,000 tutorials to help you stay up to date the latest open source software, languages, and frameworks.

Get started with a new user credit for Morning Cup of Coding readers.

Articles

(Jun 19) #purescript

PureScript is a strongly-typed functional programming language that compiles to JavaScript and has its roots in Haskell. In this post Drew Olson lays out the fundamentals of the language's lazy evaluation elements.

(Jun 20) #quantum-computing

Armando Faz-Hernández has written a thorough introductory article on Quantum Computing. Fom the basics of superpositions and qubits, to the threats Shor's algorithm posses on cryptography, it is a great starting point if you are still murky on the details of this new type of computing.

(Jun 05) #rust

From the article: "The typestate pattern is an API design pattern that encodes information about an object's run-time state in its compile-time type." This pattern is yet another way of catching errors at compile time and can be useful in many situations. For example, with typestates you can enforce, at compile time, the order of operations such as "The buffer can only be translated if you have checked that it's valid UTF-8.". In this article Cliff L. Biffle explains how this works in Rust and why it's difficult for other languages to implement such a feature.

-- * --

Programming language of the day: PureScript. "A strongly-typed functional programming language that compiles to JavaScript"

-- * --

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 us by becoming a patron (Patreon) for perks like ad-free issues, or via a one-time donation via PayPal.

Cheers,

Pek