Well ... partially:
Take for example Java/C#: Of course, I
can do functional (not object oriented) Programming with it. But the language slaps me in the face, every time I do so, by making me write
- Code: Select all
public class Whatever{
public static int doSomething(int arg){
//...
}
}
instead of
- Code: Select all
int doSomething(int arg){
//...
}
So the language doesn't
force me to use a certain paradigm. But it constantly nags until I resign and do it the language's way.
Another example would be Python: Of course you can program in Python like you would in Java. But then Python would just be a crippled language that doesn't even have Interfaces or Variable Declarations. The real fun begins when you use Python the Python Way!