Page 2 of 2

Posted: Sat Mar 15, 2008 5:37 am
by AJ
I'm sure something similar has been posted on the forums before, but have a look at -> this < -.

Oh - and while I'm posting daft links, try this one too
Cheers,
Adam

Posted: Sat Mar 15, 2008 11:17 am
by Meor
binutils wrote:Any recommendation of another programming language?
now these day pl projects boom seems over.
Eiffel.

Posted: Sat Mar 15, 2008 4:41 pm
by nekros
I am really interested in PL design and implementation along with OS development, I'm torn between the two.

Posted: Sat Mar 15, 2008 6:39 pm
by nekros
Well, since I am rewriting my kernel, I have decided to first create a PL to write it in. Wish me luck. :D

Posted: Sun Mar 16, 2008 1:28 am
by B.E
imho i think that this language is what's the word for it, horrible worse than VB (and that's saying something).

Posted: Sun Mar 16, 2008 11:33 am
by Paw
B.E wrote:imho i think that this language is what's the word for it, horrible worse than VB (and that's saying something).
Would you please point out what makes you come to that conclusion?

Posted: Mon Mar 17, 2008 4:24 am
by B.E
Paw wrote:
B.E wrote:imho i think that this language is what's the word for it, horrible worse than VB (and that's saying something).
Would you please point out what makes you come to that conclusion?
It's syntax is horrible to read. It's looks like their've added random features from random languages.

Posted: Mon Mar 17, 2008 7:05 am
by Combuster
My biggest concern is that it lacks typing, and therefore doesn't promote proper coding at all. (as well as being very error prone)

Posted: Mon Mar 17, 2008 7:40 am
by Paw
Well, I don't like much the syntax either, because a couple of things are too complicated to express, but it is far from being horrible or unreadable.

This language doesn't lack typing, either, because similar to scripting languages like PHP or JavaScript, a variable is typed through the data it contains, and its type can be queried with language constructs like typeof, instanceof etc.

You *can* properly and quite elegantly code with such languages, but usually this requires some experience with strongly typed languages and programming in general, in order to avoid surprises.

Due to my profession, I have to code a lot in scripting languages, and I quite enjoy the flexibility they provide.

Posted: Tue Mar 18, 2008 12:54 am
by B.E
It's not that it doesn't have types, it's the way functions are declared. Moreover there is no easy way to say that there must me x args to this function.

Posted: Tue Mar 18, 2008 6:20 am
by Paw
B.E wrote:It's not that it doesn't have types, it's the way functions are declared. Moreover there is no easy way to say that there must me x args to this function.
My point about data types was meant to counter Combuster's statement. I agree with the function declaration in terms of function arguments. There should be an option for explicitly declaring them. Blue's way of handling it is quite clumsy.

However, I see no problem in defining functions through an assignment. That way you can easily switch functions for changing the program's behaviour, pass functions as arguments to other functions (e.g. for registering an event observer or for specifying a function which processes a data set) and return functions as a result (e.g. for creating new event handlers on the fly).

I know this can be done with function pointers as well, but it's a matter of syntactic sugar.
This concept is heavily present in ECMAScript, but way better executed there.