context
stringlengths
545
71.9k
questionsrc
stringlengths
16
10.2k
question
stringlengths
11
563
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
he was found with a robust set of stone and natural-fiber tools , including a six-foot longbow , deerskin case , fourteen arrows , a stick with an antler tip for sharpening flint blades , a small flint dagger in a woven sheath , a copper axe , and a medicine bag . language , culture and art language was perhaps the mos...
did we decided/forced/forgot/still use the foreign language ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
he was found with a robust set of stone and natural-fiber tools , including a six-foot longbow , deerskin case , fourteen arrows , a stick with an antler tip for sharpening flint blades , a small flint dagger in a woven sheath , a copper axe , and a medicine bag . language , culture and art language was perhaps the mos...
did we decide or were we forced to change the foreign language that we used to speak ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
they show an interest in sharing knowledge , expressing feelings , and transmitting cultural information to later generations . though artwork from over 35,000 years ago is rare , there is ample evidence of cave paintings and statuettes from later periods . in addition to cave art , portable figurines dated to paleolit...
how can they tell when the cave arts where painted in that era ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
by approximately 40,000 years ago , narrow stone blades and tools made of bone , ivory , and antler appeared , along with simple wood instruments . closer to 20,000 years ago , the first known needles were produced . eventually , between 17,000 and 8,000 years ago , humans produced more complicated instruments like bar...
i understand that there could be older needles that have n't been found but how would early humans have made clothes to fit their environments as they moved out of africa without needles ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
what do you think ? what evidence do we have that paleolithic people had developed a capacity for language ? could paleolithic people have survived in the ways that they did without language ?
do we have any evidence of older artifacts being more detailed and advanced than the form in which they were discovered ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
he was found with a robust set of stone and natural-fiber tools , including a six-foot longbow , deerskin case , fourteen arrows , a stick with an antler tip for sharpening flint blades , a small flint dagger in a woven sheath , a copper axe , and a medicine bag . language , culture and art language was perhaps the mos...
what is the most important innovation of the paleolithic era ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts which historians can use to reconstruct the worlds of paleolithic peoples . in fact , stone tools were so important ...
in the first paragraph , what stone tool was the most useful during this time ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
what evidence do we have that paleolithic people had developed a capacity for language ? could paleolithic people have survived in the ways that they did without language ? what do you think was the purpose of paleolithic art such as cave paintings and figurines ?
can those people encipher the stories behind the cave paintings ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
by approximately 40,000 years ago , narrow stone blades and tools made of bone , ivory , and antler appeared , along with simple wood instruments . closer to 20,000 years ago , the first known needles were produced . eventually , between 17,000 and 8,000 years ago , humans produced more complicated instruments like bar...
was the fertility figure the first religion ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era .
if so , did the `` fatherly '' deity exist with this mother/earth goddess ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
it is likely that many tools made out of materials besides stone were prevalent but simply did not survive to the present day for scientists to observe . one exception is the neolithic “ ice man ” , found by two hikers in the ötztal alps , who was preserved in ice for 5,000 years ! he was found with a robust set of sto...
how could the ice man be found with a copper ax ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
though artwork from over 35,000 years ago is rare , there is ample evidence of cave paintings and statuettes from later periods . in addition to cave art , portable figurines dated to paleolithic times have been found . many of these include finely carved facial features , while others accentuate sexual organs and butt...
i wonder if these artists had art as an occupation in the hierarchy of paleolithic societies ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
language , culture and art language was perhaps the most important innovation of the paleolithic era . scientists can infer the early use of language from the fact that humans traversed large swaths of land , established settlements , created tools , traded , and instituted social hierarchies and cultures . without the...
did the early humans have religion ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
without the aid of language , these things would likely have been impossible . examinations of the craniums of archaic homo sapiens suggest large brains with indentations that imply the development of brain areas associated with speech . exactly how humans developed a capacity for language is a matter of considerable d...
could humans , being homo sapiens sapiens , reproduce with denisovan or neanderthal subspecies ?
overview paleolithic groups developed increasingly complex tools and objects made of stone and natural fibers . language , art , scientific inquiry , and spiritual life were some of the most important innovations of the paleolithic era . technological innovation stone tools are perhaps the first cultural artifacts whic...
he was found with a robust set of stone and natural-fiber tools , including a six-foot longbow , deerskin case , fourteen arrows , a stick with an antler tip for sharpening flint blades , a small flint dagger in a woven sheath , a copper axe , and a medicine bag . language , culture and art language was perhaps the mos...
what language did the paleolithic humans speak ?
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already . our mover object from the forces section serves as the perfect template . for us , a particle is an independent body that moves about the screen . it has location...
writing this function is pretty easy ; we just need to check and see if the value of timetolive is less than 0 . if it is we return true , if not we return false . particle.prototype.isdead = function ( ) { if ( this.timetolive & lt ; 0 ) { return true ; } else { return false ; } } ; before we get to the next step of m...
what does `` return '' do ?
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already . our mover object from the forces section serves as the perfect template . for us , a particle is an independent body that moves about the screen . it has location...
in addition , we give the particle a random initial velocity as well as a downward acceleration ( to simulate gravity ) . now that we have an object to describe a single particle , we ’ re ready for the next big step . how do we keep track of many particles , when we can ’ t ensure exactly how many particles we might h...
how to stop rotation on next challenge ?
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already . our mover object from the forces section serves as the perfect template . for us , a particle is an independent body that moves about the screen . it has location...
if it is we return true , if not we return false . particle.prototype.isdead = function ( ) { if ( this.timetolive & lt ; 0 ) { return true ; } else { return false ; } } ; before we get to the next step of making many particles , it ’ s worth taking a moment to make sure our particle works correctly and create a sketch...
why cant the particle.prototype.isdead function just return a boolean value , like this , particle.prototype.isdead = function ( ) { return this.timetolive < = 0 ; } instead of having a series of uneeded if statements ?
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already . our mover object from the forces section serves as the perfect template . for us , a particle is an independent body that moves about the screen . it has location...
here is the full code below , with two small additions . we add a convenience method called run ( ) that simply calls both update ( ) and display ( ) for us . in addition , we give the particle a random initial velocity as well as a downward acceleration ( to simulate gravity ) .
what 's the difference between .display ( ) ; and .draw ( ) ; ?
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already . our mover object from the forces section serves as the perfect template . for us , a particle is an independent body that moves about the screen . it has location...
it has location , velocity , and acceleration , a constructor to initialize those variables , and functions to display ( ) itself and update ( ) its location . `` ` // a simple particle object var particle = function ( position ) { this.acceleration = new pvector ( ) ; this.velocity = new pvector ( ) ; this.position = ...
in the challenge 'falling leaves ' what does var self = this means ?
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already . our mover object from the forces section serves as the perfect template . for us , a particle is an independent body that moves about the screen . it has location...
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already .
what is p vector ( ) ; ?
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already . our mover object from the forces section serves as the perfect template . for us , a particle is an independent body that moves about the screen . it has location...
with those values , we can use timetolive as the alpha transparency for the ellipse as well . when the particle is “ dead ” it will also have faded away onscreen . with the addition of the timetolive property , we ’ ll also need one additional method—a function that can be queried ( for a true or false answer ) as to w...
is the particle object really dead ?
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already . our mover object from the forces section serves as the perfect template . for us , a particle is an independent body that moves about the screen . it has location...
if it is we return true , if not we return false . particle.prototype.isdead = function ( ) { if ( this.timetolive & lt ; 0 ) { return true ; } else { return false ; } } ; before we get to the next step of making many particles , it ’ s worth taking a moment to make sure our particle works correctly and create a sketch...
wo n't the code above create an ever increasing number of particle objects that still need to have their positions calculated and isdead status checked for every cycle ?
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already . our mover object from the forces section serves as the perfect template . for us , a particle is an independent body that moves about the screen . it has location...
it has location , velocity , and acceleration , a constructor to initialize those variables , and functions to display ( ) itself and update ( ) its location . `` ` // a simple particle object var particle = function ( position ) { this.acceleration = new pvector ( ) ; this.velocity = new pvector ( ) ; this.position = ...
ok , here is my code again ; var leaves = [ ] ; var tree = new tree ( new pvector ( width/2 , 400 ) ) ; mouseclicked = function ( ) { leaves.push ( new particle ( new pvector ( mousex , mousey ) ) ) ; } ; draw = function ( ) { background ( 194 , 231 , 255 ) ; tree.display ( ) ; for ( var i = 0 ; i < leaves.length ; i++...
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already . our mover object from the forces section serves as the perfect template . for us , a particle is an independent body that moves about the screen . it has location...
before we can create an entire particlesystem , we have to create an object that will describe a single particle . the good news : we 've done this already . our mover object from the forces section serves as the perfect template .
step 1 : is there a way to match the leaves ' positions to what the tree is already drawing ?
overview the pueblo people , native americans living in what is now new mexico , rose up against spanish conquistadores in the wake of religious persecution , violence , and drought . the uprising aimed to reclaim pueblo religious practices , culture , and land , which had been stripped away by spanish conquistadores ....
in 1680 , the pueblo launched a coordinated attack on the spanish . pueblos , navajos , and apaches from the region congregated and planned to strike santa fe when the spaniards were low on supplies . they laid siege to the city for nine days and cut off the spanish water supply .
why were n't the navajos and apache groups as culturally influential to the spaniards ?
overview the pueblo people , native americans living in what is now new mexico , rose up against spanish conquistadores in the wake of religious persecution , violence , and drought . the uprising aimed to reclaim pueblo religious practices , culture , and land , which had been stripped away by spanish conquistadores ....
overview the pueblo people , native americans living in what is now new mexico , rose up against spanish conquistadores in the wake of religious persecution , violence , and drought . the uprising aimed to reclaim pueblo religious practices , culture , and land , which had been stripped away by spanish conquistadores .
simply a difference in geographical locations ?
overview the pueblo people , native americans living in what is now new mexico , rose up against spanish conquistadores in the wake of religious persecution , violence , and drought . the uprising aimed to reclaim pueblo religious practices , culture , and land , which had been stripped away by spanish conquistadores ....
although the pueblo uprising ultimately failed to take back santa fe from spanish colonizers , the pueblo people made a lasting impact on the dominant culture of the southwest . pueblo uprising in santa fe having found wealth in mexico , the spanish looked north to expand their empire into the land of the pueblo people...
how long was mexico controlled by the spanish ?
biological oxidation of ethanol have you ever had a hangover ? that throbbing headache and feeling like a zombie is the punishment for drinking more than just a couple of alcoholic beverages . sounds familiar ? have you ever wondered what your body is doing and why your head hurts so much ? part of the problem is dehyd...
just like ethanol , the first step changes the alcohol to the aldehyde , and the second step changes the aldehyde to the carboxylic acid . from methanol though , formaldehyde and formic acid are produced instead of the harmless acetic acid ( as in the case of ethanol ) . both formaldehyde and formic acid ( methanoic ac...
how long does it take for ethanol to oxidize to ethanoic acid in wine ?
biological oxidation of ethanol have you ever had a hangover ? that throbbing headache and feeling like a zombie is the punishment for drinking more than just a couple of alcoholic beverages . sounds familiar ? have you ever wondered what your body is doing and why your head hurts so much ? part of the problem is dehyd...
the overall reaction shows how an alcohol is oxidized in biochemistry . now there are various definitions for oxidation , but the one i want to use is “ oxidation is the gain of oxygen ” . actually , the very first scientists to discover oxidation and the opposite reaction , reduction , studied the addition and removal...
can we use ad for phenols ?
introduction we 've done a few examples of direct application of ohm 's law when we derived equations for series and parallel resistors , a voltage divider , and simplifying a resistor network . now we do an example that puts kirchhoff 's laws to work for us , too . we call this the application of the fundamental laws ...
$ +v_ { \text { s } } - v_1 - v_2 = 0 $ $ +140 - v_1 - v_2 = 0 $ the $ - $ signs for $ v_1 $ and $ v_2 $ are because we encounter their $ + $ sign first during the clockwise tour around the loop , indicating we will see a voltage drop as we go through the component . kcl at node $ \green b $ we will get our second equa...
at the point where kcl is calculated at node b , why is the voltage same for currents i2 and i3 ?
introduction we 've done a few examples of direct application of ohm 's law when we derived equations for series and parallel resistors , a voltage divider , and simplifying a resistor network . now we do an example that puts kirchhoff 's laws to work for us , too . we call this the application of the fundamental laws ...
select the independent variable at this point we have a choice to make . should the independent variable be voltage $ v $ or current $ i $ ? one good way to make this choice is to compare the number of unknown voltages to unknown currents .
how is it that current flows `` up '' through the current source in this example , from lower voltage to higher voltage ?
introduction we 've done a few examples of direct application of ohm 's law when we derived equations for series and parallel resistors , a voltage divider , and simplifying a resistor network . now we do an example that puts kirchhoff 's laws to work for us , too . we call this the application of the fundamental laws ...
introduction we 've done a few examples of direct application of ohm 's law when we derived equations for series and parallel resistors , a voltage divider , and simplifying a resistor network . now we do an example that puts kirchhoff 's laws to work for us , too .
why is n't there a voltage over the 5 ohm resistor ?
introduction we 've done a few examples of direct application of ohm 's law when we derived equations for series and parallel resistors , a voltage divider , and simplifying a resistor network . now we do an example that puts kirchhoff 's laws to work for us , too . we call this the application of the fundamental laws ...
we call this the application of the fundamental laws . task : find the unknown currents and voltages in this circuit . the steps to a solution involve creating and solving a system of independent equations , label the voltages and currents using the sign convention for passive components .
is the reason for this because , in a round about way , we have already resolved the currents ( or voltages ) accordingly so that ohm 's law , as it pertains specifically to parallel and series circuits , does n't apply anymore ?
introduction we 've done a few examples of direct application of ohm 's law when we derived equations for series and parallel resistors , a voltage divider , and simplifying a resistor network . now we do an example that puts kirchhoff 's laws to work for us , too . we call this the application of the fundamental laws ...
$ +v_ { \text { s } } - v_1 - v_2 = 0 $ $ +140 - v_1 - v_2 = 0 $ the $ - $ signs for $ v_1 $ and $ v_2 $ are because we encounter their $ + $ sign first during the clockwise tour around the loop , indicating we will see a voltage drop as we go through the component . kcl at node $ \green b $ we will get our second equa...
how would one label the current flow in node c ?
introduction we 've done a few examples of direct application of ohm 's law when we derived equations for series and parallel resistors , a voltage divider , and simplifying a resistor network . now we do an example that puts kirchhoff 's laws to work for us , too . we call this the application of the fundamental laws ...
select the independent variable at this point we have a choice to make . should the independent variable be voltage $ v $ or current $ i $ ? one good way to make this choice is to compare the number of unknown voltages to unknown currents .
would n't the current source of 18a affect the voltage across the resistor of 5 ohms , since current is being driven by both the voltage source and the current source of 18a ?
introduction we 've done a few examples of direct application of ohm 's law when we derived equations for series and parallel resistors , a voltage divider , and simplifying a resistor network . now we do an example that puts kirchhoff 's laws to work for us , too . we call this the application of the fundamental laws ...
$ +v_ { \text { s } } - v_1 - v_2 = 0 $ $ +140 - v_1 - v_2 = 0 $ the $ - $ signs for $ v_1 $ and $ v_2 $ are because we encounter their $ + $ sign first during the clockwise tour around the loop , indicating we will see a voltage drop as we go through the component . kcl at node $ \green b $ we will get our second equa...
after the fourth paragraph under `` kcl at node bb '' why did the ohms qualifier disappear ?
introduction we 've done a few examples of direct application of ohm 's law when we derived equations for series and parallel resistors , a voltage divider , and simplifying a resistor network . now we do an example that puts kirchhoff 's laws to work for us , too . we call this the application of the fundamental laws ...
$ 3 $ meshes ( inner loops ) . $ 1 $ source voltage , $ v_ { \text s } $ , and $ 2 $ element voltages , $ v_1 $ and $ v_2 $ . $ 1 $ source current , $ i_ { \text s } $ , and $ 3 $ element currents , $ i_1 $ , $ i_2 $ and $ i_3 $ . when assigning polarity to the voltage and current of each element , we use the sign conv...
hi i wan na ask a question about the current source and the voltage source the direction of of i1 , i2 , i3 how can i choose them correctly ?
hi , i 'm monica shah ! what do you work on ? i am a malaria epidemiologist at the centers for disease control and prevention ( cdc ) . initially , i began my career in malaria as a laboratory scientist at cdc , using molecular skills from my background in biochemistry to detect genetic markers of antimalarial drug res...
instead , it may mean that you have acquired the knowledge and skills necessary to continue asking questions and finding ways to answer them . how did you become interested in chemistry , and what did you study ? i had an incredible chemistry professor in high school who inspired me to pursue further studies in science...
during your studies of chemistry during school , what keep you interested in pursuing chemistry ?
hi , i 'm monica shah ! what do you work on ? i am a malaria epidemiologist at the centers for disease control and prevention ( cdc ) . initially , i began my career in malaria as a laboratory scientist at cdc , using molecular skills from my background in biochemistry to detect genetic markers of antimalarial drug res...
what do you work on ? i am a malaria epidemiologist at the centers for disease control and prevention ( cdc ) . initially , i began my career in malaria as a laboratory scientist at cdc , using molecular skills from my background in biochemistry to detect genetic markers of antimalarial drug resistance for surveillance...
what chemicals do you guys used to treat a rare disease ?
old , beautiful and important the ardabil carpet is exceptional ; it is one of the world 's oldest islamic carpets , as well as one of the largest , most beautiful and historically important . it is not only stunning in its own right , but it is bound up with the history of one of the great political dynasties of iran ...
the persian word for a door can be used to denote a shrine or royal court , so this inscription may imply that the royal court patronized the shrine . the carpets would have probably taken four years to make . the fourth line of the inscription is also important .
i know it is also the name of a dark blue colour , but how would one make a dye this colour ?
old , beautiful and important the ardabil carpet is exceptional ; it is one of the world 's oldest islamic carpets , as well as one of the largest , most beautiful and historically important . it is not only stunning in its own right , but it is bound up with the history of one of the great political dynasties of iran ...
the knot-count of a carpet still directly impacts the value of carpets today ; the more knots per square centimeter , the more detailed and elaborate the patterns can be . the dyes used to color the carpet are natural and include pomegranate rind and indigo . up to ten weavers could have worked on the carpet at any giv...
: ) what exactly is `` pomegrante rind '' dye , and what was used to make it ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
what conditions must be met to be awarded the `` intro to js : drawing & animation mastery badge '' ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so we can actually call the book constructor from the paperback constructor , and pass in those arguments : var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; // ... } ; we still need to store the cover property in the object though , so we need one more li...
at the end of the review , paperback.prototype.burn = function ( ) { println ( `` omg , you burnt all `` + this.numpages + `` pages '' ) ; this.numpages = 0 ; } ; why add this.numpages = 0 ; ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
now , if you think about the world , cats and dogs are different types of objects , so you 'd probably create different object types for them if you were programming a cat and a dog . a cat would meow ( ) , a dog would bark ( ) . but they 're also similar- both a cat and dog would eat ( ) , they both have an age , and ...
back in the last section we learned how to create arrays of objects , but how would that work with a constructors and methods ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so we can actually call the book constructor from the paperback constructor , and pass in those arguments : var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; // ... } ; we still need to store the cover property in the object though , so we need one more li...
ca n't we just say : paperback.prototype = new book ( ) ; instead of : paperback.prototype = object.create ( book.prototype ) ; ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so we can actually call the book constructor from the paperback constructor , and pass in those arguments : var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; // ... } ; we still need to store the cover property in the object though , so we need one more li...
book.prototype.readitall ) can now be applied to a paperback object ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
now , if you think about the world , cats and dogs are different types of objects , so you 'd probably create different object types for them if you were programming a cat and a dog . a cat would meow ( ) , a dog would bark ( ) . but they 're also similar- both a cat and dog would eat ( ) , they both have an age , and ...
what would be the most efficient way to make a pixel drawing function ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we want to be able to say `` this is generally what a cat is like '' and then say `` let 's make this specific cat , and this other cat , and they 'll be similar in some ways and different in a few ways as well . '' in that case , we want to use object-oriented design to define object types and create new instances of ...
and what does .object do in javascript ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
it then sets the initial properties of the object based on those arguments , using the this keyword . when we use this in an object , we are referring to the current instance of an object , referring to itself . we need to store the properties on this to make sure we can remember them later .
on the review why do we have to declare this.numpages = 0 , wo n't `` this '' just recognize the current object number of pages and use that ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
it then sets the initial properties of the object based on those arguments , using the this keyword . when we use this in an object , we are referring to the current instance of an object , referring to itself . we need to store the properties on this to make sure we can remember them later .
is there a way to delete an instance of an object ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
they 're both mammals , and that means they share a lot in common , even if they 're also different . in that case , we want to use the idea of object inheritance . an object type could inherit properties and behavior from a parent object type , but then also have its own unique things about it . all the cats and dogs ...
what if the `` parent '' object has more than one prototype ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we want to be able to say `` this is generally what a cat is like '' and then say `` let 's make this specific cat , and this other cat , and they 'll be similar in some ways and different in a few ways as well . '' in that case , we want to use object-oriented design to define object types and create new instances of ...
how do we distinguish between prototypes when creating prototypes for the child objects ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
that 's how javascript knows that this is a function that can be called on any book object , and that this function should have access to the this of the book that it 's called on . we can then call the function ( which we call a method , since it 's attached to an object ) , like so : var book = new book ( `` animal f...
why must you put the 'this ' inside the ( ) 's when you run a x.call ( ) command ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
and what exactly is 'this ' stand for ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so , our constructor needs to take four arguments , to take in that extra info : var paperback = function ( title , author , numpages , cover ) { // ... } now , we do n't want to have to do all the work that we already did in the book constructor to remember those first three arguments - we want to take advantage of th...
when we write something like var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; this.cover = cover ; } ; are we making another instance of book but with extra features or are we making a new constructor function ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
this is the function that we 'll use whenever we want to create a new instance of that object type . here 's a constructor function for a book object type : var book = function ( title , author , numpages ) { this.title = title ; this.author = author ; this.numpages = numpages ; this.currentpage = 0 ; } ; the function ...
var book = function ( title , stars , author , color ) { this.title = title ; this.stars = stars ; this.author = author ; this.color = color ; } ; var books = [ var harrypotter = new book { `` harry potter '' , 5 , `` j.k. rowling '' , color ( 204 , 0 , 255 ) } } anybody know what i 'm doing wrong ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we want to be able to say `` this is generally what a cat is like '' and then say `` let 's make this specific cat , and this other cat , and they 'll be similar in some ways and different in a few ways as well . '' in that case , we want to use object-oriented design to define object types and create new instances of ...
is it correct to say the constructor function defines the class , and then when `` new '' is used with a variable , we create an object from the class ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we want to be able to say `` this is generally what a cat is like '' and then say `` let 's make this specific cat , and this other cat , and they 'll be similar in some ways and different in a few ways as well . '' in that case , we want to use object-oriented design to define object types and create new instances of ...
i decided to start converting the structure to be object oriented in order to keep things more organised but now i am in a dilemma : how far should i go ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so , our constructor needs to take four arguments , to take in that extra info : var paperback = function ( title , author , numpages , cover ) { // ... } now , we do n't want to have to do all the work that we already did in the book constructor to remember those first three arguments - we want to take advantage of th...
var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; this.cover = cover ; } ; why not just put the cover attribute inside the call function parameters like var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , nu...
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we need to store the properties on this to make sure we can remember them later . to create an instance of a book object , we declare a new variable to store it , then use the new keyword , followed by the constructor function name , and pass in the arguments that the constructor expects : var book = new book ( `` robo...
var book = new book ( `` robot dreams '' , `` isaac asimov '' , 320 ) ; we can then access any properties that we stored in the object using dot notation : println ( `` i loved reading `` + book.title ) ; // i loved reading robot dreams println ( book.author + `` is my fav author '' ) ; // `` isaac asimov '' is my fav ...
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
this is the function that we 'll use whenever we want to create a new instance of that object type . here 's a constructor function for a book object type : var book = function ( title , author , numpages ) { this.title = title ; this.author = author ; this.numpages = numpages ; this.currentpage = 0 ; } ; the function ...
in the definition of the burn function , why is this.numpages passed 0 ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
this is the function that we 'll use whenever we want to create a new instance of that object type . here 's a constructor function for a book object type : var book = function ( title , author , numpages ) { this.title = title ; this.author = author ; this.numpages = numpages ; this.currentpage = 0 ; } ; the function ...
why is `` this.numpages = 0 ; '' added at the end of the burn function ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so we can actually call the book constructor from the paperback constructor , and pass in those arguments : var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; // ... } ; we still need to store the cover property in the object though , so we need one more li...
what is the use of > prototype < ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we want to be able to say `` this is generally what a cat is like '' and then say `` let 's make this specific cat , and this other cat , and they 'll be similar in some ways and different in a few ways as well . '' in that case , we want to use object-oriented design to define object types and create new instances of ...
how can i create an array of objects with a object creator function ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we want to be able to say `` this is generally what a cat is like '' and then say `` let 's make this specific cat , and this other cat , and they 'll be similar in some ways and different in a few ways as well . '' in that case , we want to use object-oriented design to define object types and create new instances of ...
can you pass objects to a function ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so we can actually call the book constructor from the paperback constructor , and pass in those arguments : var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; // ... } ; we still need to store the cover property in the object though , so we need one more li...
how.the program interpret `` book.readitall ( ) ; '' and why it is not written as book.read.it.all another question is that i see that the word `` burn '' is not defined in this command : `` paperback.prototype.burn '' therefore , should it be a variable first ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
in that case , we want to use object-oriented design to define object types and create new instances of those objects . to define an object type in javascript , we first have to define a `` constructor function '' . this is the function that we 'll use whenever we want to create a new instance of that object type .
why the official processingjs documentation uses a different way to define classes ( class keyword ) , functions ( we can define returning value type directly ) and variables ( ex : int for integers ) ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so we can actually call the book constructor from the paperback constructor , and pass in those arguments : var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; // ... } ; we still need to store the cover property in the object though , so we need one more li...
instead of paperback.prototype.burn = function ( ) { blah } why not this.burn = function ( ) { blah } inside of the paperback object ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we want to be able to say `` this is generally what a cat is like '' and then say `` let 's make this specific cat , and this other cat , and they 'll be similar in some ways and different in a few ways as well . '' in that case , we want to use object-oriented design to define object types and create new instances of ...
can sibling object types inherit from one another ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
a paperback is like a book , but it has one main thing different , at least for our program : it has a cover image . so , our constructor needs to take four arguments , to take in that extra info : var paperback = function ( title , author , numpages , cover ) { // ... } now , we do n't want to have to do all the work ...
why does 'this ' not work to assign conditions that can be used in if statements ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so , our constructor needs to take four arguments , to take in that extra info : var paperback = function ( title , author , numpages , cover ) { // ... } now , we do n't want to have to do all the work that we already did in the book constructor to remember those first three arguments - we want to take advantage of th...
in the paperback burn function/method above , why did you have this.numpages = 0 in the final line of code ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
in that case , we want to use object-oriented design to define object types and create new instances of those objects . to define an object type in javascript , we first have to define a `` constructor function '' . this is the function that we 'll use whenever we want to create a new instance of that object type .
can you move your draw method definition to be just under the constructor ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
what is the value for `` x '' in `` this.x = x '' ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
what is the equivalent of calling super.functionname ( ) in ka processing js ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we need to store the properties on this to make sure we can remember them later . to create an instance of a book object , we declare a new variable to store it , then use the new keyword , followed by the constructor function name , and pass in the arguments that the constructor expects : var book = new book ( `` robo...
what is the difference between println ( ) and text ( ) ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so we can actually call the book constructor from the paperback constructor , and pass in those arguments : var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; // ... } ; we still need to store the cover property in the object though , so we need one more li...
ca n't we simply write paperback=object.create ( book ) ; instead of paperback.prototype=object.create ( book.prototype ) ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
the object will have long forgotten about them . when we define object types , we often want to associate both properties and behavior with them - like all of our cat objects should be able to meow ( ) and eat ( ) . so we need to be able to attach functions to our object type definitions , and we can do that by definin...
are n't objects like functions ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
when we define object types , we often want to associate both properties and behavior with them - like all of our cat objects should be able to meow ( ) and eat ( ) . so we need to be able to attach functions to our object type definitions , and we can do that by defining them on what 's called the object prototype : b...
is the word changed just because it 's a function that is applied to a prototype , rather than a single object ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
and what is an 'argument ' ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so , our constructor needs to take four arguments , to take in that extra info : var paperback = function ( title , author , numpages , cover ) { // ... } now , we do n't want to have to do all the work that we already did in the book constructor to remember those first three arguments - we want to take advantage of th...
how could i make my new constructor function ( paperback ) only inherit some of ( books ) the other object 's methods ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so we can actually call the book constructor from the paperback constructor , and pass in those arguments : var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; // ... } ; we still need to store the cover property in the object though , so we need one more li...
can somebody give me a easier definition of prototype ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
in that case , we want to use object-oriented design to define object types and create new instances of those objects . to define an object type in javascript , we first have to define a `` constructor function '' . this is the function that we 'll use whenever we want to create a new instance of that object type . her...
what does `` e.apply is not an function '' mean ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
all the cats and dogs could inherit from mammal , so that they would n't have to invent eat ( ) ing from scratch . how would we do that in javascript ? let 's go back to our book example , and say that book is the `` parent '' object type , and we want to make two object types that inherit from it - paperback and ebook...
and one question how am i going to javascript in html and css ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
`` ) ; } ; it 's like how we would define a function normally , except that we hang it off the book 's prototype instead of just defining it globally . that 's how javascript knows that this is a function that can be called on any book object , and that this function should have access to the this of the book that it '...
at flower grower i get an error called e.apply is not a function what to do ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
remember , the whole point of object-oriented design is that it makes it easy for us to make multiple related objects ( object instances ) . let 's see that in code : `` ` var pirate = new book ( `` pirate cinema '' , `` cory doctorow '' , 384 ) ; var giver = new book ( `` the giver '' , `` lois lowry '' , 179 ) ; var ...
on the smileyface challenge , i am stuck on part 3 where we have to add this- smileyface.prototype.draw = function ( ) { } ; var face = new smileyface ( 200 , 300 ) ; face.draw ( ) ; what do i put in the draw function brackets ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
when we use this in an object , we are referring to the current instance of an object , referring to itself . we need to store the properties on this to make sure we can remember them later . to create an instance of a book object , we declare a new variable to store it , then use the new keyword , followed by the cons...
can anybody help me out with how to make a functional text box ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so we can actually call the book constructor from the paperback constructor , and pass in those arguments : var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; // ... } ; we still need to store the cover property in the object though , so we need one more li...
at the bottom of this article , what 's the meaning of `` this.numpages = 0 ; '' in `` paperback.prototype.burn = function ( ) { println ( `` omg , you burnt all `` + this.numpages + `` pages '' ) ; this.numpages = 0 ; } ; '' ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we want to be able to say `` this is generally what a cat is like '' and then say `` let 's make this specific cat , and this other cat , and they 'll be similar in some ways and different in a few ways as well . '' in that case , we want to use object-oriented design to define object types and create new instances of ...
can i extend inherited methods like i can extend inherited object constructors ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so we can actually call the book constructor from the paperback constructor , and pass in those arguments : var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; // ... } ; we still need to store the cover property in the object though , so we need one more li...
paperback.prototype.burn = function ( ) { println ( `` omg , you burnt all `` + this.numpages + `` pages '' ) ; this.numpages = 0 ; } ; why give this.numpages a value '0 ' to begin with ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we want to be able to say `` this is generally what a cat is like '' and then say `` let 's make this specific cat , and this other cat , and they 'll be similar in some ways and different in a few ways as well . '' in that case , we want to use object-oriented design to define object types and create new instances of ...
how do you override functions in the child object ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
this is the function that we 'll use whenever we want to create a new instance of that object type . here 's a constructor function for a book object type : var book = function ( title , author , numpages ) { this.title = title ; this.author = author ; this.numpages = numpages ; this.currentpage = 0 ; } ; the function ...
var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , autor , numpages , color ) ; } ; asuming that color was a this variable in the book object type ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so we can actually call the book constructor from the paperback constructor , and pass in those arguments : var paperback = function ( title , author , numpages , cover ) { book.call ( this , title , author , numpages ) ; // ... } ; we still need to store the cover property in the object though , so we need one more li...
when creating a sub-object like paperback under book , why is it necessary to create both constructor code for paperback based on book as well as define the prototype of paperback based on the prototype of book ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
so , our constructor needs to take four arguments , to take in that extra info : var paperback = function ( title , author , numpages , cover ) { // ... } now , we do n't want to have to do all the work that we already did in the book constructor to remember those first three arguments - we want to take advantage of th...
when building the constructor for paperback , why does it not automatically inherit the methods contained in book ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
tuck.readitall ( ) ; // you read 144 pages ! `` ` that code gives us three books that are similar - they all have the same types of properties and behavior , but also different . sweet !
`` ) ; } ; what is the reason for the following line of code ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
when making a construction , what does ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
we can then call the function ( which we call a method , since it 's attached to an object ) , like so : var book = new book ( `` animal farm '' , `` george orwell '' , 112 ) ; book.readitall ( ) ; // you read 112 pages ! remember , the whole point of object-oriented design is that it makes it easy for us to make multi...
can you have multiple inheritances with many different objects so that one object may be a 'grandparent ' to another object ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
what are the uses of this.//argument=//argument ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
how would we do that in javascript ? let 's go back to our book example , and say that book is the `` parent '' object type , and we want to make two object types that inherit from it - paperback and ebook . a paperback is like a book , but it has one main thing different , at least for our program : it has a cover ima...
i want game character to jump in curvy path making a `` c '' .how should i make it , give me the codings ?
this is a review of what we covered in this tutorial on object-oriented design . when we create programs , we often find that we want to create many different objects that all share similar properties - like many cats , that have slightly different fur color and size , or many buttons , with different labels and positi...
now , if you think about the world , cats and dogs are different types of objects , so you 'd probably create different object types for them if you were programming a cat and a dog . a cat would meow ( ) , a dog would bark ( ) . but they 're also similar- both a cat and dog would eat ( ) , they both have an age , and ...
would you as a programmer be in legal trouble even though you were only writing numbers , shapes , and text yourself ?