Starting a plugin

Discussion in 'Plugin Development' started by BTJ1, Oct 25, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Lordloss

    they teach bad habits on mass.
     
  2. Offline

    MaxFireIce

  3. They are much more clean and smooth
     
  4. Offline

    Zombie_Striker

    @MaxFireIce
    He does not mean "mass" as in an object, but as in he has a ton of bad habits and he constantly makes them.

    Tell me, how many videos has he done the following:
    1. Have an empty onDisable or onEnable.
    2. Make the "player" instance before he even knows the sender is a player (by checking the sender instance)
    3. In general, casting objects before he does an instanceof check.
    4. Steal's minecraft's logger
    5. Logs his own plugins, meaning there will be two messages in the cmd for his plugin.
    6. Now follow Java Naming Conventions: Either his package name contains an Uppercase letter, or his variable starts with an uppercase letter.
    7. Makes all his variables public.
    8. Makes all his field public, even if they are only used in one class.
    9. Comparing booleans using "== true" (e.g. "boolean == true")
    10. Creating variables that will only be used once.
    I can probably think of more problems if I have the time, but this is a good enough list of reasons why not to learn from him.
     
    Lordloss, ipodtouch0218 and danichef like this.
  5. Offline

    MaxFireIce

  6. Yeah and some of that things when you try them they dont work or when he corrects things sometimes i get mad
     
  7. Offline

    MaxFireIce

    @danichef
    XD sounds like ur talking from experience
     
Thread Status:
Not open for further replies.

Share This Page