Skip to content

MIA Chu & Ariel - #32

Closed
Chu13 wants to merge 1 commit into
ironhack-labs:masterfrom
Chu13:master
Closed

MIA Chu & Ariel#32
Chu13 wants to merge 1 commit into
ironhack-labs:masterfrom
Chu13:master

Conversation

@Chu13

@Chu13 Chu13 commented Oct 16, 2017

Copy link
Copy Markdown

No description provided.

@dsoraluz

Copy link
Copy Markdown

Great job on getting all the way to the Palindrome exercise.

The most important takeaway from this exercise is to understand how everyday problems can be solved with the help of a well written program. Writting code is essentially teaching the computer or machine to think like a human and so we must try to thing of everything in logical terms.

This was also your first go at paired programming so you got to practice your communication skills as you took turns between being the one who writes the code (the driver) and the one who directs the writting of the code (the navigator). This an important skill to master as you will come across this scenario many times as developer in the real world. Personal skills matter just as much as technical skills.

@dsoraluz dsoraluz closed this Oct 19, 2017
var palindrome = prompt ("Type any word");
palindrome = palindrome.replace(/\s/g,"");

if (palindrome === palindrome.split("").reverse().join("")) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great use of the split(), reverse(), and join() functions here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants