Terms Flashcards
what does API stand for?
application programming interface
what does API refer to?
can refer to both how applications talk to each other, as well as documentation.
if someone says “Did you take a look at the Array API?”, they’re talking about the Ruby docs documentation for the Array class.
if someone says “What’s the Twitter API?”,
they’re talking about the programmatic interface to Twitter’s services.
what are class methods?
methods defined only for a class. And don’t work on an object instantiated from a class
what are instance methods?
methods defined only for an object instantiated from a class
what are Public Class Methods?
Public Class Methods are called directly from the class.
what are Public Instance Methods?
can be applied to any instance of the clas
what is a parameter?
a
what is a return value?
b
what is a gem?
a collection of Ruby files, or Ruby library, that performs a certain task. The code in a gem is like pre-packaged bundles of code written by someone to solve a useful problem.
It is managed by RubyGems rubygems.org - a publishing system that is behind organizing, listing, and publishing those libraries, or gems.
explain Semantic Versioning
Given a version number MAJOR.MINOR.PATCH, increment the:
MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards compatible manner, and
PATCH version when you make backwards compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
what is abstraction?
a concept that ensures that users are far removed from what’s happening “under the hood”.
what does DSL stand for?
Domain Specific Languages
Name examples of Ruby DLSs
Rails, Rspec, capybara
what is a Domain Specific Language?
Ruby programmers use the Ruby programming language to design and build higher level languages