Title
m

mg6maciej

04/01/2017, 9:10 PM
I guess I'm somewhere in the middle. I would want this useless-to-compiler information not to be encoded in the model we are using to store code and let each and every user define their own view with their own preference. So Marketa could use tabs, 2 spaces width and you could use 4 spaces.
👍 1
t

themarketka

04/02/2017, 11:51 AM
I’m actually trying to build a VCS that would store the AST and not the source text, so there would be an element "indent" and not 1 tab or n spaces… wish I had more time though.
m

mg6maciej

04/02/2017, 11:55 AM
Nice! I'm actually trying to write a non-textual programming language with built-in VCS that stores the AST in DB and allows direct manipulation of AST via voice commands. The indentation (if it even exists) would be only in the view as defined in IDE.
t

themarketka

04/02/2017, 12:39 PM
That sounds even more cool!
f

fellshard

04/03/2017, 1:00 AM
Honestly at this point,
.editorconfig
handles the actual encoding of whitespace and makes it easy to type and edit in whichever makes you most comfortable. IntelliJ is usually pretty good about handling multiple spaces as tabstops.
v

vach

04/05/2017, 7:57 AM
tabs, and spaces are such a big deal that you guys are writing VCSes for that? 😮
m

mg6maciej

04/05/2017, 8:03 AM
Not only tabs and spaces.
🌮 1
Using readable names to identify all things in code is also broken!
Like function and variable names.
Think of all the silliness around changing a name of public function in your favorite library...