Most of the blogs or tutorials or books have private methods at the bottom of any class/module. Is this the best practice?
I find having private methods as and when necessary more convenient. For example:
public
def my_method
# do something
minion_method
end
private
def minion_method
# do something
end
public
def next_method
end
This way I find the code more readable instead of scrolling up and down continuously which is very irritating.
Is there something terribly wrong in this approach? Is having private methods at the bottom not just a best practice and something else?