I saw in some code earlier this year a dev had cre...
# random
n
I saw in some code earlier this year a dev had created function "gv" and another "gt" and you passed it the record and field id, yeah you guessed it a getValue and getText function. Anyone for adding abstract complexity for giggles? 🤷🏻‍♂️ That dev has left the business and no longer works on NS... thankfully 😄
s
I have actually done something similar to this in a case where I had very complex logic and needed that to remain understandable rather than the fully verbose function calls. IMHO the abstraction was a small price to pay for clarifying the complex logic.