Ur/Web is a functional programming language designed for the web that promises, among other things, your page won't "Suffer from any kinds of code-injection attacks, Return invalid HTML, Contain dead intra-application links". However, according to this article's author, documentation and tutorials are not very beginner-friendly. And so the author shares with us a number of core functions that can help us kick start our project.
Swift has import statements that allow one to include libraries into their code, just like many languages. The simplest form is
import <#module#>. But there are a lot more tricks that you can do with imports as we learn from this article.
In TypeScript, a Conditional Type, as the name suggests, is a type that can have one of two possible types based on a condition. Its syntax is very similar to a ternary operator:
T extends U ? X : Y. In this article Marius Schulz goes into detail on how to use them as well as taking a look at various techniques.
Programming language of the day: CX. "CX is a general purpose, interpreted and compiled programming language, with a very strict type system and a syntax similar to Golang's. CX provides a new programming paradigm based on the concept of affordances."
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.