AboutAnother one grumpy developer
SkillsLev Landau was right: knowledge * initiative for each one is constant
Joined devRant on 8/29/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
You all enjoying and excited being coding until someone asks you to test your code and care about code quality6
People who are shitting on a chrome browser for desktop because of security reasons, but using it on their phones - you are mental.3
Talking to my architect:
- hey, we have a lot of code smell and data is structured usually in a chaotic way, also its hard to understand what is going on with all these code duplications, maybe we can think about refactoring, better structure, maybe even we can extract some domains and make life less painful?
- what is domain?
From the book
Turning Bad Code into Good Code
HOW CONVERSATIONS ABOUT REFACTORING SHOULD GO UNTIL TESTS ARE WRITTEN
“I refactored login to take email address and username.” “No, you didn’t.”
“I’m refactoring the code to ____”
“No, you aren’t.”
“Before we can add tests, we need to refactor.” “No.”
New job, same shit: looks like a lot of companies now are full (or have at least one) of superheros, which are thinking they are better or smarter just because they like not to use packages and reinvent a wheel each time . So if you are using build-in or 3d party modules you are evil
It is fascinating to see how my motivation and productivity decreases while working on legacy code.2
Annual performance peer review
Person who did review me wrote in the section “skills needed to improve”:
“He is introverted...”
Bloody hell!! What a big problem :) and how in earth you can “fix” it? And why everyone expected to be extraverted??11
Client writes me in slack two hours after my 8 hours are done:
“We have a bug, can you fix it now? We need to have it in two days”
Me, smoking pressing cmd+q, closing laptop , listening fools gold by the stone roses, curtains down6
So when you are fixing bugs you are like exorcist:
you: "tell me by some sign your name!"
bug: (demonic voice babbling)
you: "and the day and hour of your departure!"
you: "The hour of your departure!"
you: "The hour of your departure. CANNOTGETPROPERTYNAMEOFUNDEFINED!"
Uncle Bob says:
Software Craftsmanship is not about glory and rockstar status. It’s not about being the overtime hero, or the last minute cowboy. Rather it is about discipline, professionalism, and the desire to constantly improve.3
How your company keeps you motivated?
Is that required to be motivated and happy AF each day at the place you work?6
Bunyan is a simple and fast JSON logging library for node.js services
Server logs should be structured. JSON's a good format. Let's do that. A log record is one line of JSON.stringify'd output. Let's also specify some common names for the requisite and common fields for a log record.11
Quote by Uncle Bob: “Never forget that, as programmers, you are stakeholders too. Your technical and ethical reputation is on the line. You have a say. You also have feet.”
So I’ve asked one hipster js developer what does he think about golang. His answer was:
- it’s the same as nodejs, but difference is that go has pointers