38
shayki5
16d

Do you know programmers like this...?

Comments
  • 7
    IDK why you are ranting about this. Its actually good to use quick sort even in small arrays.

    This is the problem with todays programmers.

    We have powerful hardware so we can write shitty code. NOOOOOOOOOOOO

    Optimize the code dammit.

    Why use slow option when u can use the faster one ?
  • 10
    @Haxk20 dude, you forgot the main rule of being a responsible developer: the enduser is the enemy.

    Writing fast code will make the enemies' life easier instead of ruining their day. As a proper developer, you have to use the slowest options possible and make it almost impossible to fix this without developer knowledge, while not making it too hard for a fellow developer to fix it for money.
  • 0
    @Alice LOL. If by any chance you meant thsi seriously then Oh NO.
  • 5
    @Haxk20 of course I meant this seriously. And I am surprised you don't know about this. Someone clearly didn't make their job when they taught you the basics. It's one of the basic rules, followed by "Create everything as if the user is too stupid to breath" (as it was stated by the famous developer Celia Speret)
  • 0
    @Alice Im self taught so shhhhh. I know about create everything so simple as user is too stupid. But i had no fucking clue about that. So write a code thats complicated ? And Slow ? WTF ?
  • 7
    @Haxk20 yes, that's common practice. It saves your ass from unemployment because you always have something to fix, in the eyes of your clients and can make fast money by changing one line for a little speed boost, as speed is the second thing the common client notices after style and is probably the only thing they will ever witness coming from a mix of frontend and backend, since the client usually ignores that the backend part exists at all.

    This also gives other developers who might follow after you at your workplace the chance to show some quick progress. I suggest you look further into Celia Speret's talks about common dev practice.
  • 1
    @Alice I mean i write shitty code either way but when i know that one algo is better i use the better one so there is still room for optimization in my code. A lot of it. But thanks @alice. Will keep it in mind
  • 2
    @Alice this feel so unituitive...but actually makes alot of sense
  • 4
    Remember kids: always tuck in a bunch of "sleep(1500);" wherever you can ... it'll make things soooo much easier to release a "significantly faster v2.0"!
  • 2
    @Alice "Baby, I like your style" ... :-)
  • 1
    @Haxk20 this whole faster hardware shittier code is gonna catch up with us.... I can’t stand people thinking they can program cuz they made some website, or made an mobile app or whatever... never touching C or assembly ... allowing java and c# garbage collectors do the “scary work” for them.... it will catch up ... and when it does, finally the industry will be able to have a purge / culling (non death .. just firing) of all the “programmers” and allow us Software Engineers to really show folks how it’s done.... “optimized for the metal”..... people will learn .. hmmm maybe I should have took the time to make that myself rather than take the short cut and widdle in some joe blow, never meet the developer, library or API, that you have no idea how it works “but it work” .... stop piecing together shitty code from other with your own code cuz in the end the whole project is shit..... DO IT YOURSELF.. TAKE THE TIME! cuz in the end, you’ll know every line, every end every side of your code from top to bottom, inside and out... if your manager wants you to use some third party shit, and won’t allow you todo it yourself, then 1 you need to work on present the facts, 2 your manager must not be a software engineer, 3 you might be working at a hack shop...
  • 2
    @Alice Thank you very much for sharing your knowledge with us. I know now why people at work do not take me seriously, why they do not respect me and do not recognize my value. I will follow all your lessons and I would apreciate if you accept to be my master.
  • 2
    @Alice I used to follow the instructions of a bad men that taught everything wrong to me. It was Uncle Bob and his book Clean Code.
  • 3
    @Haxk20 This is pointless. Never ever write bad code knowingly. You are a self taught programmer, so I guess you learnt coding because you enjoy it. Don't write bad codes because you can get some extra cash. If you are good enough, you'll never be out of work, work will come to you. Don't ruin your peace writing bad codes.
  • 3
    @Alice watch out, seems like people doesn’t understand sarcasm...
  • 4
    Unless the answers were sarcastic too, in which case I’m the one who doesn’t understand sarcasm. Damn this gets too meta for me.........
  • 0
    @devs FFS of course they are sarcastic at least my answer was. I don't care if you can get extra money this way.I better write good optimized code. But yeah it takes time to optimize it.
  • 1
    @quanticoceo I totally agree. Dammit old games were so creative. Using the same sound just slowed down to make another sound. We got to fucking moon with less power then our phones. I'm pretty sure Skyrim would run if they optimized it enough but nooooooooooo they just write another shitty game that's full of bugs and other crap.
  • 0
    @sudiptodas yeah I know. Answers were sarcasm. But then if Alice Kent it for real then answers to my answer were not sarcasm. Ahhhhhhhhhhhhhhhhhhhh.
    Don't worry I will better write good code then more money cause you can always get money when you are good.
  • 1
    @Haxk20 yeah well, early morning for me, my brain just had to wake up i guess
  • 1
    @Haxk20 Yeah, except even insertion sort is usually faster for sorting small arrays than quicksort. Big O notation only compares algorithms nicely for sufficiently big n. At n=10, an O(n^2) algo might very much be faster than an O(n*logn) algo.

    The threshold for when quicksort becomes more efficient is machine dependent, but usually is at around 10. So when you know n=10, it basically doesn't matter what you choose, just use the simpler one.
  • 0
    @kenogo yeah for extra small arrays insertion is faster but when you get to 30 which I usually work with then quick is better.
  • 4
    The answer to the question if my comments were meant seriously or not is literally in the multiple times mentioned name Celia Speret.
  • 0
    @Alice To no surprise the name doesn't exist. I found only Celia Spirit on fandom. LOL
  • 4
    @Haxk20... It's an anagram of my full name, dude.
  • 2
    @Alice OMG I'm fucking blind !!!!!!!!!!!! LOOOOOOOL
  • 0
    i learned about it to be a named antipattern, at least in my country. we call it "the bird cannon" (cannon to shoot sparrows, in literal translation).

    i've always wondered if it has a proper colloquial name in english too...
  • 2
    @Haxk20 Celia Speret, bestseller author of the book "How to be a responsible developer in 2019" and saint patron of bad developers
  • 0
    Use bogo sort! It can "potentially" sort it with an O(1).
Your Job Suck?
Get a Better Job
Add Comment