Created
March 23, 2018 07:40
-
-
Save mrveera/77f57e97d676bd922157ade3ff34a9f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let doYouLikeProgramming = function () { | |
return 'No, I love programming'; | |
} | |
let getReasonsBehindIt = function () { | |
return { | |
'1':'Controlling things', | |
'2':'Computer do whatever we say by writing code', | |
'3':'It make us think more creative', | |
'4':'and so on...' | |
} | |
} | |
doWeHaveAnyChallenges = function () { | |
return "I would say yes but it depends"; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const veera = require('veera'); | |
let suggestions=veera.ask('suggestions'); | |
console.log(suggestions); | |
suggestions='\n\n 1.Learn concepts deeply\n\n 2.Enjoy the programming \n\n 3.Not only assignments \n \t do your own stuff \ | |
to learn more and which gives you dopamine \n\n 4.Learning has no end \n\n Go forward let\'s do it now' | |
let conclusion = 'I saw the power of programming'; | |
audience.forEach(function (individual) { | |
individual.whatAboutYou(); | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//let's assume Person is built in rich object to construct new Persons | |
let veera = new Person('veera',19); | |
veera.on('breath',function (programming) { | |
veera.think(programming); | |
}); | |
veera.on('dream',function (programming) { | |
//dreams are completely filled with programming | |
}); | |
veera.on('wakeUp',function (code) { | |
veera.write(code) | |
}); | |
veera.on('everySecondOfHisLife',function (programming) { | |
veera.brain.process(programming) | |
}); | |
module.exports=veera; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment