Why is doing<%    if(blahblah)    {        //do something    }%>in a JSP considered to be bad practice when noone who writes PHP seems to have any problem with doing essentially the exact same thing?<?php    if(blahblah)    {        //do something    }?>I don't understand why people are going out of their way to make tag libraries for JSP because scriptlets are considered bad practice when other languages use their own version of scriptlets and seem to be much more popular.
Why are scriptlets considered bad practice in JSPs when much more popular languages such as PHP seem not have any problem with them?
php;programming languages;programming practices;jsp