from Hacker News

Hello, World in GTK with Vala

by chauhankiran on 2/13/22, 8:04 AM with 9 comments

  • by hactually on 2/13/22, 11:45 AM

    Love Gnome, love Gtk... But damn do I hate Vala. Esp that it compiles to C and you get to debug both

    I wish that JS/Go/C were where they ended up as the languages for the platform.

  • by dylan-m on 2/13/22, 5:43 PM

    I like that this goes straight into more advanced topics after doing the basic “Hello world” thing. One suggestion: once you ended up with three copies of that label I was thinking that’s a good opportunity to do some property binding, which is an extremely useful feature.
  • by sp1rit on 2/13/22, 12:54 PM

    > For the purpose of the demonstration, we're going to use Gtk.Grid to create a grid container widget.

    why exactly? a GtkBox is would do just fine, looks better and it's easier to handle programmatically than the grid.

  • by GrumpyNl on 2/13/22, 11:45 AM

    Thats a lot of code to write "Hello world".