Table and Query Classes good or unnecessary?
On Mon, Mar 19, 2018 at 7:47 PM, Bastiaan Olij <bastiaan@basenlily.me>
wrote:
> Hey Clifford,
> > I prefer significant whitespace to curly braces any day but I’m certainly
> > not going to stop using curly brace languages just because they use curly
> > braces.
> Same for me, I might find pythons indentation a nuisance, but it doesn’t
> stop me from using it. You quickly adapt. I just prefer one over the other.
> My point simply is, not everyone likes this, and not everyone finds it
> better. That said, not everyone likes cheese either, doesn’t mean there
> is anything wrong with cheese.
> >
> > It does not require a “specialized IDE”. It just requires you to be
> > consistent with either tabs or spaces for indentation. You have the same
> > issue with different line endings on different operating systems. If you
> > have team members using different operating systems, as I do (Linux for
> me,
> > Windows and OS X for others), you learn to use git hooks to normalize
> line
> > endings, number of spaces to indent, to replace tabs with spaces, etc.
> > Linters and editor configuration files also help.
> In other words, it requires a whole set of tools and helpers to make
> your life easier, and it assumes you’re using git as your source control
> (which I do, and which I love, I’m doing all these things)…..
Every single language that isn’t Omnis or has an IDE like Omnis requires “a
whole set of tools and helpers to make your life easier”. If you’re writing
C, C++, Java, C#, Go, Dart, JavaScript, PHP, Ruby, whatever, without some
setup of your environment, and especially if you’re working on a team, a
style guide and a linter, you’re going to annoy your teammates.
Your comment about Microsoft’s preferred style might be why I find C# code
weird to look at, though as you said, you get used to it. In curly brace
languages, take JavaScript for example, I prefer:
function mySuperDuperFunction() {
// do all the things
}
If I were to write that in the style of the C# code that I’ve seen, it
would be:
function mySuperDuperFunction()
{
// do all the things
}
If the second case is idiomatic in the Microsoft orbit, I’d do that and get
used to it.
By the way, Git isn’t the only revision control system that has pre and
post commit hooks so you don’t have to use Git to correct line endings,
convert tabs to spaces, etc. I’ve been doing that for more than 15 years
starting with Subversion, then Mercurial, now Git. I tolerate Git despite
its ugliness. I prefer Mercurial but Git seems to have won over the
majority of developers mostly because of the network effect.
Regards,
Clifford Ilkay
+1 647-778-8696
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en@lists.omnis-dev.com