Talk:Bellman–Ford algorithm: Difference between revisions

Content deleted Content added
sizeof
m In popular culture: new section
Line 32:
 
Comparing sizeof(int) and sizeof *distance form which both acomplish the same thing. The former form is much more idiom and recognisable to most programmers, the second is a less common form. Indeed the [http://publications.gbdirect.co.uk/c_book/chapter5/sizeof_and_malloc.html The C Book] says the form without brackets is rarely used. This particular instance is confusing for two reasons a) the * could be mistaken for multiplication b) as distance is declared on the same line it provokes the question as to whether the compiler knows about the size of *distance yet. If we are aiming more maximum comprehensability the former seems perferable. --[[User:Salix alba|Salix alba]] ([[User talk:Salix alba|talk]]) 00:55, 19 May 2007 (UTC)
 
== In popular culture ==
 
I don't know that this is encyclopedia worthy, but for folks working on this page, this might be an amusing reference:
: http://xkcd.com/69/
--[[User:JakeVortex|Jake]] 01:04, 11 September 2007 (UTC)