[-] TerrorBite@meow.social 1 points 9 months ago

@btaf45 tagging @programming so that this federates properly from Mastodon to Lemmy

[-] TerrorBite@meow.social 1 points 9 months ago

@nous That's a good way of putting it!

[-] TerrorBite@meow.social 1 points 9 months ago* (last edited 9 months ago)

@btaf45 in my case, we as a team could have done that, because we didn't have management dictating how we did anything. It was our choice to do what worked for us, and it was a valuable tool for dealing with whatever got thrown at us.

Now I'm working in a different place that dictates Agile and Scrum to be done Their Way, on top of a project that's largely waterfall-like to begin with, and I'm starting to see why people say it doesn't work.

It works, BUT, only when you're using it as the right tool for the right job and not when management decide to misapply it as a hot new planning methodology.

[-] TerrorBite@meow.social 1 points 9 months ago* (last edited 9 months ago)

@Andy @BeanCounter Given how many of these start with "Lemmy" you could simplify this to:

https://(lemmy\\.(?:run|(?:fmhy\\.)?ml|dbzer0\\.com|world|kde\\.social|ca)|lemmygrad\\.ml|lemdro\\.id|beehaw\\.org|sh\\.itjust\\.works|(?:sopuli|mander)\\.xyz|zerobytes\\.monster)/c/(.\*)

Or just assume that anything matching https://(lemmy\\.[^/]+)/c/(.\*) is a Lemmy server, which will probably be correct.

Edit: some kind of interaction between Mastodon and Lemmy has doubled all my backslashes. That is not intentional.

[-] TerrorBite@meow.social 1 points 10 months ago

@nthcdr this assumes that people write sensible and thorough commit messages, instead of brief five-word ones or, say, song lyrics. Both of which I've seen.

I at least try, except maybe for the other day where my commit message consisted entirely of an exasperated "why", followed by a revert.

That being said, every commit message where I work is required to contain a ticket number (and the server will reject the push if you don't) so at least there's that for context.

@257m @programming

[-] TerrorBite@meow.social 1 points 10 months ago

If your code files don't contain more lines of comments than lines of actual code, then you're doing it wrong. (For Python, docstrings count as comments)

And your comments shouldn't say what each line of code is doing. If you can code, then you can already tell what each line is doing by just reading the code. The comments should explain WHY it's being done this way, or HOW it's being done, or highlight some pitfalls that might snare a future developer, and generally just give some higher level context to a line or block of code.

@257m @programming

[-] TerrorBite@meow.social 1 points 10 months ago

@snowe if not, I'll try markdown:
image

[-] TerrorBite@meow.social 1 points 10 months ago

@snowe not sure if this image attachment is going to federate correctly from Mastodon to Lemmy

[-] TerrorBite@meow.social 1 points 10 months ago

@snowe @themoonisacheese I can type ¹ on a smartphone pretty easily

[-] TerrorBite@meow.social 1 points 1 year ago

@Zagorath I see a lot of detergent products advertising "no pre-wash required" on their packaging, at least here in AU.

[-] TerrorBite@meow.social 1 points 1 year ago

I already said that

[-] TerrorBite@meow.social 1 points 1 year ago

Naming things is one of the two most difficult issues in IT, alongside cache validation and off-by-one errors.

view more: ‹ prev next ›

TerrorBite

joined 5 years ago