<div dir="ltr"><div>Hi,</div><div><br></div><div>Does anyone know why erlang has to attach the record's name to be able to access an attribute ?</div><div>I don't understand, for example, the record "#robot" has been assigned to variable "Crusher", why do we have to use  "Crusher#robot.hobbies" instead of "Crusher.hobbies" ? </div><div><br></div><div><br></div><div>5> Crusher = #robot{name="Crusher", hobbies=["Crushing people","petting cats"]}.</div><div>#robot{name = "Crusher",type = industrial,</div><div>hobbies = ["Crushing people","petting cats"],</div><div>details = []}</div><div>6> Crusher#robot.hobbies.</div><div>["Crushing people","petting cats"]</div><div><br></div><div><br></div><div>Br,</div><div>Alex</div></div>