Czytając kod innego programisty, używa formatu, którego nigdy nie widziałem. NA PRZYKŁAD
namespace MyNs.HereWeAre
{//tab here for some reason
public class SomeClass
{//here's another tab
public string Method()
{//yet another tab
string _variable = "";//no tab implementation
return _variable;
}
}//eof - class (Yes these eof comments are on every file)
}//eof - namespace
// eof - file
Przyznaję ... ten kod mnie denerwuje. Trudno jest osiągnąć ten styl. Trzeba walczyć z domyślnym formatowaniem zapewnianym przez studio graficzne IDE.
Mógłbym przełknąć tę pigułkę trochę łatwiej, gdybym wiedział, że istnieje dobry powód tego stylu. Czy ten styl wywodzi się z innego języka programowania / IDE?