Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
Select your favorite languages :
  • Or search :

Idiom #245 Print value of custom type

Print the value of object x having custom type T, for log or debug.

print(x);
import fmt;
fmt.Println(x)
print x
console.log(x);
writeln(x.T);
print(x)
puts x
println!("{:?}", x);
Debug.Print x

New implementation...
< >
花大喵