Lua: Good Practice?

Home Forums General Programming Lua: Good Practice?

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #82515
    human fly
    Participant
      • Topics: 124
      • Replies: 1070
      • Total: 1194
      • ★★★★

      i have a ‘little’ question:

      is it good practice to break off sections of a
      method into smaller functions to make it more
      manageable (and readable) ?

      and do you keep these within the method, or
      call them as separate ‘external’ methods?

      (i haven’t had much luck yet using a ‘library’ method
      – a method containing multiple functions –
      so i’m not sure what i’m missing there)

    Viewing 1 post (of 1 total)
    • The forum ‘Programming’ is closed to new topics and replies.
    There is currently 0 users and 43 guests online
    No users are currently active
    Forum Statistics
    Threads: 2,495, Posts: 17,374, Members: 77,605
    Most users ever online was 12 on January 22, 2019 3:47 pm
    Ctrlr