Difference between scripts folder and src?

Is there any difference between using scripts folder and src for storing code files? Initially it was mentioned that code goes inside src folder of a ROS package, but in the course we are asked to create scripts folder and keep the code there.

@akshay.ulavan,

The difference is that the src folder is automatically created, while scripts is not. You may create other folders besides src to better organize your files.