top 17 tips for new web developers

47
Top Tips for New Web Developers 17 Things you should be doing (but probably aren’t) @mycareerscore

Upload: newt-porter

Post on 09-Apr-2017

96 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Top 17 Tips for New Web Developers

Top Tips for New Web Developers17 Things you should be doing (but probably

aren’t)

@mycareerscore

Page 3: Top 17 Tips for New Web Developers

1SyntaxMatters

Page 4: Top 17 Tips for New Web Developers

Programs should be written for people to read, and only incidentally for machines to

execute

“”Structure and Interpretation of Computer Programs"

by Abelson and Sussman

Page 5: Top 17 Tips for New Web Developers

Indentation

Block 1

Block 2

Block 2, continuation

Block 3

In some languages (like Python) indentation defines

scope

Block 1, continuation

Page 6: Top 17 Tips for New Web Developers

CommentsCode Tells You

How,Comments Tell You

Why

“”Jeff Atwood

Page 7: Top 17 Tips for New Web Developers

Pro Tip: Spend time picking Good Names

Page 8: Top 17 Tips for New Web Developers

2Be Modular

Page 9: Top 17 Tips for New Web Developers

I choose a lazy person to do a hard job. Because a lazy

person will find an easy way to do it

“”Bill Gates

Page 10: Top 17 Tips for New Web Developers

RecycleIf you write clean, modular

code you will be able to recycle functions and help

maintain a clean application.

Page 11: Top 17 Tips for New Web Developers

3Stay Focused

Page 12: Top 17 Tips for New Web Developers

Jumping rapidly across languages or

frameworks early on will give you the

illusion of progress, rather than true

mastery.

Don’t Do It.

Page 13: Top 17 Tips for New Web Developers

4Version Control

Page 14: Top 17 Tips for New Web Developers

When stuff breaks, and trust me it will. You’ll be glad you had that lovely little reset afforded by

version control.

Page 15: Top 17 Tips for New Web Developers

Git itGit will allow you to not only timestamp your code, but

avoid stepping on toes while working with others.

try.github.io

Page 16: Top 17 Tips for New Web Developers

5Organize Your Learning

Page 17: Top 17 Tips for New Web Developers

One thing is for certain, software development requires career-long

learning.

Page 18: Top 17 Tips for New Web Developers

Don’t Lose KnowledgeCareerscore will provide you

with tools to easily save and organize resources you find. It will also help you

understand how what you’re learning connects to jobs.

careerscore.com

Page 19: Top 17 Tips for New Web Developers

6Keep It Real

Page 20: Top 17 Tips for New Web Developers

Observe the work of people who built

software that you use every day.

Page 21: Top 17 Tips for New Web Developers

CommunityMeet with others online through Reddit, Slack

channels or Careerscore. For in-person events try Meetup

Page 22: Top 17 Tips for New Web Developers

Pro Tip: Browse and read

open-source code

Page 23: Top 17 Tips for New Web Developers

7Debugging

Page 24: Top 17 Tips for New Web Developers

Work Backwards

Start from the faulty line and rollback from there,

questioning your assumptions

Page 25: Top 17 Tips for New Web Developers

8Master Your Tools

Page 26: Top 17 Tips for New Web Developers

ShortcutsLookup the cheat sheets for

your text editor and for navigating your computer

files and browser.

Page 27: Top 17 Tips for New Web Developers

9Know Computer Science Basics

Page 28: Top 17 Tips for New Web Developers

How Basic?That depends on your goals.

You’ll likely need fundamentals of object-oriented programming, data structures, design

thinking and algorithms for many interviews.

Page 29: Top 17 Tips for New Web Developers

10

Read The Damn Specifications

Page 30: Top 17 Tips for New Web Developers

RFCs (Remote Function Calls) from the IETF

(Internet Engineering Task Force) will be your go-to resources for many web

technologies.

Page 31: Top 17 Tips for New Web Developers

11

Understand The Web

Page 32: Top 17 Tips for New Web Developers

Internetvs

Webvs

HTTP

The Internet is a massive network of networks, a networking structure.

The Web is a way of accessing information over

the medium of the internet or simply put is the information-sharing model that is built on

top of the internet.

The Web uses HTTP (and other languages) to transmit

data.

Page 33: Top 17 Tips for New Web Developers

Pro Tip: Try outFiddler to see HTTP requests in real-time

It’s also great for debugging, if you’re into that sort of thing.

telerik.com/fiddler

Page 34: Top 17 Tips for New Web Developers

12

Dealing With Exceptions

Page 35: Top 17 Tips for New Web Developers

At some point, you need to draw the line

between anticipating issues and pushing your

code live.

Page 36: Top 17 Tips for New Web Developers

AutomatedTesting

BUT automated testing can save you time in the long run,

things like unit tests, integration tests, etc.

Page 37: Top 17 Tips for New Web Developers

13

Unicode Fundamentals

Page 38: Top 17 Tips for New Web Developers

Homework:Read Joel Spolsky’s Blog

Post: The Absolute Minimum Every

Software Developer Absolutely, Positively Must Know About Unicode

and Character Sets (No Excuses!)

Page 39: Top 17 Tips for New Web Developers

14

Careful Code Copying

Page 40: Top 17 Tips for New Web Developers

Exercise Safe

Copy/PastaRemember, once you take

someone else’s code and add it to your own, you become

responsible for it.

Page 41: Top 17 Tips for New Web Developers

15

Security

Page 42: Top 17 Tips for New Web Developers

Start Day 1Know the security protocols for the application you’re

working on, regardless of the language and framework

you’re using and be driven by requirements.

Page 43: Top 17 Tips for New Web Developers

16

Maintenance

Page 44: Top 17 Tips for New Web Developers

Maintenance

Takes Time

Don’t underestimate the time you will need to maintain and refactor your code. You wouldn’t

expect your car to run perfectly forever without

servicing it now and again. The same goes for software.

Page 45: Top 17 Tips for New Web Developers

17

Devops

Page 46: Top 17 Tips for New Web Developers

AutomateDevops can be a world on it’s own and increases in complexity with

larger teams and more technologies. Where you can, use tools to automate the

process once you understand how it works.

Development Quality Assurance

Operations

Devops