[HN Gopher] Show HN: Talk is cheap, just show me the code
       ___________________________________________________________________
        
       Show HN: Talk is cheap, just show me the code
        
       Author : liuxiaopai
       Score  : 26 points
       Date   : 2021-11-03 17:34 UTC (5 hours ago)
        
 (HTM) web link (justshowmethecode.com)
 (TXT) w3m dump (justshowmethecode.com)
        
       | andrewzah wrote:
       | The source of the code should be shown. Also, the explanation
       | behind the code is actually usually important in understanding
       | how to fix the problem.
       | 
       | I can't say I like this idea of -only- looking at code. Also I
       | don't like the tagline of "Access your required code snippets
       | without thinking". Software engineering is mostly about
       | thinking... not thoughtlessly typing or copy/pasting...
        
       | maximp wrote:
       | If I am guessing correctly, this is hitting the StackOverflow API
       | and grabbing just the code bits of the answers? The SO upvotes
       | seem to match the star count.
       | 
       | Ex:
       | 
       | 1. https://justshowmethecode.com/code-example/ruby-on-
       | rails/1k9...
       | 
       | 2. https://stackoverflow.com/questions/2369744/rails-
       | postgres-d...
        
         | liuxiaopai wrote:
         | Yes, you are right. Stackoverflow is one of its data source.
        
       | vestrigi wrote:
       | I think you should provide the source of the results. Also, I
       | don't agree with the premise that to solve a problem all it needs
       | is a code block and the explanation given is not relevant. I mean
       | we often do just that but understanding why a solution will work
       | or why not is key to learning how to do things in the future
       | without looking them up. Another problem with the lack of
       | comments is that the reader won't notice that a solution is
       | outdated, even though someone noted that on the original
       | StackOverflow page that the snipped originates from.
       | 
       | Despite that the project looks very clean and fast for its start
       | and I haven't encountered any technical problems :)
        
       | quadcore wrote:
       | Love it. Feedback: add programming language used in the snippet.
        
       | lnoir wrote:
       | I like this, I would definitely use it. I've been building
       | software for years but there are still things I don't do often
       | enough to remember accurately. In these instances all I want is
       | the code, I don't need the explanation. This makes it very easy
       | to find examples.
       | 
       | I agree with the other comments stating that you should include
       | the source of the snippets; include the name of the site and a
       | link back to the original post.
       | 
       | It might also be a useful feature to include the accompanying
       | explanation -- collapsed, but expandable -- for those who would
       | like quick access to it. Of course, if they are that interested I
       | suppose they could just click on the link to the source that
       | you'll be providing :-)
        
       | jasmaa wrote:
       | This is slick. Why put the search query in the path instead of a
       | get param though? You can't search anything with a "/".
        
       ___________________________________________________________________
       (page generated 2021-11-03 23:02 UTC)