+ 4

Im confusing. I wanna ask that Ruby methods are like functions ? Also is there function in Ruby ?

Are the same method and function?

6th Jun 2017, 11:01 AM
Halil İbrahim Keçeci
Halil İbrahim Keçeci - avatar
3 Antworten
+ 4
just like java, ruby does not have something called function it has methods which you can use as smoothly as functions
6th Jun 2017, 11:48 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 3
naming matters not
7th Jun 2017, 2:34 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 2
Is it correct that there is no something called function for all object oriented programming languages ?
7th Jun 2017, 2:08 AM
Halil İbrahim Keçeci
Halil İbrahim Keçeci - avatar