Formatted Scripts

Forums Personal Topics Unbidden Thoughts Formatted Scripts

This topic contains 2 replies, has 1 voice, and was last updated by  Josh Stern November 24, 2022 at 2:55 am.

  • Author
    Posts
  • #124941

    Josh Stern
    Moderator

    In my concept, the style sheets assign “types”. The checking of types in this command line oriented script world is weaker than in programming languages. But let’s say that there is a type for filenames & a type for person names. There should be built in methods to check for filename existence where that is needed. Not much to stop a person name from accidentally being used as a newly created file name. But someone was interested in debugging – the formatted version allows easier programming of step throughs where a step would show “creating these filenames: …” and the person name in there would probably attract the watchful eye. In the other direction, a development might add a reified version of person names that checks local databases & requires hits for “person name” constructs & requires misses for other name creation activities.

  • #124948

    Josh Stern
    Moderator

    Perhaps the same or very similar concept could also be used for Word Press Plugin scripts (must be PHP)

You must be logged in to reply to this topic.