Yeah, yeah, I know that PHP is really easy already, but certainly people could go one step further and make web programming even easier!
Yeah, that's true, but there needs to be something that will encourage amateur webmasters who think they're too stupid to learn a programming language. We've already got enough powerful languages out there. Now we need one with a low learning curve.Originally posted by hohoho
the problem with easier languages is that they don't have as much functions / they are not as powerful as the harder ones ...
what do you mean by that?Originally posted by conkermaniac
how come they're aren't any functional or logical programming languages used on the web?
Yes, I agree that PHP is very easy, but some things are unfriendly for beginners, especially the semicolons and the use of == in conditional statements. I think there should be a programming language aimed at getting more people into the world of programming.Originally posted by Canuckkev
I don't think it gets any easier than php. Php has functions built in for everything. All you need to know is the very basics about variables and whatnot...and then use php.net to search for functions. Very easy.
qsort [] = []
qsort (x:xs) = qsort elts_lt_x ++ [x] ++ qsort elts_greq_x
where
elts_lt_x = [y | y <- xs, y < x]
elts_greq_x = [y | y <- xs, y >= x]
qsort( a, lo, hi ) int a[], hi, lo;
{
int h, l, p, t;
if (lo < hi) {
l = lo;
h = hi;
p = a[hi];
do {
while ((l < h) && (a[l] <= p))
l = l+1;
while ((h > l) && (a[h] >= p))
h = h-1;
if (l < h) {
t = a[l];
a[l] = a[h];
a[h] = t;
}
} while (l < h);
t = a[l];
a[l] = a[hi];
a[hi] = t;
qsort( a, lo, l-1 );
qsort( a, l+1, hi );
}
}