ga-wdi-boston / ruby-solid-study Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Square/Rectangle is used in the inheritance lab (https://github.com/ga-wdi-boston/ruby-object-inheritance), so this essentially gives them the answer to that lab.
WDI 011 had a number of developers ask for more hands-on practice.
In study.md, under the heading SOLID
, there is a sentence that reads:
For example, things we call "Vehicles" should behave like "Sedans", though the latter may
be more specific.
This phrasing seems to imply that Vehicle
inherits behavior from Sedan
, or that any Vehicle should be able to do anything that a Sedan can do. I would propose the following phrasing instead:
For example, things we call "Sedans" should behave like "Vehicles", though the former may
be more specific.
This phrasing implies the correct inheritance relationship between Sedan
and Vehicle
.
Please let me know if my understanding of the Liskov substitution principle here is incorrect.
A simple system has clearly-identifiable dependencies that are not affect by change.
Pick a few design heuristics. Describe some common, named refactorings you can use approach a good design.
Link to '"Design Principles and Design Patterns" by Robert C. Martin' goes to a parked GoDaddy domain.
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.