Details
-
AboutJust a dude who's a little bit too enthusiastic about life :D Wish y'all a great time on our beautiful Earth <3
-
SkillsJava, C#, Python, C, JS, TS
-
LocationIsrael
Joined devRant on 6/23/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
-
!dev (?)
Ughhh
I hate fucking school books,
My students get their books from the school, they got a 2014 edition, I got them from my employer, I got the 2019 edition.
"How different could they be?"
Totally different, the chapters are in a different order(Who learns classes before loops and conditions???) everything is different. "Okay", you might say, "surely it's just just a few pages prior or later right?"
No!
"So open your books on page 69(lol)" *Starts explaining*
Students: *Look confused* "ehm, Soldier? Are you sure that's the right page? I don't see the table"
Me: "Lemme check I'm not wrong" *Looks at the book* "Yeah, page 69, you see the table at the bottom?"
Student: "No?" *Shows me book*
Me: "Wait, that's not what I have, can you show me the book?"
*Looks at book, it's a completely different subject and chapter*
*Goes to ToC, finds the place where the table is*
It's on page fucking 98, this happens for a few more times.
"Okay forget the book, I guess I'l just draw everything on the board for now."
Fuck you book publishers or whoever is responsible for this cashgrab of planned obsolescence.5 -
Not really a dev habit, but a habit many devs have.
My beyond fucked up sleep schedule.
SLEEP CAN
SUCK
MY
ASS
I've woken up at 8 and went to sleep at 12 for two days, and I'm beyond happy with the purely accidental progress I've made, really hope to not fuck it up this time like always.2 -
!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 -
Either a math/physics related job(teacher, scientist or something like that) since I love tgem and have a knack for it, or a military career which I wanted but they didn't let me stay :C
So dev it is -
I know this really isn't the place for that, but I got a Raspberry Pi 4 about half a year ago, and it's still in my drawer, untouched. I had tons of ideas before, none since I got it, anybody has any idea for cool stuff I can do with it?16
-
Practice? Also good is relative, I don't considered myself "good" but it depends on compared to what/who.
Weird question overall. -
I love it.
I'm a geek, and a nerd,
I love everything that computers,
I love electronics, physics, even mathematics,
I love thinking, solving problems, learning new things.
And programming is all of those combined, I love it with a passion.5 -
So, about the devRant meetup(see previous rants), I didn't really hear anything about tomorrow, so just in case, I'm continuing with my proposal, it seemed more people were up for Sunday then Friday, so post the time you are free at on Sunday, along with your time zone(or UTC/GMT for privacy)30
-
Honestly? The environment... I have different styles in different languages and IDEs, for example I started Java with NetBeans that defaults brackets to same line, so when I use Java I default to same line brackets, C# on the other hand, Visual Studio defaults to brackets on their own line, and so do I.
You could see me write same code on different languages/environment and it would be styled differently. Yes I know, I should be burning in hell,I am THAT kind of guy xD3 -
So, Since today's devRant meetup has been postphoned to next week, Is everybody free on Friday or Sunday? Because there are some of us(Me included) who are busy on Saturdays.
What do you guys think?45 -
I recently found out Trinity Desktop Environment(TDE) Project, which is a fork of KDE 3 and is still supported. I'm absolutely amazed and super excited by this, since KDE 3 was my childhood, and I didn't like the way KDE Plazma behaves, I got to try it next time I install Linux somewhere.
I'm mainly a Windows user(because gaming), but I like to dual boot, or install linux on non main devices, just that my current PC isn't dual booted.
Maybe if I buy a new PC I'm putting Linux on it for a few month for nostalgia's sake before switching back to Windows. Maybe by that time gaming is gonna be even more available and viable on Linux. -
I recently started learning C++, thanks to Javidx9, he has one of the best YouTube channels I've ever seen, but learning it feels like every step I make I shoot my leg in the most painfull way, and every fifth step I get a massive cake.
I am very happy I already know C or I would've been completely lost.
Nevertheless, I love C++ very much6 -
Java: each type is required being in a seperate file with the type's name, many of my projects have way to many files, half of them for really small interfaces or classes16
-
I saw a rant about some department still using win98, and it reminded me, when I was in school the school library used MS-fucking-DOS, windows 10 was already out by that time...
The librarian lady was really surprised I even knew what it was, which meant she knew it was fucking ancient2 -
Well I like to keep my room clean so I don't really have anything on my desk, except WATER, I have like 5 big bottles of water so that I remember to drink, and always have enough
-
TL;DR Thinking whether to switch to Xamarin after learning Android Sudio(Java) for almost a year.
So, I've been learning android dev using Android Studio and Java, and I've made some progress. Not a lot, I finished a few projects for fun/practice the last of which was a project that took 4 month to finish, so I now am capble of making small or simple apps for android, and I have been thinking of switching to Xamarin. What do you guys think? Should I stick with Java/Android studio, or should I abandon it and start over with Xamsrin?
P.S. I am pretty good with both Java and C# so this isn't a concern.3 -
I have 2 states:
- Having about a dozen interesting project ideas and not being able to decide which of them I want to tackle first
- Having 0 ideas and absolutely no clue about what to do now.2