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 - "beginner"
!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.30
Anybody else have trouble with getting stuck on very little things? Keeps happening to me in class and sometimes gets to me. I'll be able to finish most of my work in quick time and all is good (I get excited that everything runs so I'll write with some speed), but then some very very little bug is there and I get stuck on it for a very long time and I just feel bad about myself. I guess this does happen, what do you guys do to blow off some steam? I know I should just take my time since I'm still a beginner and I'll try to work on that.11
so i want to learn web dev basics. why tags behave the way they do ? why the need for a head tag, why some tags show on output while some don't . why doctype tag exists,... lots of stupid beginner questions. I can't just go with the flow and suddenly realize that i have been putting js scripts at the wrong place my whole life. or some crazy css magic can make screen shatter animations.
I wanna learn everything from scratch. what is the best place to learn about it?
So far i have found mdn docs to be decent, but what is so wrong with them to organise stuff the way they did ? we have bread crumbs on screen which i expect to work backwards, like if i select b from a>b>c.html , i expect to reach page b whch should be an index of all the pages. but instead, b is a link to a whole new page with a list of totally different wepbages to follow.
Any easier way to follow mdn ? or something better than mdn ?4
I'm a beginner in python, looking for some tutorials and interview questions with examples. Would be great if can suggest some good website/pdf for learning. thanks3
which is the best cloud provider for a complete beginner (user/dev) in terms of community support, employer preference and user-friendliness?
i know that understanding the tech and concepts behind it matters more than getting familiarized with a specific platform, but i'm looking to build a more diverse profile and have noticed many positions asking for AWS/Azure experience.
since i'll be starting from scratch, any provider with easy-to-follow documentation, online help and certifications that don't leave you broke (would have to pay myself, earn very less as a student from a third-world country, parents/current employer can't support) would work.7