Skip to content

general thoughts on modularization and code refactoring #2066

Answered by glopesdev
edmundchong asked this question in Q&A
Discussion options

You must be logged in to vote

I've found that defining functions this way is slightly more clunky / maybe potentially less clean / readable than in other programming languages say python where its straightforward to specify what sets of inputs it takes,

I am going to assume that by "inputs" here you mean WorkflowInput nodes.

About WorkflowInput nodes there are usually three things one would like to know to understand how to call a group node:

  1. how many there are (i.e. how many possible inputs can you send to the group)
  2. what types are acceptable to send to each input
  3. the order of the inputs

The editor provides reasonable support for 1. but the error messages may be confusing because of #1059.

As for 2. it is actuall…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by edmundchong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants