Day 6 at Dev Bootcamp
I realized today that there is A LOT of brain power in my cohort. We have a math teacher, a recursion expert, and a PHP programmer. Some of the other phases are noticing that the Tiger Swallowtails are solving difficult problems quickly. A…
Day 3 at Dev Bootcamp
Feeling a bit tired today. This will make 3 days in a row when I go to sleep after midnight. What I learned today: Regex groupings: /([aeiou]*)([aeiou].*)/ These regex groups (stuff in between parentheses) can be called in a string, “21ay” produces pig-latin….
First Day of Dev Bootcamp
It was an AWESOME first day! First we introduced ourselves and got advice from the other cohorts. Then some team building exercises and lunch. Finally, CODING (pair programming specifically)! My roommates and me coded from 3pm until midnight. It was great to do some pair programming…
Day 2 Dev Bootcamp
Today I struggled mightily and wrote some really bad code. My first thought was to save the code, and keep working at it. Cooler heads prevailed, and I deleted the terrible code. Today’s advice is to delete bad code and love it. The moment…
Thinking Differently
Innovation and thinking differently is currently a hot buzzword and gets thrown around frequently. Unfortunately not enough practice goes into it. When I was younger my mom was a creativity advisor to small companies. One thing she said to me that I’ll never forget is…
Ruby Next Statement
I was doing the prime factor exercise on Project Euler and came across the next statement. for i in 0..5 if i < 2 then next end puts “Value of local variable is #{i}” end the next command or statement jumps or skips to the…
JavaScript Codecademy
In JavaScript methods (aka member functions) are functions that belong to objects. Member functions are designed to operate directly on the properties of the object to which they belong. function Circle (radius) { this.radius = radius; this.area = function () { return Math.PI *…
Difference between ruby helpers, partials, and route helpers
Learned today that helpers and partials are not created equal. View helpers are like modules. They primarily store ruby methods that can be used by your view files. Form helpers make it easy to write and maintain form markup. Partials are embedded ruby files (.erb)…