Ok, I was a bit unclear. I meant there is no feature corresponding to Scala's implicits in any other language I know (including C++ and C#). They are a totally new, unique concept. Scala's implicits alone have "power" similar to inheritance in OO languages or templates in C++. They are not just another syntactic sugar feature (like there are many in C#) that saves you a few keystrokes.
So what? Will you post 3 worst of the worst things of any low level language?You keep bashing C++, but everything you just described makes me assume that you don't know what a low level language is and what evil means.
I've done tons of low level assembly code for 80C51, and coding for bare metal was so much easier. You just need some knowledge of electronics + a few schematics and a short reference of the instruction set. Things you can get into in a week or less. You could write a device driver in an hour and debug it by using oscilloscope.
Ah, I often get annoyed at PHP functions... they are inconsistent! For example:
This seems good so far, but then when you look at other array functions...Code:array_push($array, $el, $el...); // allows endless amounts of new elements
The first example, if you want to keep it so that it takes on an endless number of arguments that is the only format, however in_array could easily be switched around to make it more consistent and it would not effect anything.... I often times see my referencing back to php.net for functions I don't use as often.Code:in_array($el, $array);
Another, when drawling rectangles you supply the x,y of the top left corner and the bottom right corner... when drawling a circle you specify the x,y of the center of the circle and the height/width. I made a function to accept the x,y of the top left and bottom right corners and convert it, but this should also be consistent!
imagefilledrectangle()
ImageFilledEllipse()
On Common Lisp:
I'm sorry, I can't do it. I honestly can't think of anything I *don't* like in CL.
(EDIT):
Oh wait:
No proper socket libs
No way to write truly portable code - implementation specific is the best you can do
No easy way to include libs
On Perl:
Interpreted only - Big apps aren't practical.
Ugly code. *Very* ugly code.
Confusing, undocumented, several lines long regexp. For no apparent reason.
cpan modules that don't work.
Last edited by Red_Shadow; 03-03-2010 at 11:00 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks