I have done both for my ball pythons and I have never had any issues. But I mainly feed out of the enclosure just because I don't want them to get used to thinking food when I open their cage for fear of getting bit.