Timeline for A different way to create HTML elements
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 17 at 6:21 | comment | added | Justin Massey | The idea is that those methods are used so frequently that the short name is ok (like the $ in jquery). | |
| Nov 16 at 18:50 | comment | added | guest271314 | @Blindman67 I explicitly stated in my answer that I do not address the why's and what-for's. "I have no opinion on your reasoning for writing the code." | |
| Nov 16 at 16:17 | comment | added | Blindman67 | I think you missed the point of the OP's functions, as your naming suggestions give no indication of why a user would use them rather than the (slightly) less verbose existing functions. | |
| Nov 16 at 13:40 | comment | added | TomG | Yeah, exactly. One-letter method names are in general confusing. And having a method a on something representing an HTML element is IMHO doubly so. "Wait, what?! Why does that div have an anchor there?" | |
| Nov 15 at 22:37 | history | answered | guest271314 | CC BY-SA 4.0 |