The trade off with "early out" code is that it becomes harder to figure out how much the current …
If you're into IRC, the ludumdare.com community is pretty active and largely positive..
That sai…
Early returns are problematic if the function acquires resources that it has to release again if …
Hello guys,
I have a strong compulsion to post questions and discuss my own game project here, t…
You can try to run Casey's code from day 24 and see if it it solves the issue.
He made some chang…
Great info, I'm not on that day yet and I also subtracted a millisecond.
So if it happens to me, …
I tend to use the same multi-return minimal nested approach as you are suggesting.
I think it's …
A question of layout. First, a couple of case studies.
Casey's code is usually layed out somethi…
Ah true, the use of EntityCount to indicate the end of the arrays content was lost on me.
I see …
I haven't looked at this myself yet, but I'm not sure I follow you. The code
1
2 Block->Lo…
The logic for pulling an entity out of its old entity block has a bug that I believe was the root…
chebertapps
But it seems like you are talking about using them in a class hierarchy. that's not …
> Well, for run time creation of objects they are potentially pretty bad because they have pot…
You can find more detailed arguments about using auto here (slides 12 to 21): https://github.com/…
Personally, I believe you should use auto whenever it makes sense, if the type information is alr…
Good catch Iker... I will make a note of that!
Thanks,
- Caesy
The big problem I have with it is that you can't tell what type of variable it is. I had a proble…
There's a 'hidden' search page here:
Forum search.
I tend to use google and type:
site:https://f…
Hello Casey,
that sounds great. How can I get in touch with them?
--M
I thought "auto" was a easy way of doing templates and stuff not use everywhare in your code when…
That'll do it, yeah :) Glad you were able to find it!
- Casey
Hi Martin!
We actually already have a GitHub that supports markdown and stuff, run by the people…
In the episode day one, Casey mansion using subst to substitute a path with a drive letter in Win…
I can almost guarantee you that the answer for most people is "it's new and I've not learned it t…
So, I´m checking this guy on Twitch http://www.twitch.tv/whilke, another game develorper using C+…
It is an interesting suggestion. The non-platform code needs to be kept cross platform so, if we…
@rathersleepy: Thanks a lot! It's quite rough on the edges for now, but it'll get better in time.…
That is a great start! I'm sure that many people will find this useful. I've actually been wond…
Hey everybody,
I am new to this forum as I am new to Handmade Hero. Just watching the Intro to C…