How To Code Your Life

If I had to recommend any language to start with, I’d recommend JavaScript, because it’s the most valuable of all of the computer languages I know (i.e. HTML, CSS, Visual Basic). And it’s valuable not just because you can make something cool happen with your computer.

It’s valuable because you can make something cool with your life. You can think better because of it. Let’s take the example of “Habit Change”:

(Note: This a really basic version of what we can do with JavaScript. Math.Random creates a random number between 0 and 1 that we can use in our code)

var habitChange = “To be determined.” // At the beginning of the code, of course it’s false
var profoundEffectsonLife = “To be determined.”
var negativeEndofLife = “To be determined.”

var odds = Math.Random ; //odds of habit change, that is

if (leveraged + planned + power posing + healthy + willpower + action) {
if (odds < .9) { //90% chance of succeeding with a habit change.
habitChange = true;
} else {
habitChange = false; //Technically could leave this out–Kept for clarity
}
} else if (plan + willpower + action) {
if (odds < .2) { //20% chance of succeeding with a habit change.
habitChange = true;
} else {
habitChange = false;
}
} else {
if (odds < .05) { //5% chance of succeeding with a habit change.
habitChange = true;
else {
habitChange = false;
}
};

if (habitChange) { //a.k.a. "if habitChange = true"
profoundEffectsonLife = true
negativeEndofLife = false
else {
profoundEffectsonLife = false
negativeEndofLife = true
};

After diving into the deep end of coding/programming/designing, I really began to shift my life to new ways of thinking. For example, if you're familiar with NLP and the idea of "modeling," modeling is just copying code from another program and then running it inside your console.

(And to take the modeling idea further, we can copy another person's code into our console, but if we don't like it, we can easily delete or replace some of the code to get a different result! And this change in thinking has been profound for my personal development.)

Or if you're into pickup, if you start thinking like this, your level of success with the ladies will transform. Because if you have this intense logic going, you'll get used to the idea of "debugging" your performance in field, and your performance will accelerate.

Btw, if you're looking for a way to get into coding, check out Code.Org. You may have already seen it, but the level of insight I gained from that video is profound.

Check it out: Code.org

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s