Depending on what's the purpose - usually this is the practice.
For investment, longer tenor for more cash flow.
For own stay, shorter to get out of debt earlier.
However, with the introduction of flexi loan; if one is on flexi loan....than stretch the loan tenure for more cash flow. But for own stay, try to finish early like mentioned by a lot.
Also, when BLR is low; i.e. interest rate is low; you might want to consider not paying more towards the repayment. Because one can get better for investment. But when loan interest is high, than need to try and settle the loan faster. I'm talking about own stay here.
There's actually lots of things to consider