Comments on Profile Post by Poryg

  1. taarna23
    taarna23
    if (a < b && b < c){ //do stuffs };
    May 24, 2017
  2. Poryg
    Poryg
    I figured that out after seeing that 4>3>2 was false. But still, spent four hours searching for mistakes in the code... And the mistake was in the only place I didn't look at initially... The if. Because as a human it seemed perfectly natural to me and knowing Python understands this, I kind of assumed that Javascript would understand too.
    May 24, 2017
  3. taarna23
    taarna23
    Javascript is a wonky language styled loosely off of Java, syntax-wise. This may help clear up precisely nothing, but it is amusing, and helps point out some of the language's failings. https://www.destroyallsoftware.com/talks/wat
    May 24, 2017
  4. Poryg
    Poryg
    Thank you for that, our internet is running so slow that I cannot play it, but I'll give it a shot later on :)
    May 24, 2017