Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
viking817428yYour interfaces should always start with I. So this would be IComment.
You could also remove the unused "using" statements.
Do you need setters for a comment fields? It could be set in the constructor, since it's content is always delivered complete in a POST. Don't expose possibilities to change properties that shouldn't be changed in an interface - especially Id field.
ParentId, what parent? Is it BlogPostId or CommentId if allowing nested comments?
BTW, sorry about your keyboard. Choose one well, it will be the thing you touch the most during a day :P -
r3nrut2728yProbably autism and ADHD. Have a chocolate milk and some Adderall. Everything will be OK.
-
yo-yo13638y@viking8 I actually prepended the I literally 20 seconds after taking the photo. Too many things on my mind. Thanks for the advice too, much appreciated :) Although, I doubt it will be the think I touch the most... :P jk
-
@Jase, there are loads of angry people on here, but you seem particularly extreme (from reading a lot of your rants). Have you ever spoken to anyone about it? I get it, I have my moments too, but it's not healthy.
-
yo-yo13638y@Yeah69 Dark themes hurt my eyes. I do like them though. I switch back and forth quite frequently. :)
-
yo-yo13638y@samk We'll I am under a huge amount of stress at the moment. And by moment I mean the past year. I'm (Paranoid) Schizophrenic. My writings are very different from myself in person. I'm very reserved and quiet. But occasionally I do threaten to kill innanimate things, like my internet connection, keyboard, etc. I have unresolved issues. If I stop and observe and listen and analyze people around me, I'm actually less crazy than most people I've known. Probably a bit hard to tell based on my rant though lol.
-
@Jase Wow. Fair play for your honesty. Probably not easy revealing that to a bunch of internet strangers. Just do whatever works for you.
-
capnsoup2438yWhen you get mad, ask yourself "Does my keyboard deserve my retaliation? It's worked well for me every single day."
And then proceed to break an alarm clock. They're cheaper and easier to replace and that fucker woke you up this morning. -
If I had a coworker act like that, I would probably quit on the spot. Just saying. :/
Related Rants
When you are so angry about something you slam your fist on the keyboard, break the Enter and surrounding keys, rush to the closest shop that sells keyboards, fail to buy one because they're all too shit, come home and end up fixing your keyboard, then get even more pissed off because you had already gotten excited about that new keyboard, and end up writing shitty comments for shit you haven't even finished yet because you're too pissed off BECAHSE EVERY FUCKING THING IN THIS WORLD IS FUCKING BROKEN AND SHIT. AND NOW I HAVE A MIGRAINE AND MY LEG IS ITCHY FOR SOME STUPID FUCKING REASON!
undefined
migraine
programmer in a bad mood
anger
stress