Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript
1–10 of 24 posts
Re: Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript
#2this is pretty neat!
Re: Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript
#3Interesting project, but why are there Pepsi and PlayStation logo images in the Readme?
Re: Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript
#4Interesting project, but why are there Pepsi and PlayStation logo images in the Readme?
To my understanding “bepis” is a goofy vaporwave/meme/shitpost-y concept loosely based on Pepsi.
Re: Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript
#5Interesting project, but why are there Pepsi and PlayStation logo images in the Readme?
Re: Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript
#6Cool project! It reminds me of http://haml.info
Re: Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript
#7looks like haml
Re: Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript
#8Using document.createElement to create elements and element.appendChild(node) to add them is tedious. But once you have abstractions in place, like var menu = createMenu(), subMenu=createMenu(), menu.add(subMenu) it becomes very powerful and more fun to work with the DOM.
Re: Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript
#9Time to shill my own alternative.
https://github.com/NoHatCoder/DOM_Maker
No parser, just a bunch of JavaScript functions that nest nicely, to create dense and readable DOM generation code.
Might be time for putting a 1.0 sticker on it.
As for Bepis, the mechanism by which elements nest seem complicated, as far as I understand it is controlled by sprinkling , and . throughout the string, I don't get why this would be necessary.
Re: Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript
#10The comma and dot seem weird; curly braces would feel more natural to me. In your example, style isn't terminated by a dot, but other one liners are, which I'm assuming is just a typo else I'm really confused.
What's the advantage over JSX?