There are many web sites which discuss the technical parts of RPG covering the latest bifs and opcodes and they are great for looking up specific things about RPG.
But when you are new to RPG and perhaps programming in general you actually might not know what a "good" programming style is and you may have not discovered or developed your own coding style.
So here I want you to give you something to start with : Demonstrate My Style
This is not something written in stone and not a general rule which you have to follow but my personal preferences at the time of writing which you may use as a starting point to develop your own style.
For me coding is something between craftsmanship and art. It is not just about performance and business values. And having something which just barely works is not something I pursue.