Live data from Hacker News

Show HN: My weekend project - Codestagram

codestagram.com

11–20 of 39 posts

Re: Show HN: My weekend project - Codestagram

#11
It's a nice novelty, but it certainly won't ever usurp Gists. I'm not sure that it was intended to. However, there is one aspect of the site that really irks me: the wood grain background. For whatever reason, this style has become really pervasive among "hacked-together" sites. Moreover, it sucks. The site would be better served with a geometric pattern, or no background at all.

Re: Show HN: My weekend project - Codestagram

#12
I would love this idea, if it was limited to 10-20 lines. The forced conciseness of it would make devs focus on brief concepts and structure, rather than complex methods. It would end up being like Dribble rather than Gist/PasteBin, and be a great place to browse for techniques I hadn't previously encountered. Think about how fun it would be to scan through an Instagram style list of stuff like this:

############~C~#############

  if ((1?1:var)/2) {
      /* it's floating point */
  } else {
      /* it's an integer */
  }
#######~Objective-C~########

  + (NSString *) append:(id) first, ...
  {
      NSString * result = @"";
      id eachArg;
      va_list alist;

      if(first)
      {
          result = [result stringByAppendingString:first];
          va_start(alist, first);
          while (eachArg = va_arg(alist, id)) 
              result = [result stringByAppendingString:eachArg];
          va_end(alist);
      }

      return result;
  }
#########~PHP~##############

  $object = new StdClass;
  $object->foo = 'bar';
  echo json_encode($object);
############################

I know they aren't the best example, but I would love to be able to scan through a list of small code snippets (by language) that demonstrate concepts. On the plus side, it would be an easier way to show some competence in a language (for future employers) than having to do massive contributions to open source projects (don't have that much free time). The thing that makes or breaks this project is a smallish limit on lines. Without it, you are just another Gist/Pastebin, without the benefits of the wide user base and additional features. I have zero desire to chill at night and scan through a bunch of random 100+ line snippets that I have no context for, but I love goofing around on Stackoverflow, looking at fancy code snippets

Re: Show HN: My weekend project - Codestagram

#13

Don't see the difference with github gists...

It's like github gists and instagram at the same time, because it let's you apply "filters" to your code (which are color palettes). It's a funny idea, I like it!

I don't think that some of the commenters here got that... lol

Re: Show HN: My weekend project - Codestagram

#16

Earlier quoted context omitted.

It's like github gists and instagram at the same time, because it let's you apply "filters" to your code (which are color palettes). It's a funny idea, I like it!

I don't think that some of the commenters here got that... lol

When I saw this post I thought to myself "Code with colour filters applied?" When I clicked through it turns out it is just grey on grey so I can easily see why some wouldn't get it.

Re: Show HN: My weekend project - Codestagram

#18

Don't see the difference with github gists...

It's like github gists and instagram at the same time, because it let's you apply "filters" to your code (which are color palettes). It's a funny idea, I like it!

Its a funny idea, but I'm not sure its all that useful. Would probably be better if users could customize their profile page as well.

Re: Show HN: My weekend project - Codestagram

#20
I see it more akin to Dribbble than Instagram. You could also introduce 'rebound' - which is improving/optimizing/add your personal touch to the 'shot' (uploaded image, or code in this case).

I'm actually going to try and redesign this as my case study for this weekend, thanks for sharing!

Post reply on HN