Is it better to use jade’s inheritance rather that using conditionals and includes?
The thing is that by using inheritance, jade can be used as if it was logic-less (Like mustache) right?
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.
You should use inheritance for strong differences handling such as the different pages of your site.
You should use conditionnals for small specific things such as ‘user is logged ? display name || display link to login page