Avatar

graycube

graycube@lemmy.world
Joined
0 posts • 52 comments
Direct message

Good point. I think knowing where to draw that line comes with experience (and having to fix lots of other people’s code).

permalink
report
parent
reply

I would have liked some comments explaining the rules we are trying to enforce or a link to the product requirements for it. Changing the rules requirements is the most likely reason this code will ever be looked at again. The easier you can make it for someone to change them the better. Another reason to need to touch the code is if the user model changes. I suppose we might also want a different password hash or to store the password separately even a different outcome if the validation fails. Or maybe have different ruled for different user types. When building a function like this I think less about “ideals” and more about why someone might need to change what I just did and how can I make it easier for them.

permalink
report
reply

White. Male. And Yale. These bros have never actually worked for a living. They don’t really know anything about tech. They just jumped into that market to grift because they were born rich and that is what they do. In years past they’d have been trading tea, or loaning money to poor farmers then taking their land

permalink
report
reply

Even if he wins the election, he will not be president on November 5th.

permalink
report
reply

I often use imagemagick (cli) for cropping, rotating, resizing, etc.

permalink
report
reply

Would it be so terrible if your kid came home a different gender? Would they still be your kid? Would you still love them? There are worse things - like your kid coming home full of holes made by an AR-15.

permalink
report
reply

Anyone who disagrees can join his critics in prison. Soon there will be no one left who disagrees.

permalink
report
reply

Women should “just trust” the patriarchy to make good decisions for them. Vance said he needed to win back their trust way too many times.

permalink
report
reply

This only impacts poor people because the more affluent simply leave the state to get care.

permalink
report
reply

In my case it isn’t broken. It is firmly attached to the toilet. It has a slow closing lid. Lastly, for the first time I tried a wooden, instead of plastic, core. The seat doesn’t feel as cold, and just feels solid. It is the little things. The last seat lasted at least 10 years, so the difference in price between the cheap one at $26 and the premium one at $35 wasn’t really a factor.

permalink
report
parent
reply