News for hackers. Stuff that matters.
Re:Show HN: I built an online programming language by gus_massa on Wednesday April 26, 2023 @10:15PM (#35722523)

  choices = ['rock', 'paper', 'scissors']
  computer_choice = choices[random(-1,3)]
That -1 is very strange. Both extremes are open?
Re:Show HN: I built an online programming language by sandes on Wednesday April 26, 2023 @11:48PM (#35723084)
Re:Show HN: I built an online programming language by gus_massa on Thursday April 27, 2023 @08:36AM (#35727098)
In that example, one of the lines of codes is too long and when the program is run the editor does not open the output (black) window. (I tried all (most of) the other examples and they open the results window correctly.)