3 ms·
I think the appropriate translation would be: Python - take your __init__+1 method class and just make it a function Ruby - take your initalize+1 method class
by jamie_ca 15y ago
I think the appropriate translation would be:
Python - take your __init__+1 method class and just make it a function
Ruby - take your initalize+1 method class and just make it a static method (and maybe make that class a module instead)