Search the web
Sign In
New User? Sign Up
postmodernprogramming · Postmodern Programming
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Programming like a mathematician?   Message List  
Reply | Forward Message #137 of 180 |
Re: Programming like a mathematician?

--- In postmodernprogramming@yahoogroups.com, Stephen Freeman
<steve@m...> wrote:
>
> On 1 Feb 2006, at 10:34, Keith Braithwaite wrote:
> > fantastic notion to me. Which raises the question: how would you go
> > about learning a language like a post-modernist?
>
> The way most people do... Skim through enough of the book/tutorial to
> figure out the basics of the syntax and to get something to run. Then
> copy and paste an example from the web/MSDN that mostly does what you
> need. Rinse and repeat.

And don't underestimate the utility of refactoring tools in helping
people learn from examples.

I used to hate the Microsoft example code found in MSDN and the SDKs.
It's all poorly written. Most of it serves to hide the point of the
specific example. The MSDN is a virtual textbook in how *not* to program.

But I now realise that I had completely missed the point of those
examples.

When armed with ReSharper, Microsoft's example code is a fantastic way
to learn. Start with something virtually unintelligable and then
refactor your way to clarity. Rename variables to discover intent,
delete unnecessary code, pull out methods and classes to describe what
you learn as you decipher the code.

In the end you have a much deeper understanding of the API in question
and a clear expression of your understanding in code.

What I find surprising is that Microsoft's MSDN team invented a method
of teaching that relies upon tools that Microsoft themselves are
unable to implement.






Wed Feb 1, 2006 12:07 pm

nat_pryce
Offline Offline
Send Email Send Email

Forward
Message #137 of 180 |
Expand Messages Author Sort by Date

This caught my eye on reddit: http://epsilondelta.wordpress.com/2006/01/31/programming-like-a-mathematician-ii-learning-new-languages/ My antennae began to...
Keith Braithwaite
keithwdssg
Offline Send Email
Feb 1, 2006
10:37 am

... The way most people do... Skim through enough of the book/tutorial to figure out the basics of the syntax and to get something to run. Then copy and paste...
Stephen Freeman
smg_freeman
Offline Send Email
Feb 1, 2006
11:03 am

... And don't underestimate the utility of refactoring tools in helping people learn from examples. I used to hate the Microsoft example code found in MSDN and...
nat_pryce
Offline Send Email
Feb 1, 2006
12:08 pm

I think you might be onto something. I hadn't realise how subtle MS have been to use Pathology as an educational technique. Pathology (from Greek pathos,...
Stephen Freeman
smg_freeman
Offline Send Email
Feb 1, 2006
12:33 pm

A modernist retort for those who haven't seen it yet: http://www.charlespetzold.com/etc/DoesVisualStudioRotTheMind.html...
Michael Feathers
mfeathers256
Offline Send Email
Feb 1, 2006
12:52 pm

... Ah, now there's a can of worms. See, I can handle malloc. I can even handle platforms where you have to manually manage storage on the _stack_, never mind...
Keith Braithwaite
keithwdssg
Offline Send Email
Feb 1, 2006
2:00 pm

... I think there is. The thing that I take away from the Modernism/Post-modernism dichotomy is the issue of "grand narratives." I've always been troubled by...
Michael Feathers
mfeathers256
Offline Send Email
Feb 2, 2006
12:19 am

That reminds me of the concept of the "mythos" in Zen and the Art of Motorcycle Maintenance. My understanding of it was that the mythos is the unspoken rules...
Nat Pryce
nat_pryce
Offline Send Email
Feb 2, 2006
10:30 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help