I\'m trying to translate some python code to scala code. So I\'m a total noob in Python.
But why do some classes have object as a parameter but never explicitly use
1)Class name (object): 2) class name: They both are same but first one quite better in terms of writing,it look better while inheriting other classes to another,i t looks homogeneous.
How same ? So,every thing in Python is come under object means every thing in Python has property of object,if write or don't it will understand it. In first we explicitly tell it in second we didn't.