lelandbatey.com
Dev tools
code visualization
SHOW HN2017
How HN took it
3 positive, 10 neutral or asking, 2 mixed, 7 critical, out of 22 comments about the project. Thread score -0.18.
Idea: 3 for, 4 againstExecution: 0 for, 2 againstDesign: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Interesting and fun visualization idea
From 4 comments
Neat. I saw something like this recently in game form: Codeshapes http://teropa.info/codeshapes/
timpark on HNThis is better than the story link, I think. I found it impossible at first, but after a few rounds there were some clear clues like the block of imports at the top of a Java…
waisbrot on HNWhat immediately strikes me is Python's consistently high density compared to the other languages. This is something I've noticed before with well-written Python code; one can…
kevlar1818 on HNWhat's most striking is that there is not a lot of differences between the languages. C and Python are somewhat denser and php tends to be more spread out. But that's about it. I…
d--b on HN
Objections
Shapes reflect programmer coding style rather than the language itself
From 3 comments
Interesting project, but these silhouettes reflect the programmer's coding style not anything specific to the languages themselves.
otto_ortega on HNThese silhouettes reflect the programmer's coding style not anything specific to the languages themselves...
otto_ortega on HNThis is fun and interesting, but I don't think it says much about the various languages. Each of these languages can be formatted in a variety of styles. As one example, Rust,…
Stratoscope on HN
Sample is too small: one file per language, chosen by length
From 3 comments
It's not as if they generated some "average" code to make an apples to apples comparison, they arbitrarily grabbed files with very different purposes based on length. So really…
shawncplus on HNIt's a _very_ selective dataset, this doesn't show much. The idea's cool though
azeirah on HNWhat immediately strikes me is Python's consistently high density compared to the other languages. This is something I've noticed before with well-written Python code; one can…
kevlar1818 on HN
jQuery and other chosen files are not representative of current style
From 2 comments
jQuery is hardly a good benchmark for current js style. You'll find completely different shapes in other libraries.
ricardobeat on HNOne of the examples is the jQuery source code, but the long file shown isn't the actual source. The real source code is broken up into a number of much smaller files, and the…
Stratoscope on HN
Requests
Add functional languages such as Haskell, OCaml, Scheme
From 3 comments
I would be curious to see some functional languages examples, like scheme, Haskell and OCaml, for example.
klez on HN@lelandbatey: to see a difference that really pops, I suggest adding a common lisp or scheme silhouette, and a prolog one. Hell, if you can find a copy of gorilla.bas, do that too.
philsnow on HNYeah, was thinking the same for Erlang since it incentivizes terse sections of hoisted functions.
im_down_w_otp on HN
Aggregate many projects per language to average out style
From 2 comments
The interesting thing here would be seeing some form of aggregation of various projects to see what effects the language does have on style. Would love to see something that…
justinian on HNIt's not as if they generated some "average" code to make an apples to apples comparison, they arbitrarily grabbed files with very different purposes based on length. So really…
shawncplus on HN
Add a fractal dimension measure
From 1 comment
The fractal dimension of each one would be nice.
forinti on HN
Questions
How is fractal dimension computed for each silhouette?
From 1 comment
Fractal dimension? How so?
andrepd on HN
Alternatives named
Codeshapes game by teropa
From 1 comment
Neat. I saw something like this recently in game form: Codeshapes http://teropa.info/codeshapes/
timpark on HN
text-minimap command line silhouette generator
From 1 comment
Shameless plug: a "Silhouette" (minimap) generator for command line: https://github.com/dpc/text-minimap
dpc_pw on HN