You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
4What about getting rid of that language?Doc Brown– Doc Brown2021-11-27 12:25:56 +00:00Commented Nov 27, 2021 at 12:25
-
Different languages is something I have looked at, but every other language that is capable of doing the job doesn't meet other technical criteria. One alternative language for example does not even have procedures. I realise this looks like an X-Y problem without further background, but explaining for pages and pages why this really is the problem wouldn't help solve it.Chris– Chris2021-11-27 12:47:59 +00:00Commented Nov 27, 2021 at 12:47
-
2@rvs it is a modern language, but it's a DSL with a graphical interface rather than a code interface. My pseudocode above is an approximation of the problem rather than how it's literally written (which is drag drop wisiwig stuff). The application of this is to build product tutorial videos - the gist is that when your UX changes, these scripts know how to rebuild your docs from scratch by following procedures you've written. The users are product people, not devs, so it's not practical to switch to a "better" language like Java. This is pretty advanced usage for this tool though.Chris– Chris2021-11-27 13:22:06 +00:00Commented Nov 27, 2021 at 13:22
-
2@rvs and sometimes languages grow organically. E.g. Ansible (2012) is a tool for devops/configuration management that is driven via YAML files. It has “roles” that behave like subroutines. But it has no scoping, so that the convention is to prefix every variable with the role name. It's extremely tedious, but Ansible is still better than the alternative tools.amon– amon2021-11-27 13:29:16 +00:00Commented Nov 27, 2021 at 13:29
-
1Also, avoid recursion, since using global variables as parameters and locals will not automatically stack as in other languages. In other languages parameters and locals are sometimes called automatics, as they are dynamically created upon invocation, and so recursive invocation means each one has its own copy of those variables.Erik Eidt– Erik Eidt2021-11-27 14:55:33 +00:00Commented Nov 27, 2021 at 14:55
|
Show 4 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you