3 ms·
Others have addressed other aspects of this, but I want to address this: > I cannot remember basic boilerplate stuff. I don't know exactly what you mean by bo
by jasonlotito 6mo ago
Others have addressed other aspects of this, but I want to address this:
> I cannot remember basic boilerplate stuff.
I don't know exactly what you mean by boilerplate stuff, but honestly, that's stuff we should have automated away prior to AI. We should not be writing boilerplate.
I'd highly encourage you to take the time to automate this stuff away. Not even with AI, but with scripts you can run to automate boilerplate generation. (Assuming you can't move it to a library/framework).
- bdangubic 6mo agoI read the "boilerplate" in that comment as "basic" meaning "I don't know how to center a div" or "I do not know how to remove duplicates from a collection"
- fendy3002 6mo agoWell both of them are easily retrieved from web search, it's not a problem if you forget one or two. I'll probably need some refreshment if I want to implement bubble sort again.
- bdangubic 6mo agoThe topic refers to being on an airplane without internet....
- TheOtherHobbes 6mo agoDoes anyone know how to centre a div? Last time I looked there were at least seven ways to do it.
- papa0101 6mo agomargin: auto, or flex align-items/justify-content are my go-tos
- queenkjuul 6mo agoFlexbox, mate
- bdangubic 6mo agoI think "How to center a DIV" was at the top of HN way more times than it should have been :)
- DrewADesign 6mo agoJeez, I never remembered boilerplate stuff anyway. Losing grasp of your commonly used, slightly more involved code idioms in your key languages would probably be where I’d draw the ‘be concerned’ line. Like if I get into a car after years of only using public transit, I wouldn’t be too worried if I couldn’t immediately use a standard transmission smoothly. If I no longer could intuitively interact with urban traffic or merge onto a highway, I’d be a lot more concerned.
- bandrami 6mo agoSo many use cases for LLMs I've read leave me asking "did none of you have a working text editor?"
- jimbokun 6mo agoLisp macros had pretty much solved the boiler plate problem decades ago.