A downside to programming for fun, for me, is that i need at least an hour or two to “load” the project into my head, to be able to do real work. Less then that and I am not able to make any “real” progress. It isn’t an easy drop-in hobby. For me anyway!

@jos I'm not sure, but I have similar issues with projects that have lots of classes and homemade abstractions. You may be experiencing this because you are overusing Object-Oriented programming in your project.

@tagglink I would agree that scope can be, and is for me, an issue I battle with! As is over engineering things :) I am not sure that that is limited to any single programming language feature/design though.

@jos I just find Object-Oriented programs difficult to think about, navigate, and "load in". It's difficult to get things done when you'e busy jumping around files, trying to think about "where" to put your solution rather than actually writing the solution

@tagglink what or how do you develop such that it is easier to “load in” and work on your projects? I’m using Unity3d primarily, since it is also my work tool, and I’m most familiar and speediest with it.

@jos Keep it simple. As small amount of files as possible. As small amount of functions as possible. No nonsense restrictions that have nothing to do with actual game logic (Player class does in fact NOT require a Attack() function, and just because it doesn't have one does not mean your player can't attack).

@jos Still, Unity3D is quite restrictive in itself so it doesn't matter much. When you're already forced to work with objects you're already paying for the overhead, so you might as well make yourself comfortable and program however you like.

@jos I just write in C. I'm not claiming that it is faster to work in. But it sure is liberating. And once you get somewhere, it is nowhere close to the satisfaction of finishing something in Unity. It's much better.

@jos This is why I keep at least as much task tracking up for my spare time projects as I do my day to day.

That does mean some sessions on the spare time stuff is just spent in planning land, but I do enjoy that as well - knowing it makes my next hands-on session that much more straight forward, popping off a task and hitting go.

@AngryAnt yes, that is also my default shorter/distracted time window option. And trying to break tasks up into smaller portions so that what time I do have for “real” programming can be as productive as quickly as possible. And still fun! :)

Sign in to participate in the conversation
Gamedev Mastodon

Mastodon server focused on game development and related topics.