Comments (3)
For the custom method, we could use the Luhn algorithm for validating credit cards, but that might require too much contextual overhead.
from textbook-curriculum.
For tomorrow (C6) I say we just roll with it, we can come back to this for C7 if we have time.
from textbook-curriculum.
Sure we could use a more complicated example to show a custom validation
and we could do my custom validation with the built-in tools, but the point
is simply to show how a custom validation can be written and used without
having to learn another algorithm as well, for the initial example.
Luhn makes a very good use-case for a followup example or homework however.
That's a good thing to add for C7.
On Tue, Oct 18, 2016 at 11:18 PM, Dan Roberts [email protected]
wrote:
For tomorrow (C6) I say we just roll with it, we can come back to this for
C7 if we have time.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#83 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABH3SIiGomookx67v4q9EEYHzEv2IKq5ks5q1bYtgaJpZM4KamO6
.
Chris McAnally
Ada Developer Academy Instructor
Change the world, one line at a time.
from textbook-curriculum.
Related Issues (9)
- JavaScript 02 - Functions needs better example code HOT 1
- Backbone Materials - Suggested Long-term Revision HOT 5
- Ruby/Intro to Object Types: Hashes do have fixed order HOT 2
- Stack and Queues Notes
- fix the .rails-template.rb gist to include pry in :development and :test HOT 1
- Should CSS Framework lesson mention the Foundation Rails gem? HOT 4
- Organization of the Rails Folder is a Hot Mess HOT 1
- Installfest - Rectangle perms HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textbook-curriculum.