Re: [OT] Re: C Syntax
> Well, I had to place more IMO's, but check this:[color=blue]
>
> foo = lambda x, y: [str (i+j) for (i,j) in zip(x,y)]
>
> Well, it's not very clear, but how many lines of code in C
> would be required to reproduce it? Types of x and y can be
> either lists of lists, lists of strings, lists of numbers
> or strings. And it maybe used for all that stuff.
>
> I don't understand, how several dozens lines of code can be
> better than ONE line of code in non-esoteric language.[/color]
Now one question arises: What exactly does this piece of code do?
--
cody
[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
> Well, I had to place more IMO's, but check this:[color=blue]
>
> foo = lambda x, y: [str (i+j) for (i,j) in zip(x,y)]
>
> Well, it's not very clear, but how many lines of code in C
> would be required to reproduce it? Types of x and y can be
> either lists of lists, lists of strings, lists of numbers
> or strings. And it maybe used for all that stuff.
>
> I don't understand, how several dozens lines of code can be
> better than ONE line of code in non-esoteric language.[/color]
Now one question arises: What exactly does this piece of code do?
--
cody
[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
Comment