• Matty_r@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    7 months ago

    The object/class/thing would normally be its own class file, the action would be a method/function of said class.

    Ie:

    fileDialog.open()

    fileDialog = Class (Dialog), Subclass (FileDialog)

    • locuester@lemmy.zip
      link
      fedilink
      English
      arrow-up
      8
      ·
      7 months ago

      It’s referring to variable names. For example, you have a variable named fileDialog. I would prefer to have that named dialogFile.