Everything is according to the principles and beliefs of each and also refers to which altcoin we invest, if you only want to get a short profit then it is more certain that short-term investment is better.
All investments will always be good as long as you choose good coins, regardless of the duration you set for the short or long term, which obviously you will win if you always stick with very good coins.