[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: why does IServiceManager:getService not return IService instead of P.L.Object

  • Thread starter Thread starter jankeir
  • Start date Start date
Status
Not open for further replies.
J

jankeir

Guest
Why limit yourself to .NET generics syntax if you have the freedom to design it like it could be. The compiler knows the type of the variable being assigned, so why force repeating it. Less code to maintain and read all the time tends to be better if no confusion is possible. ps.: The method calling syntax I suggested works fine in Java. Results in very clean code.

Continue reading...
 
Status
Not open for further replies.
Back
Top