Convert method naming convention #222
Labels
severity:low
Doesn't stop/slow current workflow
size:S
Measured in minutes
type:compliance
Non-conforming to code guidelines
Broken rules:
Current naming convention is
ToBar
,ToPoint
,ToBarDistributedLoad
etc.Suggestions to restore compliance:
Change method names for
Convert
toFromLusas
We ran in to this problem before, because Lusas stores all loads under a single class
IFLoading
, therefore allConvert
methods for loads would have the same input parameters leading to compiling errors. Therefore, we broke all Convert methods down toToBarPointLoad
,ToAreaUniformlyDistributed
etc.So instead of using FromLusas we could be specific:
FromLusasPoint
FromLusasLine
Using
FromLusas[Object type used in Lusas LPI]
Would this be preferable @FraserGreenroyd?
The text was updated successfully, but these errors were encountered: