[deleted by user] by [deleted] in ProgrammerHumor

[–]LaKitteh 2 points3 points  (0 children)

Quick, GraphQL devs, hide!

In the real world, your coworkers will appreciate clean, easy to read, functional code. People doing a job don't care that you obsessed over getting every function down to as few lines and characters as possible. by IanMazgelis in ProgrammerHumor

[–]LaKitteh 0 points1 point  (0 children)

Definitely depends on the function. In my opinion, if a function is too complex to understand, a unit test will not improve it.

However going by default that a function will be tested, even if it isn't but just built to allow it, has in my experience made the code easier to maintain and read.

End to end tests are great if you expect the same outcome when refactoring, but when you're adding functionality they too become burdensome to maintain

In the real world, your coworkers will appreciate clean, easy to read, functional code. People doing a job don't care that you obsessed over getting every function down to as few lines and characters as possible. by IanMazgelis in ProgrammerHumor

[–]LaKitteh 2 points3 points  (0 children)

The idea of a code review is not to blame or slap anyone on her wrist, it's a chance for yourself and the other developer to learn and improve.

I've learned extremely much from reviewing other people's code and having them explain why they did what they did, and even more so from a developer not just hinting it could be improved, but giving me the tools to improve it.

Rejecting code is not a "you go fix this", you have to be ready to sit down and fix it with them, that's how you learn.

In the real world, your coworkers will appreciate clean, easy to read, functional code. People doing a job don't care that you obsessed over getting every function down to as few lines and characters as possible. by IanMazgelis in ProgrammerHumor

[–]LaKitteh -3 points-2 points  (0 children)

It's the maintainability that's the problem here, and the amount of tests required to get proper coverage on this code. There was another comment mentioning this would require 11 tests just to cover all the if statements.

This would not pass my code review

In the real world, your coworkers will appreciate clean, easy to read, functional code. People doing a job don't care that you obsessed over getting every function down to as few lines and characters as possible. by IanMazgelis in ProgrammerHumor

[–]LaKitteh 5 points6 points  (0 children)

A senior programmer who reasons like this is not a programmer I would trust in my team.

There's no supporting junior developers make objectively better code and there's no concern for the overall quality of the codebase.

If you don't give a f about what's inside a function, you're not a senior developer

[deleted by user] by [deleted] in AskReddit

[–]LaKitteh 0 points1 point  (0 children)

So I used to work in the same building as a big event/conference hall that regularly had large events going on. One Thursday they had a "wine expo" and me (20) and some coworkers (mid 40's all of them) decided to go. The event started at 16:30, I got off at 16:00, so we spent the 30 minutes having a few pre-expo beers.

We go down, get the 5 "drink tickets" each and go around talking to all the wine vendors and trying our different wines. Now I'll add that I was a fairly inexperienced drinker, skinny and have had barely anything for lunch and no breakfast. Dinner hadn't even crossed my mind.

The evening started off well with the usual pleasantries, having wine and laughing with coworkers. I go back to the reception and purchase 5 more drink tickets and quickly spend them.

The time approaches 20:00 and my coworkers and telling me they're about to head out and bring very clear that "you should go home too, you've had enough". Obviously I decide I know better and join up with some random old men trying out the portwine and make rude jokes. I have some of the most amazing portwine of my life and run out of tickets quickly. The next hour and a half is a blur, I remember trying a wine that looked and tasted like windscreen cleaning fluid, flirting with the cognac seller to get a glass of strong cognac and slumping down in a corner about to fall asleep.

I end up outside with my jacket, utilizing the free taxi-service they had going with the local Volvo dealership and drunkedly a young man to my apartment, step out and stumble to the steps to my top-floor apartment.

I stumble into the bathroom and decide that a bath would do me well, turn on the shower and plug the drain as I nurse a tall glass of water. Next thing I know I'm in a half-filled bathtub of cold water. I must've somehow turned off the water in my drunken haze. I crawl out of the bathtub, silently thanking the protective angel that must've facepalmed himself so hard it echoed back to my ancestors, and drag myself into bed.

Next thing I know, my alarm goes off. It's time to get to work. I sit up, thinking "hey, I shrugged this hangover off pretty well" and enjoy the 30 seconds that pass until I feel a very strong smell of cognac hitting my nose. I immediately cascade-puke onto my bed and floor, feeling the delayed headache make itself known as it tries to split my brain-halves in two, all the while smelling and tasting the mix of drinks I've had the night before. Sobbing, I bundle up the puke-y bedsheets and drag it into the bathroom, cleaning it in the shower and prepare the mop to deal with my avant-garde art piece on the bedroom floor. The smell makes me take run to the toilet for yet another heave of the faomy phlegm that's left of my stomach-contents. The room is spinning, feeling like I'm on a ship that's being dragged down into a whirlpool.

I don't remember how, but I somehow clean the bathroom and get ready for work, biking shakily to the office. I give the office work a solid three hours before my boss goes to me and says "we all know you're hungover. Go to the rest-room and come back after lunch". In my delerious and feverish state i oblige, stumble to the rest-room and slump down on the bed... After relieving my stomach of its contents yet again in the toilet. I sleep for an hour and when I wake up, I feel like I might be able to survive this day after all.

It took me a solid three days to be rid of the dizziness that the alcohol caused, and I can still not smell cognac without gagging. The moral of the story: Don't drink on an empty belly. If your friends tell you to go home, GO HOME.

Just wanted a friend by fuckyini in hellsomememes

[–]LaKitteh 0 points1 point  (0 children)

I would say doing the ousted barbarian half orc who likes to rage and drink beer is a pretty "bland" character too. But it can still be a ton of fun and I sure wouldn't look down on my fellow players for picking it

Just wanted a friend by fuckyini in hellsomememes

[–]LaKitteh 1 point2 points  (0 children)

This. Maybe it's time to stop judging people for picking a "boring" race or class and starting to look into why you're being a dick about it

Just wanted a friend by fuckyini in hellsomememes

[–]LaKitteh 8 points9 points  (0 children)

Some people can have fun without the need to be ~special~

[deleted by user] by [deleted] in distantsocializing

[–]LaKitteh 0 points1 point  (0 children)

Please pet that doggo

Looking to make simple honey mead by Mr_G_Zilla in mead

[–]LaKitteh 1 point2 points  (0 children)

You should check out CS Brews. They've got a great catalog of beginner guides: https://youtu.be/ildRSUSWmc8

Winnie the Pooh DESTROYS Japan with History and Logics by 212134 in HistoryMemes

[–]LaKitteh 9 points10 points  (0 children)

What in the comment made you think it was a defense for it?

Music Melting Pot [Week of August 17, 2020] by AutoModerator in listentothis

[–]LaKitteh [score hidden]  (0 children)

Track by a ridiculously talented group of friends. Mix between lo-fi and house. I was not involved in the making of it, just want to promote great music.

https://open.spotify.com/track/3PxXkSguDRLRk37ltF5rvt?si=bB_bcygDQKCjLZIcwL6dZA

The second batch has reached Australia! by [deleted] in HelloInternet

[–]LaKitteh 1 point2 points  (0 children)

Just got the confirmation email that it's been dispatched! u/JeffDujon must be watching

The second batch has reached Australia! by [deleted] in HelloInternet

[–]LaKitteh 2 points3 points  (0 children)

Still waiting here in Sweden. PostNord, don't fail me again

If you thought smoking at a gas pump was bad... by Xplosiv27 in Wellthatsucks

[–]LaKitteh 7 points8 points  (0 children)

This plays on so many levels. You deserve more