0.30000000000000004 icon indicating copy to clipboard operation
0.30000000000000004 copied to clipboard

Simplify Vala sample

Open naipotato opened this issue 4 years ago • 0 comments

  • The main () function can return void on Vala
  • String templates can produce the same result, so no need to use printf format strings
  • GLib.print () is a shortcut for stdout.printf (), so use that
  • The GLib namespace is imported by default on Vala, so no need to specify it when calling GLib.print ()

naipotato avatar Jan 11 '21 23:01 naipotato