TODO Find a Less Gross Name
isInsideParentTop(elementY) { return elementY >= this.parentBoundaries.top + this.safePadding; }, /** * TODO find a less gross name. * @param elementY * @return {boolean} */ isInsideParentBottom(elementY) { return ( elementY < this.parentBoundaries.bottom + this.safePadding + this.size.height ); }, snapElementToBorder() { const element = this.$refs.draggableContainer.getClientRects()[0]; if (!this.isInsideParentLeft(element.x)) {
A dark-themed code editor shows JavaScript boundary-checking functions, including a comment saying “TODO find a less gross name.” The joke is that the programmer recognizes the awkwardly named function but leaves it in the code anyway. This meme is sent as a reaction to ugly naming, technical debt, or embarrassing code that nobody wants to refactor.
- @dev_meme / 2226 2020-11-04
- Type
- image
- Size
- 640×327 · 28.0 KiB
- Mood
- саркастичный
- Language
- en
- Added