Scala Naming Convention

I started to learn and understand scala through one of my gatling scripts.

Do we need to follow any naming convention while writing a method/value/variable in scala script.I have changed the writing convention and checked accordingly.

Below is the screenshot…for the first value i have followed with and without the scala naming convention,it worked as expected ie…,without lowercamel case script haven’t compiled.But it is different with second one below,even though i haven’t followed naming convention,it is getting compiled.Please correct me incase i am going wrong …