How JavaScript is different from python

JavaScript and Python are popular programming languages used for different purposes. Some key differences between the two include: Syntax Python has a more straightforward and simple syntax, while JavaScript uses a syntax that is closer to C programming language. Interpreted vs Compiled Python is an interpreted language, meaning that its code is executed line by … Read more How JavaScript is different from python

Ruby on Rails : Callbacks V/S Observers

Observers ๐Ÿง Observer lives longer.It can be attached & detached at any time.It is used when method is not directly associated to life cycle of Active Record objects.If you want to create observer with command-line you need to add gem first because without observer gem you couldnโ€™t run any observer generator command so first add … Read more Ruby on Rails : Callbacks V/S Observers