I made a language and the language now can make instances:
class A {
pub name = "john";
pub weight = 10;
pub fn f() {
return "cat";
}
}
let b = new A();
print(b.name);
print(b.f());
Wow, I'm happy for this :)
I made a language and the language now can make instances:
class A {
pub name = "john";
pub weight = 10;
pub fn f() {
return "cat";
}
}
let b = new A();
print(b.name);
print(b.f());
Wow, I'm happy for this :)
For further actions, you may consider blocking this person and/or reporting abuse
Yannis Rizos -
Yannis Rizos -
Ian Ndeda -
Akira -
Top comments (0)