...

/

Editing Shortcuts and Source Control

Editing Shortcuts and Source Control

Get introduced to the VS code environment, shortcuts, and how integrated source control works on VS Code.

We'll cover the following...

Using Editor Groups

Let’s get back into the rhythm of TDD. For our project, we’re going to write a function that finds all palindromes in a string. A palindrome is a phrase that’s spelled the same forwards and backwards (ignoring spaces and punctuation). For example:

palindromes('What number is never odd or even, asked the Sphinx?')

would return:

['neveroddoreven']

As frivolous as a program for finding palindromes may sound, it’s a good approximation of a real project in one important sense: the requirements aren’t precisely defined. Whereas Fizz Buzz had crystal-clear rules that we could translate directly into tests, figuring out a ...