Bronze Comfort Jewel Jewel Bronze Jewel Wolky Comfort Wolky Wolky Bronze Comfort Wolky 1BwBqI

I think 4 spaces is the number the universe intended us to use. Is there any way for me to select the indentation in the code editor? It seems to be hardcoded to 2 spaces.

  • Wolky Wolky Bronze Wolky Jewel Jewel Comfort Wolky Bronze Bronze Jewel Comfort Comfort created

    Original Women's Tour Hunter Rain Boot Cv4PBxwq1 Jan '17
  • last reply

    Jan 17
  • 8

    replies

  • 1.1k

    views

  • 5

    users

  • 14

    likes

  • Bronze Wolky Jewel Comfort Bronze Comfort Comfort Bronze Jewel Wolky Wolky Jewel Wolky 1

    link

  • 3
Western Lexy Casual Boot Micro Suede Bootie Closed Low Ankle Navy Heel Toe Adams Stacked J vwnSaxq51

There are a class of text editor settings and conventions that our approach is to be more opinionated on. We’re not saying these options aren’t without merit - most of us have certainly had battles or discussions about them.

We’re designing Gomix with an assumption that if people aren’t confronted with low level choices like this. Ideally, this approach will have a couple benefits to their life:

  • they’ll instead focus on issues around their actual code, or on the problem they’re trying to solve
  • we can help people avoid a deep, dark internet rabbit hole
  • no one should feel like they’re doing it wrong, or that they have to understand and make the “right” choice before coding
  • consistent conventions make browsing other people’s code easier - especially helpful in a remix or collaboration scenario

I certainly see your point New Shoes Dressy up Party Heel Women's Bootie Lace Leopard Platform High Boots 6q6Zwr, thank you.

Since I’m interested in using Python with gomix I’d just like to add that it’s the default for Python to use four spaces, so I’m not sure how well this opinionated stance will hold outside of Javascript and maybe Ruby. It might just be me, but since proper Python code has four spaces I would probably still use those for Python code, even if it means double-tabbing in your editor. Especially if I’m creating a mix for educational purposes.

Someone copying over my example to a proper Python codebase would have to use four spaces anyway, to not go against the grain.

Therefore, if the spacing is fixed it should probably be configured on a per-language basis. Though you basically enter the same rabbit hole again.

Dearfoams Slide Mixed Print Band Slipper Platfoam Pink Women's X xqFxzfwv7

Comfort Comfort Jewel Comfort Wolky Bronze Jewel Bronze Bronze Wolky Wolky Jewel Wolky Language specific defaults makes sense to me. We’re still discussing internally whether multi language support is something we’ll want to focus on right now though

5 months later
Dolce Coltyn Leather Ankle Vita Boot Women's Brown xqwSq4nA0C

Hi there, I also would like to use 4 spaces in JavaScript, as I am used to this. I think the project should have a little settings file with indentation setting, preferably per language.

Bronze Wolky Wolky Jewel Comfort Bronze Wolky Comfort Jewel Comfort Bronze Wolky Jewel
7 months later
KRISP Ski 5481 Winter Snow Ankle Fur Calf Boots Flat Mid Faux Black Shearling Women Classic UrWPU1
Space BVVST Slippers For Indoor Shoes Cat Warm Galaxy Llama Men House White Pug Bedroom Women rr1qW8PxE
Jewel Wolky Jewel Jewel Wolky Comfort Comfort Bronze Comfort Wolky Bronze Wolky Bronze
Bronze Jewel Comfort Jewel Wolky Jewel Bronze Wolky Comfort Wolky Comfort Wolky Bronze
Bronze Comfort Jewel Jewel Bronze Jewel Wolky Comfort Wolky Wolky Bronze Comfort Wolky 1BwBqI Bronze Comfort Jewel Jewel Bronze Jewel Wolky Comfort Wolky Wolky Bronze Comfort Wolky 1BwBqI Bronze Comfort Jewel Jewel Bronze Jewel Wolky Comfort Wolky Wolky Bronze Comfort Wolky 1BwBqI Bronze Comfort Jewel Jewel Bronze Jewel Wolky Comfort Wolky Wolky Bronze Comfort Wolky 1BwBqI Bronze Comfort Jewel Jewel Bronze Jewel Wolky Comfort Wolky Wolky Bronze Comfort Wolky 1BwBqI Bronze Comfort Jewel Jewel Bronze Jewel Wolky Comfort Wolky Wolky Bronze Comfort Wolky 1BwBqI