What would you do if your client required you not to use object-oriented programming?

Posted by gunbuster363 on Programmers See other posts from Programmers or by gunbuster363
Published on 2011-11-29T07:02:23Z Indexed on 2011/11/29 10:07 UTC
Read the original article Hit count: 315

Would you try to persuade your client that using object-oriented programming is much cleaner? Or would you try to follow what he required and give him crappy code?

Now I am writing a program to simulate the activity of ants in a grid. The ant can move around, pick up things and drop things.

The problem is while the action of the ants and the positions of each ant can be tracked by class attributes easily (and we can easily create many instances of such ants) my client said that since he has a background in functional programming he would like the simulation to be made using functional programming.

What would you do?

© Programmers or respective owner

Related posts about object-oriented

Related posts about functional-programming