Code: Select all
this._timesHitByBaby++;
Code: Select all
this._timesHitByBaby++;
The first example is backwards.SJ_Digriz wrote:aren't those backwards .. shouldn't cry be 1 if not Diva?chokehold wrote:To stay true to the whole Diva motto, you need to make the drama less rational and more direct:Ch00rD wrote:
Here's a little Bob Marley #songsincode cover for you:Code: Select all
if (!Diva) { cry = 0; }
Code: Select all
cry = Diva ? 0 : 1;
Not yet... hence the confusion about truth and causality...fmr wrote:Are we there already?Urs wrote:I just really hope that people cry tears of joy then
There is no spoonUrs wrote:Not yet... hence the confusion about truth and causality...fmr wrote:Are we there already?Urs wrote:I just really hope that people cry tears of joy then
Actually, the first code snippet is correct, because the poster tied it to Bob Marley ("No Women No Cry"; "No Diva No Cry")Naiw wrote:The first example is backwards.SJ_Digriz wrote:aren't those backwards .. shouldn't cry be 1 if not Diva?chokehold wrote:To stay true to the whole Diva motto, you need to make the drama less rational and more direct:Ch00rD wrote:
Here's a little Bob Marley #songsincode cover for you:Code: Select all
if (!Diva) { cry = 0; }
Code: Select all
cry = Diva ? 0 : 1;
cry = Diva ? 0 : 1; is correct though, as it's identical to if(Diva) { cry = 0; } else { cry = 1; }
Yeah, perhaps. But the lyrics of the original always confused me as well. I remember first hearing the track as a small kid when I barely understood English, and wondered why Bob didn't sing "no woman, don't cry" or "no woman, cry." The former made more sense to me as a matter of grammar, the latter seemed more logical. Although I have learned a few things since then, I still haven't mastered (Jamaican) English nor do I fully understand the causal relationship(s) between women and crying. So I still don't know, really. I guess it's ok to be a bit more sloppy in lyrics for reggae music than in code.SJ_Digriz wrote:aren't those backwards .. shouldn't cry be 1 if not Diva?chokehold wrote:To stay true to the whole Diva motto, you need to make the drama less rational and more direct:Ch00rD wrote:
Here's a little Bob Marley #songsincode cover for you:Code: Select all
if (!Diva) { cry = 0; }
Code: Select all
cry = Diva ? 0 : 1;
no .. ? is that an album? I'm not into reggae..VitaminD wrote:Surely you've heard the COPS theme though.
Ch00rD wrote:Yeah, perhaps. But the lyrics of the original always confused me as well. I remember first hearing the track as a small kid when I barely understood English, and wondered why Bob didn't sing "no woman, don't cry" or "no woman, cry." The former made more sense to me as a matter of grammar, the latter seemed more logical. Although I have learned a few things since then, I still haven't mastered (Jamaican) English nor do I fully understand the causal relationship(s) between women and crying. So I still don't know, really. I guess it's ok to be a bit more sloppy in lyrics for reggae music than in code.SJ_Digriz wrote:aren't those backwards .. shouldn't cry be 1 if not Diva?chokehold wrote:To stay true to the whole Diva motto, you need to make the drama less rational and more direct:Ch00rD wrote:
Here's a little Bob Marley #songsincode cover for you:Code: Select all
if (!Diva) { cry = 0; }
Code: Select all
cry = Diva ? 0 : 1;
SJ_Digriz wrote:geez, I just googled it ... I don't do reality TV, f**king stain on humanity.
© KVR Audio, Inc. 2000-2024
Submit: News, Plugins, Hosts & Apps | Advertise @ KVR | Developer Account | About KVR / Contact Us | Privacy Statement