Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing controls from a form
Message
From
11/03/2021 05:30:44
 
 
To
11/03/2021 04:45:55
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01678811
Message ID:
01678909
Views:
43
>>>>
factory = createobject(m.lcSubtype + "_" m.lcFactoryType)
>>>>
>>>So your factory depends on a naming convention?
>>
>>I try to keep most approaches KISS and DRY ;-)
>>
>>For me that often resolves to a Pareto usage of naming conventions and reuse of field names - as long as doing that is possible without writing a rulebook for the exceptions cropping up in the far end of usage, which IMO makes such practice cumbersome sometimes in Java - the benefits of KISS approach are lost on the few special cases.
>
>Exception make rule useless.
>
>Let's say German grammar, where the exception is the rule. Made to bore pupils to death.
>;)

I can confirm that sentence about German grammar. Although it's nearly 50 years since I learned German, I still remember many of the rules. Like "Aus, bei, mit, nach, von und zu". :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform