mpj / unprecedented-midwife

Hello world in modern JS
148 stars 20 forks source link

Adopt a coding standard #30

Open chris48s opened 7 years ago

chris48s commented 7 years ago

A complex project like with with many potential contributors should enforce a coding standard to ensure code stays clear and readable. I propose a long and drawn-out RFC holy war over which coding standard is right for the project in order to pick a suitable standard to adhere to.

batjko commented 7 years ago

I'm sure you didn't mean to imply that we select from a list of existing coding standards. No doubt, what you meant to say was: We need to create our own coding standard from scratch.

chris48s commented 7 years ago

Oh absolutely. Everyone's happy with a 3-space indent - right?

TangentFoxy commented 7 years ago

Everyone's happy with a 3-space indent - right?

I actually just stumbled across a project doing that. It's bad enough we have the 4 spaces vs 2 spaces vs tabs war..but now 3? WHY

EGA-SUPREMO commented 4 years ago

Everyone's happy with a 3-space indent - right?

this or a 5-space indent would be great, this way nobody will be confused if we use spaces or tabs

EGA-SUPREMO commented 4 years ago

now that I think about it, a 1-space PLUS a tab for indent will make everybody happy