title: Problems with understanding actors in scala
body: <p>I've been trying to understand actors in scala but I'm still not getting it...</p>
  
  <p>The following code:</p>
  
  <pre><code>def main(args: Array[String]){
  
    while(true){
      println("inside main")
      MyActor ! "go"
    }
  
  }
  
  object MyActor extends Actor{
    def act(){
      loop{
        react{
          case _ =&gt; println("inside actor")
        }
      }
    }  
  }
  </code></pre>
  
  <p>It is printing <code>inside main</code>, but not <code>inside actor</code>... Why? Moreover, what's the difference between receive and react??</p>