The problem with that refutation is, population growth is O(2^n), available space is O(1) and available food is limited by available space and energy. Maybe there will be advances in science, increasing food production. However, to keep up with O(2^n) we need to double food production in constant time intervals, around 40 years. Otherwise, there will be overpopulation. There is no escaping it, except if exponential population growth is stopped and prevented in the future.
And food production following an O(2^n) curve is highly improbable, the best we can imho do is something polynomial or linear.
That's why Malthuus might have been a little wrong back then, but basic mathematics or computer science knowledge instantly proves him right, just not back then, because humanity got lucky.