-9 karma · joined May 2, 2015 (11y ago) · 22 submissions
comment 11y ago · link · parent
comment 11y ago · link · parent
...ok back to reading the rest of the posts!
comment 11y ago · link · parent
Exactly, i bet when this guy wrote his blog post he used backspace more than once. No idea why he thinks git is any different.
I commit all kind of garbage while developing: stackoverflow references, commented code examples, temp commits when i have to leave in a hurry, etc... rebasing --interactive + merge (with optional no-ff if you hate linear history) is a must and basic respect for your colleagues.
You can cook naked if you want but i dont want to see your pubes in my meal.
comment 11y ago · link · parent
brb compiling linux to JS to render my blog post.
comment 11y ago · link · parent
C - Pretty much everything is built on top of C right now.
Javascript/html/css (using Flow to add a robust type system, since dynamic typed languages are shit for long term ease of development)- Required if you want to do anything web plus its the only true cross platform GUI to use on top of your F#.
comment 11y ago · link · parent
I wouldnt call Java an "advanced type system". Take a look at Idris then try to say that with a straight face:
>Because neither an advanced type system nor static analysis could catch bugs in program logic
It certainly does if you indeed use an advanced type system.
comment 11y ago · link · parent
function execute($order, $callbacks){
foreach($order as $i){
$callbacks[$i]();
}
}
function abcProcs(){
foreach(func_get_args() as $f){
eval("function $f() { echo '$f'; };");
}
}
abcProcs("A","B","C");
execute([0,0,1,2,1,2], ['A','B','C']);
edit:you don't have to quote the function names (just to show they are really functions and not closures):
execute([0,0,1,2,1,2], [A,B,C]);