Ep3. Live Java Minecraft plugin code review - DebugStickPro

preview_player
Показать описание
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 ==

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?

#coding #code #tutorial #money #developer #java #minecraft #minecraftplugin #bukkit #spigot #spigotmc #paper #paperspigot #programming #codereview
Рекомендации по теме
Комментарии
Автор

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.)

-YouTube's automatic subtitle translation is one of the greatest features in the world.-

twme
Автор

how i can add my plugin in review list ?

SyphiX
Автор

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

plecostemous
join shbcf.ru