Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
timclark
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
timclark
15y ago
You don't have to create an interface! One of my favourite interview questions is why do you use interfaces in Java? The majority of people I interviewed said that it a good design used interfaces and had nothing more to say. In code review
122.
▲
by
timclark
15y ago
Typically gofix just works, well that is my experience of running gofix three times over the six last months. The release notes document when the language has changed and when gofix can help you migrate, and sometimes it can't help and it i
123.
▲
Thoughts on embedding links in JSON
(mnot.net)
2 points
by
timclark
15y ago
|
0 comments
124.
▲
Pub Rules
(inessential.com)
1 points
by
timclark
15y ago
|
0 comments
125.
▲
by
timclark
15y ago
Fantom is an interesting language go and try it out! I don't think it has much traction but it is simple, easy to understand and contains some thought provoking ideas. You can get to know most of the language and most of the built in librar
126.
▲
by
timclark
15y ago
Shouldn't that be as simple as func bar() [10]foo with var a [8]foo = bar giving an error like cannot use bar() (type [10]foo) as type [8]foo in assignment Is it necessary to use Peano arithmetic to specify a simple type in a general purpos
127.
▲
by
timclark
15y ago
Kotlin also seems to be addressing the issue of modules ( http://confluence.jetbrains.net/display/Kotlin/Modules+and+C... )
128.
▲
by
timclark
15y ago
Ok, so can I express that this method returns a collection of a single type and that collection always contains 10 items?
129.
▲
by
timclark
15y ago
Haskell has typeclasses which would probably correspond to structural typing in Scala. This type signature: Functor f => (a -> b) -> f a -> f b Defines map for any type that implements the type class functor. Lots of types w
130.
▲
by
timclark
15y ago
What can you express in Scala that you can't express in Java?
131.
▲
by
timclark
15y ago
Can you explain the scala type signature for map? I see no container declared and it is less than obvious to me how it actually represents map across a container. I guess it is the implicit?
132.
▲
by
timclark
15y ago
Is it easy for programmers of all abilities to understand and use? Will I still understand my own code in 9 months time? I think that their is more to being a good language than a list of features.
133.
▲
by
timclark
15y ago
Not only dynamically typed languages, the signature would also look remarkably close to (a → b) → [a] → [b] in ML and Haskell. Your ML and Haskell compiler would also make check that it was called correctly at compile time without extra uni
134.
▲
by
timclark
15y ago
My personal experience in wrapping non-trivial Java libraries in Scala and Clojure is that with Clojure it usually just works and it works quickly. In Scala I am usually reduced to an extra hour or two of adding manifests to signatures unti
135.
▲
by
timclark
15y ago
Steve's remarks on concurrency seem a totally fair observation to me, don't a large number of functional languages deal with concurrency through immutability and support that at the language level - I can think of Clojure, Erlang, Haskell,
136.
▲
by
timclark
15y ago
I always shudder when people say it is just a simple integration project. The arrows are the hardest part.
137.
▲
BBC conspire to bring DRM to UK television
(guardian.co.uk)
5 points
by
timclark
15y ago
|
0 comments
138.
▲
How not to build a mapview
(techcitymap.com)
2 points
by
timclark
15y ago
|
0 comments
139.
▲
Simple but practical cable storage
(blog.invisible.ch)
1 points
by
timclark
15y ago
|
0 comments
140.
▲
by
timclark
15y ago
Go works on windows.
141.
▲
by
timclark
15y ago
This is Haskell esoterica, any value can set as undefined an equivalent value to null. However, you never see code using undefined as null since Maybe a is so much clearer.
142.
▲
by
timclark
15y ago
Aaaarghhh! It is full of semicolons. Is it really necessary in the 21st century to create a language that terminates lines with semicolons? I am sure I have seen some other languages in the past that get by just fine without them.
143.
▲
by
timclark
15y ago
http://andrewwilkinson.wordpress.com/2011/09/29/beating-goog... - part two actually contains the interesting content.
144.
▲
by
timclark
15y ago
I particularly dislike classes called *Helper
145.
▲
Large hardware, large software, large bugs
(theregister.co.uk)
2 points
by
timclark
15y ago
|
0 comments
146.
▲
Thoughts on TDD with Clojure
(philcalcado.com)
2 points
by
timclark
15y ago
|
0 comments
147.
▲
by
timclark
15y ago
If F# worked well on Mono I would be using F# for a lot of my work, and F# isn't a million miles away from being OCAML.
148.
▲
by
timclark
15y ago
One of the easiest way to understand some of the mysteries of Clojure is to read the source, a large amount of Clojure is written in Clojure and the source for most functions is just one click away. I agree though, lots more examples would
149.
▲
by
timclark
15y ago
You really, really can't right click? Are you sure? How old is this Mac you are using?
150.
▲
by
timclark
15y ago
I got the same brush off from my Conservative MP.
More ›