Skip to main content

The Time of Computers

Hello, all! I'm back after another nice, long, refreshing hiatus because for the nth time, my parents have put their feet down and insisted I compose a blog post. I MAY HAVE TO DO IT, BUT YOU'LL NEVER MAKE ME DO IT WITH GOOD GRACE, MOM!

I was thinking about my school computer science class (I wasn't really, I just need a way to introduce the topic) and about the kind of programs we have to write. They're not very complex programs, they do pretty simple things like adding up numbers or sorting things. They also aren't very long. A program that I'm asked to write in class will scarcely take me ten minutes to finish, and be around fifteen lines long. The Google home page has more lines of code than that, for crying out loud!

Now, there's nothing wrong with short programs. A lot of the most efficient programs are quite short, and I'm always thrilled to be able to write one line instead of two. However, the problem with writing only 15-line programs is that it doesn't really give you a sense for how much work really goes into building a software product. It leaves people with the impression that an entire operating system, say, can be built with around 30 lines of code. Now, while I hope that that may be the case in the future, none of the tool sets currently available to us are that good. Windows XP, for instance, is around 45 million lines of code in size.

The usual explanation is that a computer science course is supposed to teach you the concepts required to build a program, not actually have you build a program. While it's very good for me to know what I'm doing with while-loops and for-loops, I think I'd also like to know the amount of work that goes into developing a functional product. I wrote an app a couple of months ago - a pretty simple app by today's standards - that took me several weeks to finish. Of course, it probably didn't help that I was only putting in one hour every day, and even then not every day of the week. The point is, though, our computer science course implies that building the next great piece of software is something that I can accomplish with half an hour and a computer.

It also strikes me that people who have been taught programming by writing fifteen-line programs in visual basic are rather more liable than everyone else to break down and weep after their computer tells them, for the fifth time, that it "could not locate aeinv.dll" or whatever. I'm not saying that I don't feel the urge to chuck my computer out the window and go out for a walk every time my code doesn't work. I'm just saying that I'll probably sit down after the third failure and reboot the computer (and that's what every overpaid repair engineer doesn't tell you - if your computer isn't working properly, you should probably just turn it off and on. If that doesn't work, ditch Windows and use Linux like a real programmer.)

The obvious solution, of course, would be to set up computer science courses to be more like a team working towards a goal. The current format seems to be to throw a bunch of problems at you which use all the features of a given programming language. I wish I had a less obvious, well thought out solution to offer you, but I never have, and I'm far too lazy to come up with one. Instead, I'll leave you to hope that you never, ever have to learn to use Linux.


Post a Comment

Popular posts from this blog

No Good Place To Do Mutra Visarjan In This Country...

At least, that's what Chatur Ramalingam seems to think. However, many of our fellow Indians seem to disagree with him. According to them, there are nothing BUT places to do mutra visarjan (for all you poor, masochistic folks - ah, I mean, non-movie-going folks - out there, mutra visarjan means urine expulsion). In case you haven't guessed already, we're going to be talking about one of India's most widely criticized and even more widely practiced issues - public urination.

I'm not exactly saying that it's our people's fault - I mean, come on, we have so much urine-related cultural history! Just in the past 50 years, we've had people who've used their urine for everything from watering plants to drinking it (I believe that some people also flush it down their toilets. How wasteful of them). Besides all the historical precedents, however, we also have some more practical reasons for peeing wherever and whenever we feel like.

If you've ever seen a …

Exam Fever

As anyone currently in the twelfth will tell you, with varying levels of dismay, the final exams are right around the corner. Parents everywhere are seizing their children's phones and taking time off from work. Panicked screaming ensues at intervals.

I don't believe there's a person on the planet who genuinely enjoys exam season. Actually, I take that back - there's no one in India who enjoys exam season. Partially, I think this is our own fault. Exams are the most important things in an Indian student's life, so parents seem bent on bottling up all the worry and concern they have about their kid's education and allowing it to spew forth in a torrent of "No more video games!" and "Delete WhatsApp!" commands during the two months surrounding the exams. Small wonder, then, that at 17, I believe the purpose of exams is to seasonally blot the sunshine from otherwise happy lives.

This whole exam fever thing does have some upsides. Okay, one - it…

Riding Away

A couple of weeks ago, I undertook a gargantuan task: I decided to teach my mother to ride a bicycle. Somehow, during her more youthful years, she never found time to pick up that particular skill, and now she is to rectify this deficiency.

My own bicycle is sized for adult males and as such, it's a little big for Mom. In order to enable her to reach the pedals, I walked down to the nearest stand and brought her a smaller bicycle., for those of you who don't know, is a company run by Zoomcar which lets you rent bicycles for a couple of rupees an hour. It's great, because it spared me having to go around the neighbourhood in search of a bicycle that Mom could use.

Once I brought the bicycle home, the real tribulations began - for Mom, that is. I simply stood on the side of the road and took videos of her travails to contribute to the family albums. I don't know how many of you recall the experience of your first bicycle ride. I remember mine with real c…