Profile

Cover photo
Peter Bengtsson
Works at Mozilla Corporation
Attended City University
Lives in Mountain View, CA, USA
126 followers|53,588 views
AboutPostsPhotosYouTube

Stream

Peter Bengtsson

Shared publicly  - 
1
Add a comment...

Peter Bengtsson

Shared publicly  - 
1
Add a comment...

Peter Bengtsson

Shared publicly  - 
1
Add a comment...

Peter Bengtsson

Shared publicly  - 
1
Add a comment...

Peter Bengtsson

Shared publicly  - 
1
Add a comment...

Peter Bengtsson

Shared publicly  - 
1
Nicole McCornack's profile photo
 
love this idea...well done Bengtsson family! very timely with the holidays coming up!
Add a comment...

Peter Bengtsson

Shared publicly  - 
 
I agree that it's definitely something warped about using indentation for reading purposes in a language where indentation makes or breaks the actual functionality.

However, there are many reasons for the 80 char rule too. One of them, regarding arguments has a surprising benefit. If you have code like this https://gist.github.com/peterbe/5685982/4b5b0e13957ac0cdecdbc97d9e929faf2e1438c3 it becomes easy to see what changed: https://gist.github.com/peterbe/5685982/revisions

This makes code reviewing much easier.
1
Add a comment...
Collections Peter is following
View all
Work
Occupation
Web development
Employment
  • Mozilla Corporation
    Web developer, 2011 - present
  • Fry-IT
    Web development, 2011
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Mountain View, CA, USA
Previously
London, United Kingdom - Gränna, Sweden - Rennes, France
Story
Tagline
makes webapps
Bragging rights
Makes a new side-project web site every 6 months.
Education
  • City University
Basic Information
Gender
Male
Other names
peterbe