Skip to content

MIA Chu & Ariel #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

MIA Chu & Ariel #32

wants to merge 1 commit into from

Conversation

Chu13
Copy link

@Chu13 Chu13 commented Oct 16, 2017

No description provided.

@dsoraluz
Copy link

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("")) {

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy