//C++
SomeObject* obj;
{
 int x = hogehoge();
 int y = x * foo() + bar();
 int z = baz(y);

 obj = new SomeObject(x,y,z);
}