Follow-up Comment #3, task #2614 (project savane):
utils_unixtime_to_date() is quite long to type and make big lines.
Could you add aliases like
utils_cleandate()
and
cleandate()
The problem with long function names that exactly states what they are
actually doing is the fact that by reading the code, you know exactly what
they do but you dont know exactly why you want to do things like that.
I think we should probably rename plenty of function that are too technical
in their meaning and yet unclear about when people should use them. The
consequence of that is that people tend to forget to use it because they dont
want to guess the intended usage of all functions.
With a thing like cleandate(), the guy working on the code not using
cleandate() will automatically guess he's not putting the date in the
cleandate() format we would want.
_______________________________________________________
Reply to this item at:
<http://gna.org/task/?func=detailitem&item_id=2614>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Savane-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-dev