Created
June 9, 2013 19:51
-
-
Save ayoformayo/5744950 to your computer and use it in GitHub Desktop.
REFLECT ON LEARNING FOR THE WINNNNNNNNN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #List 10 topics | |
| #1. Recursion | |
| #2. Pairing effectively | |
| #3. Benchmarking | |
| #4. Using Regex | |
| #5. Using the zip method. | |
| #6. When to use destructive methods effectively | |
| #7. Loops- each, while, unless | |
| #8. Using yield | |
| #9. Writing in pseudocode. | |
| #10. Refactoring | |
| #Choose two and write a description | |
| #1. Pairing effectively. | |
| # The common stereotype of programmers usually involves a cocktail of the following: dark lights, headphones, and a not-so-light\ | |
| #touch of social anxiety disorder. But, truth be told, software development is a team sport that leaves little | |
| #room for the unabashed misanthrope. Still, for those of us accustomed to coding individually- as many of us boots were- | |
| # acclimating to the paired coding experience could be a bit jarring. However, with a teensy bit of practice, coding in a team | |
| #environment should be no more difficult any other group project. Clear communication and a solid delegation of responsibilitites | |
| #between the driver and the navigator should be all you need. | |
| #2. Regex | |
| #Regex is an extremely powerful library of tools that bridges programming languages. It is fantastic for matching patterns that appear | |
| #in an input string. We used it to identify and modify social security numbers, but it's powers of identification are almost limitless. | |
| #It's syntax is a little cryptic at first glance, practice makes perfect. | |
| #Write code to illustrate one of your descriptions | |
| #Using regex, I can pull out an array of strings that match address | |
| addresses = "2233 N. Burling | |
| 435 W. Hubbard | |
| 548 E. Addison | |
| 5245 S. Jolene" | |
| p addresses.scan(/\d+\s\w\W*\w+/) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment