The one thing I really like in react is the composability. I haven't seen a mechanism a nice in elm like the virtual dom
Im not familiar with react, and im not quite sure what you mean by that, but elm html is based on virtual-dom...
HN user
The one thing I really like in react is the composability. I haven't seen a mechanism a nice in elm like the virtual dom
Im not familiar with react, and im not quite sure what you mean by that, but elm html is based on virtual-dom...
I think we found a feminist blogger news reporter.
I got excited for a short second http://helm-engine.org/
Its the first blog i have bookmarked in years. I just couldnt stop reading all the previous posts. Every post is full of interesting content not just empty useless rants. This is quite the change from the typical wannabe philosopher blogs "durr web is broken." or "10 Things To Know When Making Web App in <yyyymmdd>"
...ok back to reading the rest of the posts!
It's not about faking anything, it's a question of what information you want to leave for posterity
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.
I wouldnt take any advice on web dev from someone if his simple blog looks like this http://i.imgur.com/uHi0g0Z.png
brb compiling linux to JS to render my blog post.
And .net runs on linux with mono or the new .net core plus its open source.
Getting runtime errors.
But seriously if you want something quicker than c# for prototyping just switch to F#. Ruby has only downsides.
F# - Functional language where you can cheat more than haskell if you need to. Can use all the .net ecosystem and works everywhere (linux, windows, mobile, can compile to js.)
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#.
The benefits of static typing (complie-time checks) are grossly exaggerated. If the claims were true, Java itself and Java projects would be much less buggy
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.
more like Frankenwebsite, white page if no javascript for a simple blogpost... pass
Hey i can do that in $php too!
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]);