Viewing profile — jawher
jawher
HN member- Joined
- Sun, Jul 11, 2010, 10:00 PM UTC
- HN karma
- 82
- Public activity
- 43 items
- HN profile
- View on Hacker News ↗
About jawher
No profile information was provided.
Recent public activity
- story
-
comment
Comment #19449795
May I suggest you give https://github.com/jawher/mow.cli a look/try ? Disclaimer: I'm the author of mow.cli ;)
-
comment
Comment #15719865
Thanks for citing mow.cli [1] and glad you're liking it! And you are spot-on regarding closures: it was a design choice made expressly for the purpose of being able to: - scope com…
-
comment
Comment #8967528
docopt() does few things and does them well: * parse the call arguments and split them into options and arguments * perform a very basic validation, i.e. handle the options which t…
-
comment
Comment #8967468
Parser combinators would certainly have been easier for me, the library author but not necessarily so for the end user. Contrast how it is done now: [-R [-H | -L | -P]] [-fi | -n] …
-
comment
Comment #4757274
> Nice hand-waving of an argument, by throwing a useless Wikipedia link in there as some kind of appeal to authority No need to get agressive over this :) I disagreed with your fir…
-
comment
Comment #4756938
> The JVM, at its core, is not working with static types. The bytecode itself is free of static types, except for when you want to invoke a method, in which case you need a concret…
-
comment
Comment #4685965
> BUT that is happy to let you write a Windows program or a Mac program or a Linux program if that's what you want. Care to explain the last bit ? Because Java also lets you invoke…
-
comment
Comment #3730985
Is it just me or does anybody else think that polluting your code with debugging and logging informations is not such a good idea ? I understand the value of these informations, bu…
-
comment
Comment #3730949
> Maven is a bad dependency/package manager because of the complicated nuance What nuance ? >XML Fair point. I don't know what they were thinking when they decided not to use attri…
-
comment
Comment #3278516
Can't you take te same approach ClojureScript took, i.e. to generate a straitforward translation to JavaScript, and then let Google's closure compiler take care of the optimizing t…
-
comment
Comment #3262663
While I share your enthusiasm, I'd like to point out some problems with "Sending rovers to all the planets": 4 of them are gaseous giants, literally no solid ground to land on. Ven…
-
comment
Comment #3008288
That depends on what kind of products you make: If it's a website, then you have absolute control over what stack and database to use. But if you're selling any kind of app that ne…
-
comment
Comment #3007818
It's not just the SQL. There's also the mapping code between your objects and the SQL. for instance, for a select query: select first_name, last_name, login, email from users where…
-
comment
Comment #3007777
> This doesn't seem like an insoluble problem; rather than use an ORM to generate an impenetrable glue layer, it would be better to use code generation tools to create a clean data…
-
comment
Comment #3007752
It depends on the ORM you use, but I'm afraid it's not as simple as "you can later hand write SQL queries to speed things up". This will interact badly with the ORM's cache/transac…
-
comment
Comment #2909413
> The structural change is regular. That is you don't have to learn each name plural. Not all the time. And if they do, there still are subtle variations in suffixes. For example: …
-
comment
Comment #2903346
The answer to your first question is yes, a lambda is always assigned to a SAM type. As to your second question, yes, you can cast a lambda to explicitly specify it's target SAM ty…
-
comment
Comment #2903322
Even Java has the Void type, meaning you can write: Function It's a bit shady though as you still have to return a value from the body of the method, and that value has to be null.…
-
comment
Comment #2902884
To the best of my understanding, lambdas-as-objects would mean providing structural types, i.e. generic function types that are able to describe the structure of a lambda (argument…
-
comment
Comment #2870663
On why you might not want to mix your markup with the templating logic (copied from a blog post I wrote a while back [1]): - Designers and developers will have a hard time working …
-
comment
Comment #2857847
There is also http://www.goodreads.com/ , a feature packed (maybe too much) and a generic (as in not tied to any reading app/device/mode) ... how shall I put it? reading management…
-
comment
Comment #2854163
Beating the averages: http://www.paulgraham.com/avg.html
-
comment
Comment #2832756
Thanks !
-
comment
Comment #2831393
Genuine question: What does Sencha (a JS UI lib) have to do with Edge (an IDE) ?