phillipcrawford / phase_0_unit_2 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from smileyface525/phase_0_unit_2
Phase 0 Unit 2 Curriculum
This project forked from smileyface525/phase_0_unit_2
Phase 0 Unit 2 Curriculum
Instead of writing long if/ if else statements, I would recommend using 'case'. It's better efficiency wise and looks cleaner.
http://www.skorks.com/2009/08/how-a-ruby-case-statement-works-and-what-you-can-do-with-it/
Hi Phillip,
Really nice code here. It's very efficient and D.R.Y. For what you have here, I can't think of any way to make the code more efficient. You may want to consider throwing an ArgumentError in your .initialize and .guess methods if the argument passed in is not an Integer. Good stuff overall.
Spencer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.