religious programming

Kagamin spam at here.lot
Tue Oct 11 12:16:38 PDT 2011


Paulo Pinto Wrote:

> True, but you will see seldom things like LINQ or generators being used 
> in corporate projects with offshoring, unless it is somehow required by
> the APIs being used.
> 
> Corporate world likes to think of programmers as replaceable items, and 
> that can only be done with simple programming concepts.

Inheritance and overloading can get really tough, while one can use linq without reading a line about it.

an example:

class DBException: Exception{}
void Handle(Exception e){ log("Exception handled"); }
void Handle(DBException e){ log("DBException handled"); }
Handle(null); // which method is called?

Can you expect this level of expertise from an average codemonkey?

BTW we found this pattern in our code.


More information about the Digitalmars-d mailing list