67
How to Be A Real Developer In Two Easy Steps

How To Be A Real Developer In Two Easy Steps!

Embed Size (px)

Citation preview

Page 1: How To Be A Real Developer In Two Easy Steps!

How to Be A Real Developer

In Two Easy Steps

Page 2: How To Be A Real Developer In Two Easy Steps!

About Me

• Didn’t go to Cogwarts

Page 3: How To Be A Real Developer In Two Easy Steps!

About Me

• Didn’t go to Cogwarts

• Haven’t been hacking since birth

Page 4: How To Be A Real Developer In Two Easy Steps!

About Me

• Didn’t go to Cogwarts

• Haven’t been hacking since birth

• Started programming accidentally

Page 5: How To Be A Real Developer In Two Easy Steps!

About Me

• Didn’t go to Cogwarts

• Haven’t been hacking since birth

• Started programming accidentally

• Went to a web dev bootcamp

Page 6: How To Be A Real Developer In Two Easy Steps!

About Me• Didn’t go to Cogwarts

• Haven’t been hacking since birth

• Started programming accidentally

• Went to a web dev bootcamp

• Became an apprentice at Detroit Labs last March

Page 7: How To Be A Real Developer In Two Easy Steps!

“When did you start to feel like a

real developer?”

Page 8: How To Be A Real Developer In Two Easy Steps!

– Smart Person

“Fake it ‘till you make it.”

Page 9: How To Be A Real Developer In Two Easy Steps!

What do all these “Real Developers” have in

common?

Page 10: How To Be A Real Developer In Two Easy Steps!

Step One

Page 11: How To Be A Real Developer In Two Easy Steps!

Step Onegithub stickers

Page 12: How To Be A Real Developer In Two Easy Steps!

Step Two

Page 13: How To Be A Real Developer In Two Easy Steps!

Step Twopimped out command line

Page 14: How To Be A Real Developer In Two Easy Steps!

Some basics

• Get to know—or at least, don’t fear—vim

• ~/.bash_profile

• PS1=“<some stuff\and stuff>”

Page 15: How To Be A Real Developer In Two Easy Steps!

Where am I?

• Username of the current user: \u

• Current working directory: \W

• Full path of the cwd: \w

Page 16: How To Be A Real Developer In Two Easy Steps!

No, srsly, where am I?

function parse_git_branch () git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'

}

$(parse_git_branch)

Page 17: How To Be A Real Developer In Two Easy Steps!

When am I?

• \d current date and time in Weekday Month Date format

• \t current time in HH:MM:SS in 24 Hour format

• \T current time in HH:MM:SS in 12 Hour format

• \@ current time in 12-hour am/pm format

• \A current time in 24 hour HH:MM format

Page 18: How To Be A Real Developer In Two Easy Steps!

What about colors?• Begin a sequence of non-printing characters: \[

• End a sequence of non-printing characters: \]

• Some colors:

• \[\033[0;30m\] # Black • \[\033[0;31m\] # Red • \[\033[0;32m\] # Green • \[\033[0;33m\] # Yellow • \[\033[0;34m\] # Blue • \[\033[0;35m\] # Purple • \[\033[0;36m\] # Cyan • \[\033[0;37m\] # White

Page 19: How To Be A Real Developer In Two Easy Steps!

Code time!

Page 20: How To Be A Real Developer In Two Easy Steps!

Ruby script that goes out to the weather underground api and gets local weather conditions

Page 21: How To Be A Real Developer In Two Easy Steps!

This refactor sets variables for city and state… but I have to specify every time. That’s not cool.

Page 22: How To Be A Real Developer In Two Easy Steps!

v0.3 makes sets a default city and state but allows for customization

Page 23: How To Be A Real Developer In Two Easy Steps!

But how do I get that on my command line?

Page 24: How To Be A Real Developer In Two Easy Steps!

Like This! The result of two straight days of googling and swearing

Page 25: How To Be A Real Developer In Two Easy Steps!

because I was convinced it could not possibly be this easy

Page 26: How To Be A Real Developer In Two Easy Steps!

(╯°□°)╯︵ ┻━┻

Page 27: How To Be A Real Developer In Two Easy Steps!

Check this out

Page 28: How To Be A Real Developer In Two Easy Steps!

Now I just need to submit my paperwork to the

international licensing bureau of

Real Developers! I’ll get that golden hoodie and a

discount on a mechanical keyboard!

Page 29: How To Be A Real Developer In Two Easy Steps!

Wait.

Page 30: How To Be A Real Developer In Two Easy Steps!

I can decide what makes me a real developer

Page 31: How To Be A Real Developer In Two Easy Steps!

Real Developers…

• Are polyglots

• Test-first always

• Pay it forward

• Contribute to open source

Page 32: How To Be A Real Developer In Two Easy Steps!

–Narcissists, Mostly

“But what about me?”

Page 33: How To Be A Real Developer In Two Easy Steps!

Real Developers…

• Are polyglots

• I don’t even know one language very well…

• Test-first always

• Pay it forward

• Contribute to open source

Page 34: How To Be A Real Developer In Two Easy Steps!

Real Developers…• Are polyglots

• I don’t even know one language very well…

• Test-first always

• I don’t always test first…

• Pay it forward

• Contribute to open source

Page 35: How To Be A Real Developer In Two Easy Steps!

Real Developers…• Are polyglots

• I don’t even know one language very well…

• Test-first always

• I don’t always test first…

• Pay it forward

• WTF do I have to offer…

• Contribute to open source

Page 36: How To Be A Real Developer In Two Easy Steps!

Real Developers…• Are polyglots

• I don’t even know one language very well…

• Test-first always

• I don’t always test first…

• Pay it forward

• WTF do I have to offer…

• Contribute to open source

• Open Source Is Scary…

Page 37: How To Be A Real Developer In Two Easy Steps!

Well, crap.

Page 38: How To Be A Real Developer In Two Easy Steps!

Well, crap. No, seriously, this is all crap.

Page 39: How To Be A Real Developer In Two Easy Steps!

Real Developers…• Are polyglots

• I don’t even know one language very well…

• Objective C, Swift, Ruby, Coffescript, Scala, Rainmeter

• Test-first always

• Pay it forward

• Contribute to open source

Page 40: How To Be A Real Developer In Two Easy Steps!

Real Developers…• Are polyglots

• Test-first always

• I don’t always test first…

• Test-first always is a journey, not a destination

• Pay it forward

• Contribute to open source

Page 41: How To Be A Real Developer In Two Easy Steps!

Real Developers…• Are polyglots

• Test-first always

• Pay it forward

• WTF do I have to offer…

• I volunteer at meetups, I mentor, I teach my friends.

• Contribute to open source

Page 42: How To Be A Real Developer In Two Easy Steps!

Real Developers…• Are polyglots

• Test-first always

• Pay it forward

• Contribute to open source

• Open Source Is Scary…

• Well, okay. But that’s a dumb reason not to do things.

Page 43: How To Be A Real Developer In Two Easy Steps!

Why do I keep doing this?

Page 44: How To Be A Real Developer In Two Easy Steps!

Why does “real” even matter?

Page 45: How To Be A Real Developer In Two Easy Steps!

Why does “real” even matter?

Nobody cares about your stupid problems.

Page 46: How To Be A Real Developer In Two Easy Steps!

–Some hippie folk song my parents listen to

“Ships are safe inside the harbor, but that’s not what ships are for”

Page 47: How To Be A Real Developer In Two Easy Steps!

• If you are afraid of messing up, you are going to code defensively

Page 48: How To Be A Real Developer In Two Easy Steps!

• If you are afraid of messing up, you are going to code defensively

• If you code defensively you won’t take risks

Page 49: How To Be A Real Developer In Two Easy Steps!

• If you are afraid of messing up, you are going to code defensively

• If you code defensively you won’t take risks

• If you don’t take risks, you don’t discover anything new

Page 50: How To Be A Real Developer In Two Easy Steps!

–Some teenager in a Che Guevara t-shirt

“Question authority”

Page 51: How To Be A Real Developer In Two Easy Steps!

• If you are afraid of showing ignorance, you won’t question things

Page 52: How To Be A Real Developer In Two Easy Steps!

• If you are afraid of showing ignorance, you won’t question things

• If you don’t question things, you won’t understand them

Page 53: How To Be A Real Developer In Two Easy Steps!

• If you are afraid of showing ignorance, you won’t question things

• If you don’t question things, you won’t understand them

• If things are never questioned, they never change

Page 54: How To Be A Real Developer In Two Easy Steps!

Wow.

I’ve never seen a woman

doing Objective C before!

Page 55: How To Be A Real Developer In Two Easy Steps!

• Gatekeeping is a thing

Page 56: How To Be A Real Developer In Two Easy Steps!

• Gatekeeping is a thing

• A terrible thing

Page 57: How To Be A Real Developer In Two Easy Steps!

• Gatekeeping is a thing

• A terrible thing

• If I don’t think I’m a “real” developer, the gatekeeping weasels never will either

Page 58: How To Be A Real Developer In Two Easy Steps!

• Gatekeeping is a thing

• A terrible thing

• If I don’t think I’m a “real” developer, the gatekeeping weasels never will either

• Even answering the weasels reinforces that the weasels have the right to ask

Page 59: How To Be A Real Developer In Two Easy Steps!

Side NoteThere are ways to express delight at seeing someone

new, or someone who for some reason doesn’t “look” like most of the people in your community that don’t make you a punchline in conference talks for the next year.

Talk to me later, I’ll give you some scripts so you can not be That Guy.

Page 60: How To Be A Real Developer In Two Easy Steps!

How do I start to feel like a real developer?

Page 61: How To Be A Real Developer In Two Easy Steps!

I was right all alongThere really are two steps.

Page 62: How To Be A Real Developer In Two Easy Steps!

Am I real?

Immanuel Kant was a real pissant

Who was very rarely stable. Heidegger, Heidegger was a boozy beggar Who could think you

under the table. David Hume could out-consume

Schopenhauer and Hegel, And Wittgenstein

was a beery swine Who was just as sloshed

as Schlegel.

Page 63: How To Be A Real Developer In Two Easy Steps!

I’m going with this guy.

Page 64: How To Be A Real Developer In Two Easy Steps!

Am I a developer?

Page 65: How To Be A Real Developer In Two Easy Steps!

Am I a developer?

• I’ve got a github sticker

Page 66: How To Be A Real Developer In Two Easy Steps!

Am I a developer?

• I’ve got a github sticker

• I’ve got a pimped out command line.

Page 67: How To Be A Real Developer In Two Easy Steps!

Hi. I’m Anne, a real developer.

northofnormal