"This would be better if it were covered in rust"
They’ve played us for absolute fools!
This engine is not the best practice
This engine is an antipattern.
We're dissing Unity here right?
Godot follows the same pattern though... oh no.
Not gonna lie, I just threw a random joke in there, I never even touched Unity
I mean, you aren't wrong in your joke. Godot's pattern is slightly but not much better. Unreal is far more structured and realistic but still lacking in a lot of ways.
Oh lucky shot then XD
I don't know a lot of game dev, care to educate me on the rights and wrongs of each of the engines?
Unreal is what I have the most experience in. It's very strict and structured. Everything in Unreal is a UObject. There are Actors and Actor Components. Every feature has a requirement, such as, some of the AI features require you to have your AI as Pawns which are Actors that can have a Controller (an actor that manages the connection to a player) which then there is a PlayerController and an AI Controller which can hold a behavior tree to tell the AI how to control their pawn.
In Godot, things are far less structured. Godot has everything based on Nodes like Unreal but it expects you to build out whatever you want. So it doesn't come with Behavior Trees or the concept of a player. It expects you to build these things. Mainly because it's a budding engine that hasn't had the maturity or time put into it like Unreal.
Unity is a mix of both. Unity has a huge freeform nature to it. Again Unity starts with a class, everything in Unity is an Object. It has the concepts of Components that attach to a GameObject (which GameObject and Object are different). There is no Actor class, and no defined way to move an actor across a floor, a controller object in Unity is seen as the place where all the logic to control the actor is. So Unity has its own structure but it's also less built out like Godot. As such the AssetStore in Unity has taken the task of providing whatever the developer needs. So a Behavior Tree system on Unity differs from project to project from whatever they made or bought off of the store. Unreal allows you to, of course, use something else for behavior trees but no one does because their base implementation works and works well. It's standardized.
So overall, Unreal is standardized, strict, and gives you a ton of features. Unity is less strict, provides less standardized features, and forces developers to make their own things. Godot furthermore is less strict, has very little built-out, and the standardization it's attempted to create gets changed in the next major update because it's very new.
Oh mate thanks for the detailed write up, it makes sense with my very little experience too.
Could also be your least favorite container engine. Or rules engine. Man, we really like to call things engines don't we?
This engine is not idiomatic.
"Documentation considered harmful" - my coworkers probably.
iT’s SeLF dOcUmenTiNg 🥴
It perfectly makes sense if you think like me.
-- a deranged programmer
-- a deranged programmer
Aren't we all?
Using "self documenting" as a blanket excuse to not document things that need it is inexcusable, yes, but I'd rather work on code written by somebody who seriously thinks about how to make it clean and self documenting, and then documents whatever still needs it as well, than on code written by somebody who doesn't make that effort, but documents heavily. And as for people who claim they're documenting everything, when the documentation is function fooTheBar() // foos the bar
, they can eat a bag of docs.
100% agree. Sometimes I start a comment and realize I’ve either explained exactly what it’s doing and delete it or just update my variables to be more concise.
My job doesn’t like when I document the parameters and return type/value of methods. I think that that is really important in a dynamic language like Ruby and sets expectations that the method should ONLY return that type.
bool ticket2387_ac3 = true; // TODO
if (!ticket2387_ac3) return;
ticket is too exposed, what if they reverse engineer the name? just use t2387ac3 instead it saves time
facts
My coworkers do document the code:
/// Returns a list of foos, given a bar.
fn get_foos_from_bar(bar: Bar)
Perl has entered the chat.
No, that's just some random line noise.
ifelse
eatme
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics