zlacker

[parent] [thread] 2 comments
1. jazzyj+(OP)[view] [source] 2025-06-03 02:23:05
Copy pasting code that could be abstracted is not a usage of boilerplate I've ever encountered, usually it's just a reference to certain verbose languages where you have to write a bunch of repetitive low-entropy stuff to get anywhere, like getters and setters in java classes.
replies(2): >>bccdee+Xa >>samthe+Dk1
2. bccdee+Xa[view] [source] 2025-06-03 04:32:29
>>jazzyj+(OP)
Getters and setters definitely fall into "copy/paste + macro" territory for me. Just copy/paste your field list and run a macro that turns each field into a getter and setter. Or use an IDE shortcut. Lombok obviates all this anyway of course.
3. samthe+Dk1[view] [source] 2025-06-03 14:52:42
>>jazzyj+(OP)
lol shadcn
[go to top]