Results -9 to 0 of 44

Thread: Outdated Raids

Threaded View

  1. #23
    Player
    BillyKaplan's Avatar
    Join Date
    Dec 2015
    Posts
    2,913
    Character
    Lho Polaali
    World
    Moogle
    Main Class
    Conjurer Lv 23
    Quote Originally Posted by SuperZay View Post
    you don't need to rewrite all the code from zero if you want to add identical, copypasted feature to something, you copy a part of core code and alter it as needed. Rather, you'll be fired for rewriting all the code because you'll not meet deadlines.
    Twelve preserve, no! I literally quit a place because the project I was assigned had a bug that existed in half a dozen locations that were effectively the same bits of code which I had to slave to find. How's that for time consuming? Copy-pasting code is not what they mean when they say code should be reusable.

    For example, Mentor Roulette already has all 6 raids in it. For Raids roulette you take that ready, tested, working code and delete all entries which are not these 6 raids. Raid Roulette code ready.
    Not precisely. Mentor roulette has different ilvl and level restrictions. It's a solo duty. Already if you copy-paste the code as you said, you'd have to make modification.
    Hopefully the code used for the roulettes is sitting in a nice little function that receives all these things as parameters (# of people who can queue, party make-up, ilvl, duties in it, etc) and is easily accessible from all places relevant to this discussion. But that doesn't mean it won't have to be tested still.
    (1)
    Last edited by BillyKaplan; 09-03-2017 at 03:32 AM.