News for hackers. Stuff that matters.
Re:Energy Efficiency across Programming Languages [pdf] by jerven on Thursday October 01, 2020 @06:01PM (#24656597)
Well it is not that rigid. You can do code outside of a class/method

  jshell> var x=8
  x ==> 8

  jshell> x*3
  $2 ==> 24
etc.

But I haven't used it either as I never worked with a REPL other than SQL clients.

There are no comments on this comment yet.