Live data from Hacker News

Show HN: MassCode – a code snippets manager for developers

github.com

41–50 of 55 posts

Re: Show HN: MassCode – a code snippets manager for developers

#41
post #27

Not to diminish the effort, but the use case for this can only be a role that requires a ton of snippet handling, which inherently means you are doing something wrong as a programmer (imho). Once you get to a point where you are regularly using snippets a lot, writing some automated script is the next step, not a tool that makes it easier to copy/paste.

Or you work with a lot of different languages and you can only keep so many bits of syntax particulars in your head.

Re: Show HN: MassCode – a code snippets manager for developers

#42
I use Sublime as my code editor. Anything that I need to save as a code snippet goes into its own Snippets project. That way, I can organize it easily and open up the project whenever I need it. No separate application necessary since Sublime is already editing my code anyways.

Re: Show HN: MassCode – a code snippets manager for developers

#43
post #27

Not to diminish the effort, but the use case for this can only be a role that requires a ton of snippet handling, which inherently means you are doing something wrong as a programmer (imho). Once you get to a point where you are regularly using snippets a lot, writing some automated script is the next step, not a tool that makes it easier to copy/paste.

This was my initial reaction too. Ideally popular code snippets should be published in a library or tool, which can be versioned and distributed easily...

But in reality the overhead of creating and maintaining a library/tool/package can be enormous, for relatively small gains in re-usability (see: https://xkcd.com/1205/).

This snippet library seems more like a step before creating a library, kind of like note taking apps are a step before blog posts or publications.

I think you could still use this and be a good programmer.

Re: Show HN: MassCode – a code snippets manager for developers

#44
post #6

Earlier quoted context omitted.

I agreed with what you're saying, but there's a nicer way to say it. Please be a little more considerate.

you're an over sensitive. grow up please.

Please read the guidelines and follow them when posting here.

https://news.ycombinator.com/newsguidelines.html

Edit: you've broken them badly in the past as well: https://news.ycombinator.com/item?id=21721337. We ban accounts that post like this, so please don't do it again.

Re: Show HN: MassCode – a code snippets manager for developers

#45
post #27

Not to diminish the effort, but the use case for this can only be a role that requires a ton of snippet handling, which inherently means you are doing something wrong as a programmer (imho). Once you get to a point where you are regularly using snippets a lot, writing some automated script is the next step, not a tool that makes it easier to copy/paste.

I've got a lot of things like this in C and C++ for debugging. Like how to make a macro print a macro, or stuff like that.

Re: Show HN: MassCode – a code snippets manager for developers

#46
post #44

Earlier quoted context omitted.

you're an over sensitive. grow up please.

Please read the guidelines and follow them when posting here. https://news.ycombinator.com/newsguidelines.html Edit: you've broken them badly in the past as well: https://news.ycombinator.com/item?id=21721337 . We ban accounts that post like this, so please don't do it again.

Whatever. I'm NOT going to walk on eggshells with every comment I post in hopes I don't offend or hurt someone's feeling. I didn't personally attack anyone in my original comment, but for reason, someone takes it upon themselves to attack me personally and now I'm being ridiculed for it.

Re: Show HN: MassCode – a code snippets manager for developers

#47

Your demo gif doesn't convey your idea __at all__. What is going on in it? To me it just looks like you are typing in a hello world function in jaavascript... where does the snippet portion come in? After I create a snippet, how do I use them in my current project and current editor? I really think you need to create demos showcasing these use cases cause as of right now i'm confused as to why this project even exist…

Of course, I will update README in more detail later. Now all my time is spent on PoC. MassCode is an application for organizing snippets such like as SnippetsLab, Quiver or Boostnote. What makes it different is that it uses Monaco editor as a code editor, it allows for autocompletion in the main frontend languages - HTML/CSS/JavaScript. And of course Emmet :)

awesome!

Re: Show HN: MassCode – a code snippets manager for developers

#48

Awesome! I've been looking into a way to manage my own code snippets. I'm a huge fan of ThisCodeWorks ( https://www.thiscodeworks.com/ ), which has gamified snippet storage to an extent. Also great for sharing snippets around. It's still in beta, but looks good so far!

ThisCodeWorks - I checked out one sample page - no license/attribution info. Yikes!

There was a link to source page that makes it possible to dig further, but that's like StackOverflow minus cross references and comments.

Re: Show HN: MassCode – a code snippets manager for developers

#49
post #33

Earlier quoted context omitted.

I agree that the original comment was not overtly _un_friendly. I also think that the reply represents a better way. > If the only way some one can give usable problem analysis and criticism is by including suggested fixes, I think we can all agree that the inclusion of suggested fixes does make feedback more helpful in general. > and delicately toning down the criticism, then far fewer people are going to be willing…

Including good suggested fixes is certainly better than not. But no suggested fixes are better than bad suggested fixes. Finding problems is a different skill set than proposing solutions. Letting people with these complementary skill sets coöperate in improving something seems to be better than requiring one person have both. The perfect is the enemy of the good. I'm not sure why emphasis on failure is a problem, wh…

As a product person, I want to hear someone's proposed solutions even if their ideas are crap. The reason is that sometimes their proposed solutions help me understand the problem better, and sometimes there is an aspect of their proposed solution that makes it into the final solution too.
Post reply on HN