Jump to content

  • Log In with Google      Sign In   
  • Create Account

return0

Member Since 23 Apr 2008
Offline Last Active Mar 03 2016 07:26 AM

#5279064 Local hash

Posted by on 02 March 2016 - 12:20 PM

i took my first programming class in 1977 as a sophomore in high school.  i eventually went on to take software engineering at OSU. and now, 39 years later, i still have yet to use a hash table in a real world app.


Seriously? I find this bizzare, have you never used a dynamic language like python, ruby, or lua? These use hash tables idiomatically lots.


#4984504 [SOLVED] Change function call order for a Layer (draw) system

Posted by on 27 September 2012 - 03:46 PM

Why not just some sets of functors implementing () or some invoke interface?


#4957464 What *is* game programming?

Posted by on 09 July 2012 - 06:43 PM

yes I think it would be possible to simulate the universe, not real-time of course


Isn't this provably absurd and in violation of some fundamental laws regarding entropy, maybe second law of thermodynamics?


#4937240 Which language?

Posted by on 03 May 2012 - 04:48 PM

Ruby is a suberb language; however, if you must do something more gamesy then javascript/coffeescript/webgl are where it's at. C# is a bit Java these days.


#4936237 Language Comparison

Posted by on 30 April 2012 - 05:58 PM

CS should not be teaching people how to use C++, it should be teaching them how to manipulate information.


#4935499 The Farm for game developers? LOL

Posted by on 27 April 2012 - 05:46 PM

Fix having no life first ~ it's what you need to be good.


#4931575 Pattern/Idiom for Simplifying Interface

Posted by on 15 April 2012 - 05:04 PM

A sounds like a facade for a composition of B's. Personally I would ditch A and use the appropriate B at the call sites on the client.


#4927718 Smart pointers question

Posted by on 02 April 2012 - 06:24 PM

Are you really typing "20+ years of experience" as a manual post signature, coupled with giving very dubious advice?

Supertroll?


#4914681 Issue with program (class) design. Engine design question.

Posted by on 19 February 2012 - 06:38 PM

Include all the headers in the cpp that you need. Use forward declarations in headers. This is not bad form.


#4913133 Some advice about MSc. in UK Universities

Posted by on 14 February 2012 - 04:14 PM

Do CS instead.


#4904134 Game Programmer - Expectation

Posted by on 18 January 2012 - 06:11 PM

A good folio is much, much more valuable than the degree, unless it's from a particularly excellent school.


#4902849 Documentation tips and links

Posted by on 14 January 2012 - 09:09 PM

In descending order of usefulness and tendency to be maintained and remain correct: self documenting code, BDD style tests, usage examples, naive TDD style tests, descriptive text in a document, comments.


#4901490 Creating A New Object Ingame

Posted by on 10 January 2012 - 07:57 PM

Make a struct to represent the stations data, use the malloc function to get a pointer to a new instance. You should call the free() function with this pointer when your'e done with it.


#4883988 static Vector in a GameObject Class

Posted by on 14 November 2011 - 06:12 PM

I maintain that almost all application state could better be modelled nonstatically, as could most system resources usage. It may be that I have worked with pathological abusers of the "static state as application composition mechanism" pattern.


#4883978 static Vector in a GameObject Class

Posted by on 14 November 2011 - 05:48 PM

Static data almost always means something is bad. Rare exceptions exist. Types containing static collections of pointers to instances of self is a dirt common OO failure/antipattern.




PARTNERS