141125 10 lessons learned being a startup cto

20
10 random things learned being a startup CTO +Coder

Transcript of 141125 10 lessons learned being a startup cto

Page 1: 141125 10 lessons learned being a startup cto

10 random things learned being a

startup CTO +Coder

Page 2: 141125 10 lessons learned being a startup cto

Who am I?

www.muehlemann-popp.ch/de

Page 3: 141125 10 lessons learned being a startup cto

What startups was I involved?

Page 4: 141125 10 lessons learned being a startup cto

tilllate.com – Nightlife portal with 2Million visitors

Page 5: 141125 10 lessons learned being a startup cto

Quelle: Schweizer Illustrierte, im 2006

Page 6: 141125 10 lessons learned being a startup cto

Sobrado – Broker Workflow tool

Page 7: 141125 10 lessons learned being a startup cto

Wishlist

www.wunschlischte.ch

Page 8: 141125 10 lessons learned being a startup cto

10 random things I learned…

Page 9: 141125 10 lessons learned being a startup cto

Disclaimer

It’s not scientific

It’s not well-structured

It’s my own opinion

Page 10: 141125 10 lessons learned being a startup cto

1. Log everything.

• Log pageviews

including GET and

POST variables

• Log every activity of

background tasks in

log files

Debugging is much easier

Page 11: 141125 10 lessons learned being a startup cto

2. Start simple.

• Keep the system

simple.

• Simple = easy to

understand

• You can always

refactor later

Make your code friendly

to refactoring (Unit Tests,

Method Names)

If your kid wants a

helicopter, he will be

happy with this :-)

Page 12: 141125 10 lessons learned being a startup cto

3. Involve your team.

Let the team decide

about technology,

architecture AND

features

Benefits:

The team is more

engaged

More people -> better

solutions

Team discussions M&P Style

Page 13: 141125 10 lessons learned being a startup cto

4. Don't follow trends too quickly.

Before you choose a

technology, make sure

that it will still exist in 5

years

Tests:

How many books are in

Amazon about the

technology?

How many commits does

a project have?

8-Track players were once top

technology.

Page 14: 141125 10 lessons learned being a startup cto

5. Keep your code clean an tidy.

• Remove unused code

• Rename methods if the

function of the method

does not correspond

anymore to what the

method does

Cleaning is Fun!

Page 15: 141125 10 lessons learned being a startup cto

6. Defensive programming!

• Think of everything

that can go wrong and

be ready to handle

those cases

Page 16: 141125 10 lessons learned being a startup cto

7. Pay attention to security!

• Use the OWASP Top-

10 to check your code

securityhttps://www.owasp.org

• Filter and validate

incoming data -> only

clean data in your

system (DB, code etc.)

Page 17: 141125 10 lessons learned being a startup cto

8. Your code will live longer than you expect!

• Be nice to the people

who will work on your

code after you left the

company. They are

engineers like you.

• If you find a mess,

clean it up

• Bad code is not an

excuse to add more

bad codeEven at 80 years old, your code

should be able to do skateboard tricks

:-)

Page 18: 141125 10 lessons learned being a startup cto

9. Choose your symbol names carefully!

The code should replace a

documentation, so:

• Avoid mistypings (it

looks unprofessional)

• Don’t be afraid of long

names (your IDE will

autocomplete for you)Be careful as an artist when coding

Page 19: 141125 10 lessons learned being a startup cto

10. There should always be fun tasks!

Developers which enjoy their

task …

• …are more focused

• …think about the project

even after work

• …will stay longer in your

company

When choosing projects,

always ask yourself whether

your engineer will enjoy doing

it

Page 20: 141125 10 lessons learned being a startup cto

Thank you!

Silvan Mühlemann

Facebook: https://www.facebook.com/silvan.muehlemann