aporem.net

the web of questions
  • Home
  • About
  • Links
  • Contact

Code as poetry

andi | 2007/12/29

I found this post arguing that one can draw inspiration for writing code from poetry:

Poetry (…) is an abstract block of words in which every one must carry meaning if the poem is to be any good. We value the poem for the beauty not only of the story or image given, but of the way in which it is constructed as well. It tends to be much denser and more compact than prose. When you read it, you must proceed carefully and consider the meaning of each word, and each group of words, and pay attention for double meanings and allusions if you are to grasp it fully.

Comments
No Comments »
Categories
Programming
Trackback Trackback

Fortran turns 50

andi | 2007/12/27

Fortran, the first higher level programming language turned 50 this year. It was created to let non-computer scientists formulate their problems in a more natural language than assembler code. Hence the name is an amalgamation of the term “formula translator”.

There has been a BBC Radio show observing the anniversary. And for the historically interested, there is an interview with John Backus, the team leader developing the first version from 1979. Telepolis has an article (in German) too.

Comments
No Comments »
Categories
Programming
Trackback Trackback

Twenty years of Perl

andi | 2007/12/21

Eight stories of how people got into Perl programming. Eight stories of highly successful hackers. Eight stories of what could have been about any other language but happens to be Perl.

Happy 20th anniversary Perl!

Comments
No Comments »
Categories
Programming
Trackback Trackback

Anonymity abolished

andi | 2007/12/13

Interesting article from Bruce Schneier on Wired:

Parts of the dataset of the Netflix prize have been de-anonymized. There have been other successful de-anonymizations of public datasets but most of the time it was caused by a sloppy anonymization process. This time it’s different. It is an inherent problem of the data, so even sophisticated randomization of the data would not have made a real difference: the data in the dataset of Netflix can be linked directly to user content on publicly available websites. This reveals the fundamental issue within; the data users leave willingly or unwillingly can be reassembled wether they like it or not.

Comments
No Comments »
Categories
IT
Trackback Trackback

Larry Wall’s Opinion on Scripting Languages

andi | 2007/12/07

Larry Wall has written a post on scripting languages titled “Programming is Hard, Let’s Go Scripting…” in which he challenges the preconception that programming and scripting are different endeavors. As always Perl 6 is at the core of the message. And as always it’s worth reading.

Comments
No Comments »
Categories
Programming
Trackback Trackback

Updating FreeBSD

andi | 2007/11/12

Colin Percival wrote two comprehensive how-tos on keep FreeBSD updated.

The first is for minor upgrades, the second for major version changes.

Very neat thing, this freebsd-update tool, indeed. But beware, it only works for Releases and only with generic kernels, so perhaps you are in for a make && make insallkernel && make installworld routine for one last time.

Comments
No Comments »
Categories
FreeBSD
Trackback Trackback

No acronyms

andi | 2007/11/09

This is great: ISO and UTC are neither acronyms nor initials, more like kind of false friends.

Comments
No Comments »
Categories
IT
Trackback Trackback

The best programming language

andi | 2007/11/07

So again the question about the best programming language was put up. This time for an aspiring 13-year old.

The answer given by Ned Batchelder is concise and in my opinion a great starting point not just for children. The main point is that there is no single best choice and that the language would be a means to an end and not an academic pursuit in itself. This is quite close to the general definition of a sound choice of a programming language and every developer should ask himself this question for every job at hand!

Comments
No Comments »
Categories
Programming
Trackback Trackback

Test coverage

andi | 2007/10/31

Testing, especially when doing test driven developement, is only effective if the tests cover 100% of the code, i.e. running all tests means all of the production code has been executed.

But coverage testing is not so easy as it seems. One can give simplistic examples which have 100% test coverage but still are buggy. The reason is simple: branching (and combination of paths) can produce a plethora of possibilities. But once every line of code is executed once, by definition, the coverage is 100%, although not every permutation has been tried.

An introduction to this topic can be found in Ned Batchelder’s blog, more at Wikipedia and here.

Comments
No Comments »
Categories
Programming
Trackback Trackback

Over-engineering

andi | 2007/10/30

A roundup on the old struggle between too simple and too complicated development strategies: On the one side there are the quick fixes on the other the overly perfect designs. Obviously, these extremes are rarely reality but a constant threat to every project.

Keeping the design simplicistic means risking extensibility and maintainability. Even though it’s easy now, no one will remember the ad-hoc decisions made during coding.

The opposite extreme is over-engineering, the fiddling with the design to make it even more pluggable or extensible or use the newest patterns. Especially seasoned developers are prone to this behavior.

To counteract these extremes and in particular the second there is the “Make it Work First!” motto. It helps to get a first look and feel of the program while requiring to keep an eye on the ease of refactoring since the first version will have to be modified almost surely.

Comments
No Comments »
Categories
Programming
Trackback Trackback

« Previous Entries

Navigation

  • Editorials (10)
  • FreeBSD (42)
  • IT (42)
  • Programming (56)

What I'm reading

Blogroll

  • Christoph Weber’s WeberSeite
  • Mark Hofstetters Homepage
  • Quics
  • Radausflug Panamericana
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox