Details
-
AboutMain Java dev, creator of the „core-next" framework (core-next.io)
-
Skillsjava, spring, js, python
-
LocationVienna, Austria
-
Website
-
Github
Joined devRant on 10/12/2018
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
-
That reminds me if out project 😅 I hate inconsistency but I realized that a little of people simply lack the ability to actually see those inconsistencies at all. I usually see a difference of 1 pixel but oftentimes people don‘t even see different paddings/borders etc if they are vastly different, like 20+px.
I just stopped complaining at some point. -
@deadlyRants i‘ve almost never seen unreadable garbage, from java to ts, css or html.
In contrary actually: everything is always as expected and consistent.
If you have code that an sutoformstter can‘t handle anymore, I argue the code is just shit!
I just refactored code from a colleague, 3 or more nested if‘s, that could be combined, a myriad of parameters, huge type names (100 chars and more). The problem lies elsewhere …. -
@deadlyRants no it‘s not easy for an editor to detect what the one line with 3 spaces should mean when all other lines are intended with a multiple of 2 two, let alone how to convert it back to spaces.
1 tab is always what you want it to be.
How should it not be consistent? It‘s always consistent.
I‘ve seen a lot of code bases intended with spaces, and all of them with no exception, were really inconsistent. -
@PeterDCarter I never had any issues like that in 20y of experience.
As long as no one uses notepad, you should be fine.
And if someone used notepad, I would seriously question his dev abilities. -
@kamen spaces users are not open to logic - don‘t bother trying to explain it.
Most of then don‘t even know there are linters and auto formatters. Instead they prefer go manually align their content - which they need spaces for.
That‘s the only reason for spaces. And imho it‘s a dumb one. I want consistent formatting throughout all code files. Have fun doing this manually.
I would never hire such a dev, because they are either sloppy and don‘t care for consistency, or they waste precious development time for formatting code manually.
Both is unacceptable. -
@Voxera he still is a colleague 😅
In his defense, he only has 3y of experience in software development. -
@jonas-w it wasn‘t exactly one function, moe like a chain of functions: service -> mapper -> transformer -> client.
Various type declarations spread across different files too, like IDownloadFileBase64, IUploadFileBase64, IFileBase64 with the same content, and on some other spots the same content of those interfaces used inline, like:
{
file: { // same as interfaces above
….
}
} -
Try screen sharing on a 4k … 200% cpu and several GBs of ram …
-
I would rather make every noun neutral and use ‚de‘, like de Baum, de Haus, de Entwickler. Easier for everyone 😅
-
wait, do you hate java or kotlin? 😳 or both?
-
I think you got a typo in your post 😅 or was it on purpose?
-
I just put my machine to sleep. Once I returned from a 4 week vacation only to notice that the debugger was still halting on a breakpoint.
Although I have to admit I had bo clue what I was debugging back then 😅 -
I would confront him anyway. What good is it to have all that stress and die of a heart attack. Look around for a new dev first though.
What is the product about? -
@Demolishun the menubar is twice the height of the regular one, even higher than the notch.
The screen corners are round and you can‘t move the cursor beyond the rounded corners.
But you can move the mouse under the notch, if you click though, the mouse cursor is moved out of this area.
This all looks and behaves so random and cobbled together. -
@Demolishun
-
@Demolishun
-
@msdsk this guy is really creative in both positive snd negative ways.
Most of the time though he‘s thinking way to complicated. He can mane a simple click even handler in angular seem like rocket science! -
@Ranchonyx yes, in reality is a function parameter.
-
I‘m always open about that. Both my company and the one where I have an interview should know that I also have other interviews.
This is my angle for getting more money out of it.
Usually they want me after the interview, and they are prepared to pay more because of competing offers. -
@kamen
ask my coworkers :-D
The guy doing this wanted to assign the output (in my case I'm just printing stuff though) directly into a JSON object. So he needed it to be one expression, that directly returns something.
The proper way would be (imho) to refactor it into a separate variable and just assign the result to the JSON object's property.
In a way they are really lazy but do stuff that is so crazy to read afterwards. It's really a who different mindset to where I'm coming from.
One of my most important goals is always to write readable code, never smart code. It always comes back to (or others). -
I‘m working with GraphCMS and at first it looked kinda nice. Querying is ok-ish. But data upload with create/update/upserts is just horrible. Huge mutation queries noone understands, totally inconsistent, tacked-on localization support.
And the worst, no real java framewort that just gives me pojis to fill and send.
It‘s so horrible to use.
I wished they‘d have a good REST interface. Things would be so much easier 😭 -
Any amount if spaces is wrong!
The only valid option is tab. Spaces are for people who don‘t know better …
Change my mind 😂 -
@Floydimus damn, I also read 13 years 😂 but it‘s days
-
I think he meant not extracting the `data?.getStockLevels` call into a separate variable. Also destructing is nonsense here…
-
I prefer the OP‘s way with object property access, bc it‘s clearer and easier to read and understand.
Readability is the key to a good codebase. -
I can relate to that .... most of the time I see loads of duplicate code (like typescript interface definitions) and I always wonder how the hell someone could forget that they are writing the same code again and again ...
-
freedom ... although both go hand in hand 😅
-
@mojo2012 and shitty autocomplete
-
@AlmondSauce the main problem is that it doesn’t scale as your app grows (at least what I have seen)
-
I‘ve been playing a lot with it lately and tbh I like it. But coming from java I have to say, it‘s 10 times more complex.