These are chat archives for AvaloniaUI/Avalonia

26th
Feb 2015
Steven Kirk
@grokys
Feb 26 2015 00:09
ok, i've started implementing a test app to exercise Perspex. I'm adding issues to GitHub for the non-blocking problems I encounter.
currently the main problem is likely to be two way binding...
#22 #23 #24 so far...
José Manuel Nieto
@SuperJMN
Feb 26 2015 10:27
Nice!

i knew you'd say that ;)

i don't think you'll convince them now

Haha, I don't want to convince anybody :) 2 years ago I carried out a research to see what my "developeres of reference" thought about underscores

since I used them in the past just to conform to the convention
Personally, the first thing I do after installing ReSharper is to remove the _ from private fields
Steven Kirk
@grokys
Feb 26 2015 10:32
I don't like them either... But arguing about coding style is the most pointless thing in all of programming.
José Manuel Nieto
@SuperJMN
Feb 26 2015 10:32
the cool thing is that underscores are less and less used
Steven Kirk
@grokys
Feb 26 2015 10:32
I've been doing this for 20 years now. I've seen them all.
José Manuel Nieto
@SuperJMN
Feb 26 2015 10:33
coding style really matters: it can affect legibility
it's not pointless since it even can affect your productivity
but yes, one shouldn't be so picky
I wrote a post on that: my style is ReSharpers defaults, except for the underscores
and also, I try not put "this" when it's not necessary. I always try to make my code unambiguous.
by the way, the issues you've listed are a great idea
Steven Kirk
@grokys
Feb 26 2015 10:36
To reference the common phrase
"Coding styles are like assholes - everybody has one"
José Manuel Nieto
@SuperJMN
Feb 26 2015 10:36
maybe someone could collaborate if the issues are listed and correctly identified, along with features
Steven Kirk
@grokys
Feb 26 2015 10:37
Yeah that's what I was hoping
José Manuel Nieto
@SuperJMN
Feb 26 2015 10:38
haha, yes, but conventions are often used as a hammer to stop thinking how things should be done
everything should be questioned from time to time
"are we doing this right?"
"why is thing done like this?"
Steven Kirk
@grokys
Feb 26 2015 10:39
We've already spent too long taking about it
José Manuel Nieto
@SuperJMN
Feb 26 2015 10:39
this is why I'm so wary about some topics: before deciding to do something, I have researched wide and long
hahaha, I'm not saying that you should do anything with your code, just to clarify!
This message was deleted
I just say that .NET Core can adopt whatever
and that doesn't mean I will change my mind to go mainstream
Steven Kirk
@grokys
Feb 26 2015 10:41
i know - i'm just saying that i don't care what style we use, as long as it's well defined, there's a solid tool to check it, and everbody uses it
José Manuel Nieto
@SuperJMN
Feb 26 2015 10:41
so, I'm sticking with MY convention in every of my personal projects :)
nothing new
Steven Kirk
@grokys
Feb 26 2015 10:41
of course
and anyone contributing to your projects would be expected to use that
José Manuel Nieto
@SuperJMN
Feb 26 2015 10:42
if my code is going to be merged to anybody's project, then I could "parse it" to fullfil the conventions required
but just before the merge
Steven Kirk
@grokys
Feb 26 2015 10:42
well it's a library so i imagine it would be consumed using nuget
José Manuel Nieto
@SuperJMN
Feb 26 2015 10:42
yes :)
but let the time comes along
Steven Kirk
@grokys
Feb 26 2015 10:43
yes, you need to finish it first!
José Manuel Nieto
@SuperJMN
Feb 26 2015 10:43
a XamlReader is not what I have!
I have a shit
Steven Kirk
@grokys
Feb 26 2015 10:44
yeah - there's still a lot left to do! ;)
José Manuel Nieto
@SuperJMN
Feb 26 2015 10:44
not even sure if it will be there one day
Steven Kirk
@grokys
Feb 26 2015 10:44
there's only one way to find out!