Better HN
topnewbestaskshowjobs
Log inSign up

opvasger

46 karma · joined Sep 18, 2016 (10y ago) · 27 submissions

Submissions

comment 4y ago · link · parent

UUID, as the name implies, is used for identifiers - You know this.

These use-cases you're implying seem to be the real problem.

comment 4y ago · link · parent

unreadable title - jesus! :P

comment 4y ago · link · parent

it's sort of funny - I expect Java in the browser not to work well (as it didn't, historically)... And sure enough - the site returns a 502 error :P

comment 6y ago · link · parent

provocative blanket statements like "the real world is immutable" (or otherwise) aren't correct, nor healthy.

Some problems are more easily dealt with using tools like immutability, or mutation for that matter.

as with all things in software - it depends.

comment 7y ago · link · parent

> The root cause of bad software has less to do with specific engineering choices, and more to do with how development projects are managed.

...While I do agree that "project-management" is important, I think the tools we are using today are really underpowered to deal with complexity/human-error - Which is the bigger problem IMO.

comment 7y ago · link · parent

I have a beef with the title of this library...

comment 7y ago · link · parent

When people write "persons", my head starts spinning.

comment 8y ago · link · parent

YES - thank you!

comment 9y ago · link · parent

My clients get to render their own html - it's not really that bad if you bundle, split and cache the code.

comment 9y ago · link · parent

Fear-mongering?

comment 9y ago · link · parent

I'm coming at this from the Elm-camp, and my first impression (and largely why I think languages like Elm is promising) is how languages that are implemented as supersets of other languages have the potential to be as bad as their subsets.

The example that I was given was C++ and C, but I think TypeScript with it's gradual-typing approach is forced to remain potentially as bad as JavaScript itself - that is, if you're feeling weak and want to "get shit done", you can bypass all the goodness that TypeScript undeniably offers you.

For a language like Elm, the type-system is invariably gonna have your back - a value-proposition I think means a lot more in practice than some self-proclaimed pragmatists realize :)

comment 9y ago · link · parent

Haha - I'm simply stating that I'm excited to do it and not for it to be possible :P

comment 9y ago · link · parent

C# & Java has anonymous functions, but not 1st-class functions AFAIK

EDIT: but then again, they truely are of no use :P hehe

comment 9y ago · link · parent

I'm excited to use higher-order functions in C someday :)

comment 9y ago · link · parent

I don't think annonymous functions have anything special to do with FP or OO for that matter. Maybe someone can fill in on this?

In my mind, functional programming is about programming with mathematical functions - Purity - No arbitrary effects being thrown around - Input to output... Ba-Da-Boom-Ba-Da-Bing.

I find this much more valuable as a restriction from the runtime than as a guideline that can be ignored whenever deemed convenient.

That being said, I wouldn't have a job if I couldn't compromise on this :(

Is there any way to enforce some purity in F#? Does the type-system annotate effectfulness?

comment 9y ago · link · parent

This seems inspired and perhaps even duplicated from what Rich Hickey recently said about Semantic Versioning (found here: https://www.youtube.com/watch?v=oyLBGkS5ICk)

I really enjoy how the package-manager for the Elm programming language automates semantic versioning by diffing your apis based on the type system.

I think a bit part of the real criticism of SEMVER stems from this inability to either automate it or use it correctly.

Hickey's discussion of the subject obviously has a lot more great points to it, and even when I don't agree, I can't help to enjoy listening :)

comment 9y ago · link · parent

"isomorphic javascript"... I thought we had moved past that :(

comment 9y ago · link · parent

Not even a mention of functional programming? Makes me wonder

comment 9y ago · link · parent

I feel like commenting on the callbacks and variable-bound-contexts, and saying something about the glorious wonder of modern JavaScripts... better not, tho :)

comment 9y ago · link · parent

Applied tool - Babel?

comment 9y ago · link · parent

This might be cool for something like Elm? :) maybe even implement it in Elm with something like the Electron project?

comment 9y ago · link · parent

exactly my thought, having dug into GraphQL recently and seen a number of talks about it.

Getting over the annoyance of looking at some initial functionality that is misplaced can be quite hard... It's really tempting to just get rid of those as you're bumping up the MAJOR.

comment 9y ago · link · parent

"Nikola" Motors... "Java" Script.

comment 10y ago · link · parent

Sandy is wrong.

comment 10y ago · link · parent

Try the Elm programming language - it should save you the trouble of dealing with the explosion of JavaScript frameworks. It is designed with learning in mind, and should provide a really direct path to high quality front-end code.

http://elm-lang.org/