Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jganetsk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
601.
▲
by
jganetsk
18y ago
For once, just once, I would like to see someone compare apples to apples: OO vs corresponding encapsulation techniques in functional languages (abstract data types, ML-style modules/functors, Haskell-style typeclasses). In case anyone was
602.
▲
We Are All Socialists Now
(newsweek.com)
2 points
by
jganetsk
18y ago
|
0 comments
603.
▲
The Canadian Solution
(newsweek.com)
38 points
by
jganetsk
18y ago
|
34 comments
604.
▲
by
jganetsk
18y ago
the federal reserve (or your countries equivalent) This can be simplified to the phrase "the central bank".
605.
▲
by
jganetsk
18y ago
That the amount of debt in the world grows unchecked. The video did not do a great job of explaining what happens when debt is repaid. Let's say that the amount of bank-created money is defined as the total amount of money in everyone's acc
606.
▲
by
jganetsk
18y ago
The numbers in his example of fractional-reserve banking are wrong. With an original cash deposit of $1111.12, and 10% reserve requirement, you should end up with $10,000 of total credit. 90% of the $1111.12 gets loaned out, but goes right
607.
▲
Programming Languages Grand Challenges for 2009
(plgrand.blogspot.com)
4 points
by
jganetsk
18y ago
|
0 comments
608.
▲
by
jganetsk
18y ago
No, it will be ensured at run time, as all unboxing happens through pattern matches (which, btw, is EXACTLY what happens with a dynamically typed language). For example, I can define... (+) :: Dyn -> Dyn -> Dyn (+) (I x) (I y)
609.
▲
by
jganetsk
18y ago
Oh, I see... we're talking about Visual Basic: "Dim X as Variant". Well then, Paul Graham is right. That is a provincial spelling of "dynamic typing". Incidentally, I don't think variants in the Hindley-Milner sense of the word get nearly e
610.
▲
by
jganetsk
18y ago
Unfortunately, Joel is so provincial that he doesn't know how to spell "dynamic typing", spelling it "variants". Paul Graham is so provincial, he doesn't know that "variants" is one of the most powerful features of static typing. http://
611.
▲
by
jganetsk
18y ago
Weebly, a YCombinator startup, was made by PSU IST students. I was a PSU CSE student. I'm jealous.
612.
▲
by
jganetsk
18y ago
And that man would absolutely love it if Java had a type system closer to Hindley-Milner with type inference. But, given the reality of Java, generics become undesirably verbose.
613.
▲
by
jganetsk
18y ago
Polymorphic functions are naturally self-documenting. What you are describing is not polymorphic. The paper "Theorems for free" describes this: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.9... Here's an example... let's say
614.
▲
by
jganetsk
18y ago
Monetization should make or break every company that ever existed. It's silly that there are companies that can't monetize but are considered "successful".
615.
▲
by
jganetsk
18y ago
Erlang has lots of pattern matching.
616.
▲
by
jganetsk
18y ago
What's wrong with accumulators? They are useful for transforming head-recursive code into tail-recursive code. Granted, accumulators can't really improve code that traverses trees. But for code that traverses lists, like zip... accumulators
617.
▲
by
jganetsk
18y ago
Or you could have titled it "Why using X makes me a worse software engineer" seeing as that's your conclusion.
618.
▲
by
jganetsk
18y ago
The title is "Why X makes you a worse progarmmer" Then his conclusion: "I have no doubt that in general I am a better programmer for learning these languages..." Um, hello?
619.
▲
by
jganetsk
18y ago
About your last point: return (a ? ... : ... );
620.
▲
by
jganetsk
18y ago
"And a study at Rotterdam's Erasmus University showed that boys whose mothers had been exposed to PCBs grew up wanting to play with dolls and tea sets rather than with traditionally male toys." Stop the presses. The world is coming to an en
621.
▲
by
jganetsk
18y ago
Agreed. Languages like OCaml are actually higher-order imperative languages. They have a very rich, expressive system of "values". A value can be a function value, partially un-curried, and closed over arbitrary data. They can also be data
622.
▲
by
jganetsk
18y ago
Research into statically typed functional languages approaches this question, and generates some pretty good insight. It turns out that OO is sort of a religion... just one approach to modularity and abstraction. Languages like ML and Haske
623.
▲
by
jganetsk
18y ago
When Jefferson was running for President... his opponents would smear him by calling him a "howling atheist". Jefferson was deeply repulsed by Christianity, read his quotes: http://www.nobeliefs.com/jefferson.htm
624.
▲
by
jganetsk
18y ago
This is why I left Pittsburgh.
625.
▲
Amie Street redesign
(techcrunch.com)
2 points
by
jganetsk
18y ago
|
0 comments
626.
▲
by
jganetsk
18y ago
I worked on some visual search stuff. http://www.diamond.cs.cmu.edu/ Then I dropped out of grad school.
627.
▲
Amie Street to release 1 million mp3s with community-based pricing model
(techcrunch.com)
2 points
by
jganetsk
18y ago
|
0 comments
628.
▲
by
jganetsk
18y ago
I'm not trying to solve every problem. I'm just trying to solve browsing the list of threads. So, I'm not talking about reply. I'm not talking about links. Just giving me the main list of threads, that's why I wanted to call it "browse cont
629.
▲
by
jganetsk
18y ago
Disclaimer: I haven't looked at the source yet. My particular example was for browsing the thread list. Let's s/continuation/browse context/. You can generate exactly one browse continuation a minute, and hand that one out to everyone who v
630.
▲
by
jganetsk
18y ago
I'm not the one who keeps modding this thread up.
More ›