▲ | npodbielski 3 days ago | |
I dont know... I kind of like diffrent look of HTML and JS. At least you know what is what. In tiny evrything looks like JS and you actually have to read it to know what is what. Also what if someone will define span variable? Does it override the span HTML component function? Otherwise looks like nice. | ||
▲ | atum47 3 days ago | parent [-] | |
You don't, actually. If in HTML you write <select><option/><select/> in tiny you write select(option())
I'm guilty of that myself. Tried to name a variable input when there's already a function with that name. It forces me to come up with better descriptive names. I could've wrapped those functions inside namespace like tiny.input() but I like the simplicity of it as is. |