Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Roboprog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
361.
▲
by
Roboprog
9y ago
You have not spent much time on soundcloud or the like then? Most of it lacks polish, but there is still a lot of good, fun, stuff being made in many genres.
362.
▲
by
Roboprog
9y ago
EDM? (Electronic Dance Music) Or am I missing something and EMD is not a typo (quite possible)?
363.
▲
by
Roboprog
9y ago
One issue I have with this JS tutorial is that it spends little to no time talking about FP, just OOP (functional vs object-oriented programming). What text it does devote to Closures makes them sound like a "problem" to be worked
364.
▲
by
Roboprog
9y ago
As many useful things as there are in ES2015 (and beyond!), it's probably worth pointing out a few "corporate" environmental constraints that might limit one to ES 5.1: * IE11 isn't dead yet. MS still supports it. * The
365.
▲
by
Roboprog
9y ago
... and the Smalltalk gangs squares off to rumble with the Simula67 gang :-) (meanwhile, Scheming away in the background ...)
366.
▲
by
Roboprog
9y ago
That's what fixed precision types are: integers + a scale factor -- whether it's cents, mils or something else. Javascript does badly need a native fixed precision type beyond "everything is a double" or some web assembl
367.
▲
by
Roboprog
9y ago
I can't see most "Info Services" type management buying into something requiring that level of effort prior to having anything to show for it. Right or wrong, just sayin'.
368.
▲
by
Roboprog
9y ago
Dynamic types can be more problematic to modify, but many of us find them easier to read: assume that the code actually worked and does something reasonable, now skim for the gist of it (without having to see a bunch of extra detail). Assem
369.
▲
by
Roboprog
9y ago
Disclosure: using JS for UI work, not nuclear reactor controls. Hate reading reams of verbose, flabby, painfully explicit, long, statically typed (often believed to be "self documenting", as well), code. Prefer short, intuitive
370.
▲
by
Roboprog
9y ago
Thanks for the article link. I love that "late binding" is listed as a flaw. Some would call that a feature. Those of us in the "some" must be wired a bit differently that the "early binding" crowd, I guess :
371.
▲
by
Roboprog
9y ago
So it sounds like a monoid is a: Function of arity-2 (possibly expressed as an infix operator) Which is closed over the set of values that are its arguments/parameters For a domain (set of input values) which contains a value that conv
372.
▲
by
Roboprog
9y ago
Interesting point. It's hard to prove theorems without the [correct] axioms. I suppose what our field needs to do is some "triage" categorizing aspects of systems that MUST be "defined and proven" vs those that can
373.
▲
by
Roboprog
9y ago
How many frustrated developers are identified as "arrogant"? I for one am tired of OOP (a la Simula 67) presented as the be-all and end-all :-( The functional programming guys were right, and C++ set back the industry several deca
374.
▲
by
Roboprog
9y ago
Not that I'm that enamored with Scala, just that Java sets the bar so very low.
375.
▲
by
Roboprog
9y ago
Forgive me if I read this article as "Scala vs Java", since I'm on the JVM instead of .NET :-)
376.
▲
by
Roboprog
9y ago
Some might also argue that "private methods", which are visible to every other method in a class, are a bad thing, rather than making a nested function within the only function / method that used said code. One of the things
377.
▲
by
Roboprog
9y ago
If the function is large, sure, make it into it's own name thing (with as restricted a scope as you can get away with). However, many languages support callbacks/lambdas/closures/blocks as parameters to generic library c
378.
▲
by
Roboprog
9y ago
Good point. Most of these "look how much better we did with X tool" comparisons usually have a strong sample bias in that the X team are highly motivated and talented. X probably does help them quite a bit, but perhaps not as mu
379.
▲
by
Roboprog
9y ago
Few people are injured when a software sweatshop screws up, at least until the software gets out into the wild and fails a critical purpose. Running a factory with heavy machinery might be a different beast, o ye masters of the office hell
380.
▲
by
Roboprog
9y ago
I hear you about the audio part. I do electronic music as a hobby - I'm not much of a keyboard player, but I do a lot of editing and tweaking using a digital audio workstation program (DAW). Whenever I look for stuff in user forums, i
381.
▲
by
Roboprog
9y ago
re: timeout. Yeah, waiting for one (or many!) other async operation(s) to complete in response to an event is a nuisance, but that's how it works, in particular if you don't want a UI to freeze up. Full stack is hard, at least if
382.
▲
by
Roboprog
9y ago
On the one hand, argumentum ad hominem is a logical fallacy. On the other hand, expecting not to be bit after the last dozen times seems kinda stupid. I'm not a fan of MS.
383.
▲
by
Roboprog
9y ago
Exactly. Because... It started out on... That Novell drive ... but then... That Win95 share ... Samba ... Wiki ... Sharepoint ... nah, let's start using Confluence now etc.
384.
▲
by
Roboprog
9y ago
If you have it, it's nice to have a build/CI server that has a UI showing all the projects in a dept/work-group and where they come from in source control.
385.
▲
by
Roboprog
9y ago
Don't forget that JS is often in a UI, doing asynchronous event/IO handling, so testing timing is important, not just spelling. (great, that's exactly the property names that object would have had, if it existed yet) That,
386.
▲
by
Roboprog
9y ago
> Dynamic languages just don't scale to large codebases Static languages scale to large codebases. There's no app that a static language (and those who insist on static types) can't turn into a much larger codebase :-) I
387.
▲
by
Roboprog
9y ago
Let me try again. Don't rename properties that "escape" from a given context. Sorry, but it's not going to be a good use of your time. Do document (JSDoc or similar) what the property is used for and why (as far as you
388.
▲
by
Roboprog
9y ago
:-) Or non-generalized, custom hard-coded static typed end-points for every single reference/option list and workflow state transition. Welcome to our little "full 'big bang' rewrite" Frankenstein 4.0 :-( Not my ide
389.
▲
by
Roboprog
9y ago
Contributing factor: thinking in terms of Simula67 / C++ / Java / C#. (stop doing so) Since property names are dynamic, avoid making data global (singletons, et al) at all costs, to limit the amount of string searching and
390.
▲
by
Roboprog
9y ago
Something to be cognizant of when creating this "keystone" doc - not losing it on some "share" that nobody can find anymore. Thus, the use of README in the root directory of a project.
More ›