No ads? Contribute with BitCoins: 16hQid2ddoCwHDWN9NdSnARAfdXc2Shnoa
Feb 282008
 

First of all, a little apology … I’m no expert Mathematician, was pretty dire at Physics, and I’m no great name in Computer Science. In fact the “physics” here could be any science that makes use of mathematics as a tool. Now for the really scary part … I’m going to be talking about equations.

At least some of the unpopularity of Physics has something to do with the equations that can be found in it. There is no getting around it, Physics and other sciences cannot be really called “science” without equations. But I do believe that physicists do make their equations a little too mysterious :-

e = m c ^ 2

(apologies for not using real symbols there)

Now that is one of the better known equations from physics, but were it one that was less well-known the general reaction would be “eh?”. Does the obscurity of the variables here help ?

When I was learning to write programs, I quickly came to the realisation that using descriptive variables was the start of writing understandable code and went some way to documenting what was going on. It is all very well writing a piece of code with less expressive variables but it makes understanding what you wrote some weeks (or months) ago much harder.

The use of obscure variables come from Maths where you start with equations like :-

x ^ 2 = 9

Now Maths (as I understand it) is basically a set of puzzles that have to be solved using the techniques of Maths; those techniques and the puzzles are divorced from any real problems. The use of deliberately inscrutable variables is by design.

Which way should sciences that use equations go ? The way that Maths goes with inscrutable variable names, or the way of software engineering with descriptive variables ? Historically sciences have gone down the route in common with Maths; understandably enough, but why not try descriptive names. Isn’t an equation like :-

Energy = Mass * Speed of Light ^ 2

… far more understandable, and possibly just a little bit less scary to those put off by equations ? If changing to descriptive variables brings a few more young people into the study of science, is that a good reason for using them. I think so.

WP Facebook Auto Publish Powered By : XYZScripts.com

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close