Ep3. Live Java Minecraft plugin code review - DebugStickPro

After coding in Java for 12 years I am reviewing Java code of Minecraft plugins people sent us for review and giving actionable tips on how to write clean, performant code.
== GET MY HELP MAKING GREAT PLUGINS AND SERVERS ==
Minecraft Plugin Development: mineacademy.org/project-orion...
Forge Modding: mineacademy.org/forge-mastery...
Today, we will be taking a look at Bukkit plugin DebugStickPro which is a cool debugging plugin for Bukkit. I will evaluate how it performs in regards to these factors:
- Does the code follow standard conventions?
- Is it simple and immediately understandable?
- Avoids repetitiveness?
- Has consistent names?
- One method ideally does one thing?
- Less than 3 arguments in methods?
Plugin link reviewed in this video: github.com/TWME-TW/debugstickpro
#coding #code #tutorial #money #developer #java #minecraft #minecraftplugin #bukkit #spigot #spigotmc #paper #paperspigot #programming #codereview

Пікірлер: 5

  • @twme
    @twme3 ай бұрын

    Thank you very much for your code review, it has been very beneficial to me 😊 (It's a bit unfortunate that I submitted the code to you too early, as most of the issues were already resolved or no longer exist in later versions.) However, I found it very interesting to notice for the first time that I could simplify my Listener registration code using **...** (I learned about it but never used it like this before). Indeed, the naming of my variable (taskID) doesn't convey its meaning well, so I appreciate your reminder! Regarding the repetition of code in SubData of SubBlockData, I did notice the issue, but I originally intended to use a **default** class. However, it seems using an **abstract** class is a better approach (thanks again for your suggestion). Unfortunately, my language system was already rewritten before the video was released, so it wasn't reviewed in time (otherwise, I'm curious how you would handle dynamic languages, as I'm not confident in my approach). (English is not my native language, please forgive me if it looks weird.) -KZread's automatic subtitle translation is one of the greatest features in the world.-

  • @SyphiX897
    @SyphiX8973 ай бұрын

    how i can add my plugin in review list ?

  • @kangarko

    @kangarko

    3 ай бұрын

    Submit it here: forms.gle/w32Ytd47tsq7Q3BW8

  • @plecostemous6123
    @plecostemous61233 ай бұрын

    Just seems like your advertising hour course not actually reviewing u went through like 4 things lol all of which correlated back to your course

  • @kangarko

    @kangarko

    3 ай бұрын

    I do have a free video covering coding standards here on KZread: kzread.info/dash/bejne/dYeLzredeq2vmbg.html Also I tried to keep it shorter otherwise the video would be one hour long. The user got full code review inside our portal that is why I referred to it.