[racket] HTDP 17.1.2; applying methodology to imperative languages

From: Jay (planarian at hotmail.com)
Date: Wed Mar 30 22:10:07 EDT 2011

Hi,

I have two unrelated questions, and I hope no one will mind my bundling them together:

1) I'm stumped by the "cross" problem (17.1.2). Although I did manage to dig up someone else's solution, and do understand it, I would never have recognized it from the problem description as an instance of two-lists-with-one-treated-atomically. Aside from its location in the text, is there a way of looking at this problem that helps identify the technique? Even knowing the answer, I'm not sure what should have been on my auxiliary function "wish list."

2) Is there a post or other resource that describes how HTDP methodology can be applied to programming in other languages? I'm interested in C++, but I imagine discussions of any imperative language would be helpful.

Thanks!


Jay
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110331/882f389a/attachment.html>

Posted on the users mailing list.