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
Search - "learn"
It's always the same shit with some developers. Someone notices that an app is calling an API way too much, causing it to throttle. This is caused by a UI that does ~100-400 HTTP requests when you open a page. Someone comes and offers multiple solutions to cut down those requests by changing the UI behavior, dropping the request amount to less than 10% or maybe even zero.
Then comes one developer "WhY cAn'T We bAtCh thE ReQueSts?" Well, you fucking blockhead, what's the point in rendering 300 items on a page anyway when at any given time a user can maybe see five of them on his screen? These numbskulls have zero idea of how to solve technical issues with simple UX tweaks. Learn some UI/UX design if you're a front-end developer ffs.7
!rant, TL;DR at the bottom
Holy fuck, Yesterday, I got absolutely schooled by a literal newbie.
And I mean, NEWBIE newbie, the dude just started a Computer Science degree, and has been learning Java only for a MONTH. He has 0 prior experience with code or anything of the like, and he's somewhat of an Ars(Israel's version of a Gopnik).
So I was helping him with some stuff he didn't understand, and lo and behold his code was probably the most aesthetically pleasing and organized code I have seen in my 8 years of programming(I know 8 is not much, but It's at least above beginner level). The dude's a perfectionist, so I was like, "Okay, very impressive, but makes sense for perfectionism"(I straight up told him: "Damn, I've seen people with years of programming experience who can't learn to write this well, and you do this by default? I envy whoever's going to work with you"), and then I saw the way he writes checks(as in, methods that return a boolean) and I think I came.
The code was:
[First method in the picture]
And I know, it doesn't look as ✨ WOW✨ as I make it sound, but in my personal opinion this both looks much better and is much more readable than what I normally write:
[Second method in the picture]
and whenever there are longer or more complicated checks it makes it look like a simple puzzle that just fits in all the pieces nicely, for example in a rectangle class we had to write an 'isIn' method, this is how I wrote it:
[Third method in the picture]
His way of writing the same thing was:
[Fourth method in the picture]
Which I think is soooooo much better and readable and organized,
It's enough just looking at the short return statement to immediately understand everything that's going on.
"Oh, so it just checks if the SW(South West, i.e. Bottom Left) corner is above and to the right, and if the NE(North East, i.e. Top Right) corner is bellow and to the left"
Point of the story? Some people are just fucking awesome. And sometimes the youngest/most inexperienced people can teach you new tricks.
And to all of you dinosaurs here with like, 20+ years of experience, y'all can still learn even from us stupid ones. If 8 years can get schooled by a 1 month, 20 years can get schooled by a 1 year.
Listen to everyone everybody, never know where you might learn something new.
TL;DR: Got schooled by a local "Gopnik" who only started learning programming a month ago with 0 prior experience with his insane level of organization and readability.28
Got some detailed feedback from Booking.com, upon asking.
I answered all the questions right. But they said I am not ready for a Sr PM role (which might be true).
Here are three points that I captured from the feedback:
1. Focus on details
2. Clear and better reasoning for WHY
3. Realistic over idealistic scenarios
While it makes me feel low that I didn't make it but this feedback will surely help me overcome the challenges and clear interviews in future.
On to the next one now. Let's see what comes my way..
One thing for sure, there is lots and lots to learn for me yet.
One thing I surely lack is articulating my thoughts and keeping things crisp while conveying the information aptly.
Anyone has any tips/resources on how to improve in this area?14
Non tech hobbies that helped me with developement:
Lego technic/mecano/knex were a great way to learn about abstraction, you build modules that you can reuse somewhere else.
Cooking is similar, you notice useful patterns that you can reproduce. E.g. roux, which is butter and flour is used for a lot of sauces, then add milk and you get béchamel, which is again used for a lot of sauces.
Coffee brewing helps because I can't focus if I don't get coffee.2
Non tech hobby of mine: bird watching (you may have guessed based on my username). Although it’s a non tech hobby, there are so many great apps to help identify birds and learn about them. EBird, birdnet, Merlin, picture bird etc. I also have a few books about bird watching.
Crazy how many different kinds of birds you can see when you really start paying attention.7
Finally got my first dev job. I am looking at the code base for my company. And it’s like I know how to code in this language. But I don’t know half of the advanced shit they’re doing. I understand they have more experience than me. But I’m just not sure how to catch up to them. Or be even on the same level as them? I guess just more out of office learning?
I can read what they’re putting in the code and understand how it works. But like how they came up with it I have no clue. I guess I’ll learn over time and have to put in some extra man hours.5
I'd like to hear from developers which prefers Angular to React the reason of said preference.
I want to hear that becasue I like React way more than Angular since I find which is easier to learn (making a form with a React hook is easy while it takes days just to get a grip on Angular forms), it usually takes less code to do things, it doesn't force libraries which may not be necessary for your use case and just makes your bundle bigger (for example most things which are done in NgRx can be done just as easily with regular JS promises without the need of an external tool) and I generally prefer functional programming to OOP.
Said that I want to hear the other side, not to argue but because I want to know cases in which Angular may be a better choice than React to become a better rounded dev.10
What is ruby and why should i learn it. also whats the next step after learning fundamentals in Python?13