Gleb Natapov wrote:
It's strange that write_val() and reset_val() return a value. Won't it
be cleaner to make val a pointer?
From functional programing POV no, it is not cleaner. But I don't really
care where to do assignment.
We're not doing functional programming:
a = f(a, x)
is just duplication, but still has an assignment.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html