Share your repls and programming experiences

← Back to all posts
Jade could be our future!
h
RohilPatel (325)

Here we can see that jade could very easily be our future!

We can see from this express server that setting up this jade app isn't terribly hard, and when you actually put it into a file, the code is nice and clean! We see that this could get rid of HTML forever. All I ask is that we can get some colors for jade like we do in all other repl supported languages. This makes me wonder if the next generation of code will be Jade

Yes, I aware that I sound weird lol!

Please upvote if you support the idea of changing to a template rendering language to a main frontend language along with it!

(Am I leaving out a key detail that we need html for, or could we say: Jade, CSS, and JS) lol.

Commentshotnewtop
AdCharity (894)

Backend is backend for a reason that’s why there are rendering templates. And html code is the standard, rendering templates are just interpreted and displayed to the user as html, check your website in a new tab and the code.

RohilPatel (325)

No, I totally understand that concept. Essentially it would be easier if we just used jade rather than just html. I'm not saying the change has to be now, but over a couple of years we may see something like this become the "new html" . I totally understand your point and I'm not trying to disagree, but jade could become a more efficient way of writing html in the future. Understand me? @AdCharity

Vandesm14 (1989)

@RohilPatel This isn't "New HTML", it's just a templating engine. If you view the site in your browser (the rendered page), you can see that it is in fact HTML. There's other engines out there such as EJS and React as well, which do the same thing: render themselves into html. Jade is not a replacement to HTML. But I can agree that it might be a better way of writing webpages since it's basically abbreviated HTML.

AdCharity (894)

@RohilPatel no I don't understand you because that makes no sense. Read Vandesm14's comment.

RohilPatel (325)

I do hope u realize that I know that. @Vandesm14

Vandesm14 (1989)

@RohilPatel Then why does this post exist if you already know that you're wrong?

RohilPatel (325)

Well, I know it is a templating engine, but it could be more efficient than html by itself. (If the jade turns into html) @Vandesm14

Vandesm14 (1989)

@RohilPatel Well you have the idea of the main dilemma: Easy to write but hard to run OR Hard to write but easy to run