Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Why is QML not on rosettacode yet - is it a technical or practical reason?
Forum Updated to NodeBB v4.3 + New Features

Why is QML not on rosettacode yet - is it a technical or practical reason?

Scheduled Pinned Locked Moved Unsolved Brainstorm
2 Posts 2 Posters 748 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marika
    wrote on last edited by
    #1

    Still not a expert, but I have found learning QML more intuitive that other similar languages that i have attempted to learn in the past. I recently came across Rosetta Code which is an excellent resource to demonstrate how common tasks can be written in different languages. It surprised me that QML is not listed on it. I would have thought QML would have stood out on that site as a lean language.

    Is there a technical reason why QML hasn't been added there yet , or is it simply a matter of someone doing it?

    Here are the steps on how to add a language -
    https://rosettacode.org/wiki/Rosetta_Code:Add_a_Language

    1 Reply Last reply
    0
    • 6thC6 Offline
      6thC6 Offline
      6thC
      wrote on last edited by
      #2

      Well. I'd never seen that site before - it would be up to the site owenr / someone else to maintain the content on their site.

      Regarding learning QML: the documentation and forums here is plenty. Then there are the example applications, the book and also the mailing list and I check the Qt reddit but it's pretty quiet. No need to look further just imo, I'd rather have less places to look but higher quality but sometimes I'll venture online to see what others have gone and done themselves.

      I agree, QML is so desirable for it's declarative syntax - it makes for very clean GUI code - just define what you want to see, how it behaves and no syntax fluff - just what you need. And it only gets better as you go on too - discovering you can change this:

      anchors.top: parent.top;
      anchors.bottom: parent.bottom;
      anchors.left: parent.left;
      anchors.right: (configVisible || readoutVisible)?...;
      

      to this:

      anchors {                   
      top: parent.top;     
      bottom: parent.bottom;  
      left: parent.left;    
      right: (configVisible || readoutVisible)?...;
      }
      

      makes code so much quicker to understand and read the context of, instead of reading the same over and over - you just focus your head on the important bits.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved