HNHacker News
TopNewBestAskShowJobs

WorksOnRobots

4 karma · joined July 23, 2012

submissionscomments
WorksOnRobots··on Ask HN: Best learn to program course for mature learners?
Hmmm. That's a good point. Maybe Codecombat's free levels followed by Learn Python the Hard Way to mix instant, visual feedback and fun with "more useful" material.

Thanks!

WorksOnRobots··on U.S. Students from Educated Families Lag in International Tests
Shouldn't we celebrate that the U.S. is rich enough and stable enough that their students do not have to study for 14 hours a day in their prime of their youth to acquire a stable career? Why should we want to emulate East Asia's pressure cooker environment?
WorksOnRobots··on Intern at a YC Company
Another YC intern here. I want to know this too.
WorksOnRobots··on Cool C Programming
Exactly. char * a = 0; int * b = 0; a + 1 = a + sizeof(char) = 1

b + 1 = a + sizeof(int) = 4

WorksOnRobots··on Everybody thinks about garbage collection the wrong way (2010)
Pass the address of the block of memory to the constructor along with your other arguments and perhaps the length of the memory block (to assert that sizeof(block) >= sizeof(object)). Then use a C-style cast to cast the block of memory to your class. Construct the object like normal and return the address.