It’s a fact — people make typos or simply use alternate spellings on a frequent basis.
Whatever the cause, from a practical point of view, different variants of similar strings can pose challenges for software developers. Your application needs to be capable of handling these inevitable edge-cases.
Take names, for example. I go by Peter in some places, Pete in others. Amongst other variants, my name can be represented by:
And that’s not to mention alternative spellings of my surname, such as “Gleason”. All these different variations for just one string — matching them against each other programmatically might not seem obvious. …
The JSON API specification is a powerful way for enabling communication between client and server. It specifies the structure of the requests and responses sent between the two, using the JSON format.
As a data format, JSON has the advantages of being lightweight and readable. This makes it very easy to work with quickly and productively. The specification is designed to minimise the number of requests and the amount of data that needs sending between client and server.
Here, you can learn how to create a basic JSON API using Python and Flask. Then, the rest of the article will show you how to try out some of the features the JSON API specification has to offer. …
The best learn-to-code projects are often those which solve a real world problem.
These projects can provide that extra dose of motivation so essential to finishing any project. They encourage you to actively explore and discover new concepts, rather than imitate examples you’ve seen before.
There’s also something that bit extra satisfying about solving a problem you face day-to-day.
An easy way to start is with Google Apps Script.
What Google Apps Script provides are libraries and classes that allow you to work with objects such as spreadsheets, emails, calendars, slides, and more. …