Ruby Code Snippets
-
"snippet" does not mean 'small' ...
... it means some code that you can 'cut and paste' into your own code project.
-
@dan rathbun said:
"snippet" does not mean 'small' ...
If we're being pedantic then "snippet" is the diminutive of "snip" so it does in fact mean "a small portion of".
-
Ok fine.. I'll give ya that.
But he wants a word that is smaller than small (limited to 10 lines.)
How about pygmy code or pygmy snippet ??
-
How about compiling a list of simple plugins that newbies can learn from? I find it is really helpful to learn from something that actually does something useful. We can develop a list of existing plugins, that are well-written, short, and accomplish something useful. I've learned alot from reading other people's code, and it definitely would've been useful to me to have a short list of plugins to download and learn from.
I think that lots of people on this forum could develop a short list of their plugins that would help a beginner. This would provide an excellent resource without sapping TONS of time.
--
Karen -
Thats not a bad idea. Many of my smaller scripts are simple. There are always questions about learning bad habits from others. I try hard, but I'm sure there are still things I do wrong. I'd hate for others to learn that from me.
Also, am I the only one that finds the linetool.rb rather dense to read? I have not looked at it for a little while now, but when I was learning, I could not make heads or tales of that thing.
-
@chris fullmer said:
Also, am I the only one that finds the linetool.rb rather dense to read? I have not looked at it for a little while now, but when I was learning, I could not make heads or tales of that thing.
Yes. I think a cleaner linetool would be useful.
-
I also found the linetool.rb pretty dense.
@chris fullmer said:
There are always questions about learning bad habits from others
It would be helpful to have some other coders review the files and make suggestions for cleanup prior to submission to the thread. I will definitely volunteer my material selection plugin (http://forums.sketchucation.com/viewtopic.php?t=31378), but would definitely like some criticism regarding the coding and clarity prior to having someone learn from it!
--
Karen -
Yes, a lot of good ideas.
-
I am now sure that the concept of "Ruby Script Video Tutorial" formulated by Chris is the one I dreamed for.
-
Perhaps what makes problem is the word "snippet".
Advertisement