If you cut yourself with a knife, it might be your fault. And it might be that the knife is sharp on both sides and has no handle.
If you cut yourself with a knife, it might be your fault. And it might be that the knife is sharp on both sides and has no handle.
It feels like I’m thirty years too young to get these jokes.
Completely depends on how often you need to write boilerplate code, and how error-prone it is.
After writing hundreds of instances of ‘fetch this from the server and show an error if it doesn’t work’, I finally wrote a helper for that. It took 2 hours, shouts at me if I use it wrong, and instantly makes my classes easier to read because all the boilerplate is gone. As an added bonus, the invocation is so small that Copilot can write it error-free, which it couldn’t before.
So fetching things is now a thing of a few seconds instead of one minute with a chance of making a mistake. I say it’s worth it.
C) Write a highly specific, custom-tailored boilerplate generator that does 80% of the work and needs only a day or two to implement.
There’s a great section in the second Hitchhiker’s book about this exact topic – if anyone’s interested.
If anyone were ever to work behind him on something they’re very familiar with, they’d have to tear it all down and rebuild it because he just invents his own way as he goes
That’s not the virtue you think it is.
Maybe start rendering pages right?
I’m not a wordologist. Do words become harder to say when they’re longer? I mean, alalalalalong has 6 syllables.
Not a shitpost.
Since I don’t like Veritasium, I’ll suggest the CGPGrey videos:
Is that Tom Scott from the future?
Not
in
markdown
(Pressed Shift+Return after every word.)
Not in markdown.
But it works in other word processors (like Word, libreoffice) that distinguish between line breaks and paragraph breaks.
Might be my imagination is playing tricks on me.
Example: Type
Once upon a midnight dreary
While I was pondering, weak and weary
Over many a quiant and curious volume of forgotten lore
To get:
Once upon a midnight dreary
While I was pondering, weak and weary
Over many a quiant and curious volume of forgotten lore
(You can highlight the source code to find the extra spaces at the end of each line). Note that this is different from paragraphs, which add spacing between them:
Once upon a midnight dreary
While I was pondering, weak and weary
Over many a quiant and curious volume of forgotten lore
Once upon a midnight dreary
While I was pondering, weak and weary
Over many a quiant and curious volume of forgotten lore
This is how markdown works. There is no way to disable that. This is an old convention from when text editors didn’t wrap lines automatically and enables you to write long paragraphs of text, breaking the lines as it makes sense to you, without creating a paragraph each time.
See the Lemmy help page on markdown or the Markdown Guide.
I think this refers to everyday household items being powered by some unspecified kind of uranium engine.
Coding must be a nightmare if you’re choosing programming languages at random 😱
But you must also be learning quite a lot.
No. I regularly see trash on the ground with sometimes as much as 5 trash cans in sight that are less than 20m away.