{"blog_url":"https://mametter.hatenablog.com/","type":"rich","description":"VM \u3092 Scala \u3067\u66f8\u3044\u3066\u3066\u5f97\u305f\u77e5\u898b\u3002(\u518d\u691c\u8a3c\u305b\u305a\u306b\u66f8\u3044\u3066\u307e\u3059\u306e\u3067\u9593\u9055\u3063\u3066\u305f\u3089\u6559\u3048\u3066\u304f\u3060\u3055\u3044) for (i <- 0 until 100) { ... } \u3088\u308a var i = 0 while (i < 100) { ...; i += 1 } \u306e\u65b9\u304c\u3068\u3063\u3066\u3082\u901f\u3044\u3002 for \u306b\u3059\u308b\u3068 for \u306e\u4e2d\u8eab\u304c (Java \u30ec\u30d9\u30eb\u306e) \u5225\u30af\u30e9\u30b9\u306b\u306a\u308b\u305f\u3081\u3001\u304b\u306a\u308a\u9045\u3044\u307f\u305f\u3044\u3002 object Main { val v1 = ... def foo { foo(i <- 0 until 100) { v1 \u3092\u4f7f\u3046 } } } \u307f\u305f\u3044\u306a\u306e\u66f8\u304f\u3068\u3001v1 \u306e\u53c2\u7167\u304c\u5225\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u306b\u306a\u308b\u3088\u3046\u3067\u3001\u305d\u306e\u305b\u2026","url":"https://mametter.hatenablog.com/entry/20090630/p2","provider_name":"Hatena Blog","title":" \u901f\u3055\u306e\u305f\u3081\u306a\u3089 for \u3088\u308a while","author_name":"ku-ma-me","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmametter.hatenablog.com%2Fentry%2F20090630%2Fp2\" title=\" \u901f\u3055\u306e\u305f\u3081\u306a\u3089 for \u3088\u308a while - \u307e\u3081\u3081\u3082\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":["Scala"],"published":"2009-06-30 00:00:01","height":"190","image_url":null,"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/ku-ma-me/","blog_title":"\u307e\u3081\u3081\u3082","width":"100%"}