« first day (808 days earlier)   

12:26 AM
@Eric what are you talking about?
 
@ton.yeung Ignoring the typo in that code, it demonstrates well the mechanic in C# where properties are supposed to be hidden by accessors.
Which is basically the dumbest crap in the entire world.
 
@Eric its missing a semicolon on the field.. but that property declaration is not a typo.. it demonstrates what noobs do to make a stack overflow, as in calling the MyField property makes the property call itself over and over and over again
 
@ton.yeung The typo is that this.MyField should be this.myField.
The semicolon is obvious and wasn't worth mentioning.
public string Name
{
   get
   {
      return name;
   }
   set
   {
      name = value;
   }
}
^ From MSDN. Complete garbage.
 
@Eric how do you do your declarations?
 
If it's truly something public that needs to be modified by other classes, I just make it public. public string Name, no need for a private property hiding behind it.
If get and set employ some sort of logic, then by all means. But just setting and returning the value make them worthless.
 
12:32 AM
@Eric public string myString {get;set;}
 
Exactly. Why fill them with bullshit logic that just modifies a private property?
 
@Eric huh?
 
@ton.yeung Look at the snippet above.
Why do you need get and set that just modify the (implied) private string name; property?
Get rid of name, keep Name, get rid of the return and = statements.
 
@Eric most people don't write all that out anymore
 
According to C# coding conventions, they should.
That's what I'm saying. The conventions/standards are stupid as hell.
 
12:35 AM
they type out prop, then tab tab
@Eric really? i've never heard that, but then i don't read MSDN much either
 
MSDN and StyleCop both suggest it, as well as numerous Programmers.SE and SO posts on the topic (citing MSDN or related sources).
 
how old is this information?
I haven't heard anyone say not to use auto properties since c# 3.0 came out
 
I think that's used as a demonstration of the capability, though.
(Same category of articles.)
 
i don't see anything that says to use explicit getters and setters over auto props
the only thing that came close is don't use public fields
 
12:43 AM
'Cept all the code does it.
Anyway, long story short, I just end up not being convention-compliant.
Readable code > compliant code.
 
 
2 hours later…
3:09 AM
@LoganM Probably a reference to real life rather than anime/manga?
I am quite sure there are precedence for his statement in real life, but I don't know if it deserves a blanket statement like that
 
 
1 hour later…
4:30 AM
0
Q: What makes an Ultra Ball different from the basic Pokeball?

Ero Sennin The Ultra Ball (Japanese: ハイパーボール Hyper Ball) has a 100% higher chance to catch a Pokémon than a regular Poké Ball, and a 33% higher chance than a Great Ball. It has a catch multiplier of 2.0. What is the factor that makes Pokéballs such as the Ultra Ball and many others different from the r...

 
 
1 hour later…
5:34 AM
By the way, this question needs some votes to separate pearl from sand (but don't vote if you don't know the series)
18
Q: Why do some Sharingan eyes have unique Mangekyou abilities?

HappyItachi, Sasuke, Madara's Sharingan and Danzo's "Sharingan" eyes have the "standard" Mangekyou abilities of Amaterasu, Tsukuyomi, Susanoo, Izanagi and Izanami. (Granted not all of them have used all the abilities.) However, Shisui and Obito's sharingan have unique Mangekyou abilities (Komoamats...

 
6:15 AM
@nhahtdh it's been a long time since i watched/read the series, but im pretty sure eating has nothing to do with sharingan....
 
6:32 AM
2
Q: Bakemonogatari exclusively uses katakana

HotelCaliforniaSo I may be a bit late to the party. Whatever. I noticed that in all of the typography (except for the episode titles), the anime Bakemonogatari exclusively uses kanji and katakana, instead of the usual combination of kanji and hiragana, so for example,  「貴方をみる」 would be 「貴方ヲミル」 In ...

 
 
2 hours later…
8:14 AM
0
Q: I need help identifying a manga

KyoseiI have been trying to find a specific manga for a while now. It is about a highschool boy that is an anti-bully that goes onto a website to talk to his online girlfriend and when he talks to her he completely changes personality and becomes completely sweet. The two decide to meet up irl and then...

 
 
2 hours later…
9:56 AM
0
Q: suggestion please accept it

Wawol Cornbeef WawolI'm not trying to ask. Im just trying to share my ideas. they said that slamdunk interhigh stopped "@episdode 101" they can't continue it because its been a long time. one of the reason is the orignal voice actors. but we cant still read about the slamdunk interhigh continuation from manga. i sug...

 
@Sakamoto err.. wat?
 
10:13 AM
It's on topic, but shouldn't be here. xD
 
10:28 AM
-1
Q: Ladybug theme song identification

March Hohttps://www.youtube.com/watch?v=FlwV3scCgAM This anime is probably Miraculous Ladybug, but can anyone identify the song title (and possibly lyrics?)

 
11:24 AM
#cabbage
 
 
That looks more like an "O"
 
11:49 AM
0
Q: How long does it take for an anime to be released since its original announcent?

AnastasisTitle says it. Specifically I am talking about a manga called kangoku gakuen whose anime adaptation was announced on August 2014 and additional information have yet to be released. So, how long does it usually take?

 
 
2 hours later…
2:20 PM
Apparently, Togo Mimori in Yuyuyu's attempt to commit suicide is called jigaki en.wikipedia.org/wiki/Seppuku#Female_ritual_suicide
 
 
2 hours later…
4:33 PM
@MadaraUchiha: Has Bolt (in Naruto) graduate from Ninja Academy yet?
As of the end of the series
 
 
2 hours later…
6:42 PM
@nhahtdh No
Still at the academy
 
7:19 PM
Yuri Kuma Arashi has a manga, and it is quite different from the anime
Read if you are interested
 

« first day (808 days earlier)