Comments for HLib DHTML cross-browser API

30 Sep 2001 12:20 andorxor

Re: please add semicolon

> Javascript allows you to end a statement
> without, but I think it is good
> programming practice to end your
> statements with it. Is it a Python habbit?


You could call it a Python habit. After having programmed in Python and some functional languages, I don't use semicolons where they aren't required. I think that makes the code more readable. It's mainly a question of taste, nothing one should argue about (and nothing that constitutes a good or bad programming habit, IMHO). But I can understand that people which come from C or Java are a bit irritated at first.

However, I hope that this coding practice doesn't deter you from having a serious look at HLib :-)

30 Sep 2001 11:04 madmag

please add semicolon
Javascript allows you to end a statement without, but I think it is good programming practice to end your statements with it. I see that most of this project's code doesnt use ; to end the statements. Is it a Python habbit?

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.