0.30000000000000004
0.30000000000000004 copied to clipboard
Simplify Vala sample
- The
main ()
function can returnvoid
on Vala - String templates can produce the same result, so no need to use printf format strings
-
GLib.print ()
is a shortcut forstdout.printf ()
, so use that - The
GLib
namespace is imported by default on Vala, so no need to specify it when callingGLib.print ()