The textual versions may improve readability for non-programmers, but otherwise I can’t imagine any differentiators.
The textual versions may improve readability for non-programmers, but otherwise I can’t imagine any
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From symbolic ones the
&&is syntactically invalid in XML (JSPX, Facelets), because it’s a reserved XML character. You’d prefer the textual one in EL then. Since consistency is a good thing, you’d like to do the same for other operators.By the way, the
emptyoperator doesn’t have a direct symbolic counterpart since it not only tests onnull, but also on empty string (or collection size). Most close would be:The argument for
emptywould then be that it is less typing and doesn’t require JSTL functions.