Hacker News new | ask | show | jobs
by bloniac 1808 days ago
I was really tuning in to the concepts but he completely lost me when all the examples used math and trigonometry.

I loathe teaching of programming through math and trig. I feel using math and trig to teach programming is a bigger barrier than anything else.

4 comments

I have a blog post in the $SOMEDAY pile where I warn about technologies that keep using the same example over and over again. If something is broadly applicable, people should be able to come up with independent examples of how it's useful. If the same example keeps coming up over and over, one should become suspicious that it only works on that example.

I observe that this style of programming only ever seems to be used for geometric programming of very visual things, or sometimes audio processing pipelines. I'm becoming suspicious that it may not be good for much of anything else. I'd be interested in seeing a mockup of how to use this technique for a JSON parser or a web handler or something and obtain any utility vs. what we already do.

I don't deny that it may be useful in a certain domain or potentially useful as an early teaching tool, but I remain highly skeptical that the promises/claims/demands that it be used for general-purpose programming is possible or a good idea, and the more I see the same examples over and over the deeper my skepticism becomes, no matter how slick the presentation.

The classic "hello world" for visual programming languages tends to be a Fahrenheit to Celsius converter. Not only is this example a very simple calculation, it happens to be a reversible, total function, which can often (unintentionally?) imply a degree of flexibility and interactivity which does not generalize to stateful or non-reversible programs.
It should all be taught together. Trigonometry is the easiest thing in the world, it just feels complicated because of the way you learnt it first. What is complicated about going around a circle? Is it really more complicated than writing programs?
Sometimes I forget that there is a difference between a programmer and a software engineer. I actually think that mathematics should be emphasized more where programming is concerned, practicing applicable maths improves on your ability to be logical and therefore a complementary skill for a programmer.
What math and trig? He's drawing shapes using a coordinate system, how would you use less math?