Message from JavaScript discussions

February 2019

— Https://github.com/d3/d3-force

— 

Just something like

if (failureCondition) {
return 1;
} else {
return 0;
}


and

int error = foo();
if (error) {
// handle a failure
}

— Okay, thanks.

— 1 and 0 are the most universal status codes in C

— 1 for failure, 0 for success

— Soooo my solution is way better than the first ? https://repl.it/falkyouall/NumberToStringv2?language=javascript&folderId=

Message permanent page

— This is neo4j client

— Just use neo4j

— And you get it out of the box

— So where do you get the return value?

— You return it

— But you're already using return for status code