Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,049 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,559 people online right now. Registration is fast and FREE... Join Now!




About the snippets

3 Pages V  1 2 3 >  
Reply to this topicStart new topic

About the snippets

MitkOK
19 Jul, 2008 - 02:17 AM
Post #1

D.I.C Regular
Group Icon

Joined: 9 Aug, 2007
Posts: 314



Thanked: 12 times
Dream Kudos: 250
My Contributions
I'm confused, guys.

The count of the experts and admins increases, but still no one takes a look at the snippets ? Why is that ?

Three or four times I PM to some of the dudes in charge, I've been answered that it takes time to look at the code, that there are problems with the snippet system and still I have the feeling that nobody cares about the snippets section.

Why is that ?

Why I have to shout every time to get some attention ? Not a single snippet has been approved until I write here or send message to someone about it. This practice only demotivates me and I'm sure I'm not the only one feel the same.
User is offlineProfile CardPM
+Quote Post

RodgerB
RE: About The Snippets
19 Jul, 2008 - 03:08 AM
Post #2

D.I.C Lover
Group Icon

Joined: 21 Sep, 2007
Posts: 2,131



Thanked: 16 times
Dream Kudos: 2200
Expert In: Dot Net Technologies

My Contributions
I'm not a member of the </dream.in.code> staff but I know how you feel in this situation. There are languages that just aren't as popular as other languages, obviously the languages with lower popularity are going to get the least attention (I'm guessing your snippet was made in Ruby right?).

I'm in no way bagging Ruby, infact I've been planning on learning it for a while, but sometimes you need to put yourself in the moderator's shoes, they may actually not know much about Ruby, nobody is perfect. If your snippet was coded in C++ then I'd obviously expect better, but Ruby isn't quite as popular as of today. I once went through this stage with the snippets as well, I chose to make C# snippets instead of VB.NET to boost approval time (and you may or may not learn a couple of new things accidentally along the way smile.gif ).

</DIC> is an empathetic dictatorship, not a democracy (from my understanding). Just sit tight and try to not let it get the best of you smile.gif.
User is offlineProfile CardPM
+Quote Post

MitkOK
RE: About The Snippets
19 Jul, 2008 - 03:34 AM
Post #3

D.I.C Regular
Group Icon

Joined: 9 Aug, 2007
Posts: 314



Thanked: 12 times
Dream Kudos: 250
My Contributions
Basically, it doesn't matter what is the language.
Why there is Ruby or Python snippet section when there are no guys to handle them ? And I'm talking about one, maximum two snippets per month. The other thing is that Ruby and Python syntax is clean and easy to understand. We are not talking about Assembler for example. Even programmer using other language will understand what's going on in Ruby or Python code.

And it's too damn easy to test the snippet...
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: About The Snippets
19 Jul, 2008 - 04:33 AM
Post #4

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,983



Thanked: 125 times
Dream Kudos: 8525
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
@MitkOK,

Ruby and Python are languages I don't work with (Ruby never, Python not in over a decade) and I have nothing on my system installed to test either so I normally don't deal with those. I know it can be frustrating (trust me, I haven't always been a Moderator), but now that I am I can tell you that there is a process in place. We have 98,000+ members and maybe 15 on the team, if you do the math you can see why sometimes it takes a bit of time to get everything viewed, tested and approved.
User is online!Profile CardPM
+Quote Post

KYA
RE: About The Snippets
22 Jul, 2008 - 04:15 PM
Post #5

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 4,775



Thanked: 91 times
Dream Kudos: 1200
My Contributions
Yeah I'm all excited, I've submitted like 6 or 7 python snippets within the last few days smile.gif
User is online!Profile CardPM
+Quote Post

KYA
RE: About The Snippets
24 Jul, 2008 - 07:14 PM
Post #6

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 4,775



Thanked: 91 times
Dream Kudos: 1200
My Contributions
Bump, I had a few rejects for lack of comments on the code. Exactly how many comments are warranted? I have an accurate description within the required sections and a few in code comments as I feel is necessary. I went ahead and resubmitted some python code(s) with a comment for nearly every line now in case someone had some confusion. What is a good balance for future reference?
User is online!Profile CardPM
+Quote Post

capty99
RE: About The Snippets
24 Jul, 2008 - 07:27 PM
Post #7

the real kya
Group Icon

Joined: 26 Apr, 2001
Posts: 9,161



Thanked: 16 times
Dream Kudos: 550
My Contributions
kya i was always told 1:3 is the ratio. comment for every 3 lines of code. but thats obviously a basic guideline.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: About The Snippets
24 Jul, 2008 - 07:34 PM
Post #8

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,435



Thanked: 64 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(KYA @ 24 Jul, 2008 - 11:14 PM) *

What is a good balance for future reference?

There is no set in stone measure. So when you submit code, the best way to share the information is to comment as the code progresses, making sure all information about what the code is doing, as well as what it requires is being transfered to the reader. It would defeat the purpose of code snippets if no one could easily tell what it did.

BTW, please don't rock my boat if your code was in fact very clear. I don't know which exact code snippet you are referring to. I am simply speaking in generality.
User is offlineProfile CardPM
+Quote Post

BetaWar
RE: About The Snippets
24 Jul, 2008 - 07:49 PM
Post #9

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 2,020



Thanked: 81 times
Dream Kudos: 1175
My Contributions
QUOTE
kya i was always told 1:3 is the ratio. comment for every 3 lines of code. but thats obviously a basic guideline.

Personally I prefer the 0:infinity ratio especially on completed code but that is me, and comments get annoying. If I don't understand what the code does I shouldn't be looking at it, end of story.

I understand that getting tutorials and snippets visible takes some time and it can be annoying to wait, but patience is a virtue that I am willing to use. If you can't wait around for thing sto come your way then what point is there in most of life? I have been writing tutorials lately for Actionscript (though I won't be suprised if my latest one isn't accepted, it wasn't my best, or most informative tutorial), but not many people are masters at AS (I don't even classify myself as one, I just know enough to get by) so it takes some time for the stuff to get looked through. It isn't that the coding language is hard to understand, after all AS is very similar to other languages, it just takes time to get someone to go through the whole snippet/tutorial and make sure that it works out.
User is offlineProfile CardPM
+Quote Post

KYA
RE: About The Snippets
24 Jul, 2008 - 07:51 PM
Post #10

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 4,775



Thanked: 91 times
Dream Kudos: 1200
My Contributions
I understand, I am a big fan of code commenting, but the python snippets in question involved some nearly self explanatory (or for the most part self documenting) in my opinion. Just curious, no hard feelings or ill will towards anyone.
User is online!Profile CardPM
+Quote Post

MitkOK
RE: About The Snippets
24 Jul, 2008 - 10:55 PM
Post #11

D.I.C Regular
Group Icon

Joined: 9 Aug, 2007
Posts: 314



Thanked: 12 times
Dream Kudos: 250
My Contributions
"Real programmers don't comment their code. If it was hard to write, it should be hard to read."

The second part of the quote, of course doesn't concern Python and Ruby code with their beautiful 'human' syntax pirate.gif

This post has been edited by MitkOK: 24 Jul, 2008 - 10:55 PM
User is offlineProfile CardPM
+Quote Post

MitkOK
RE: About The Snippets
17 Aug, 2008 - 05:22 AM
Post #12

D.I.C Regular
Group Icon

Joined: 9 Aug, 2007
Posts: 314



Thanked: 12 times
Dream Kudos: 250
My Contributions
Nice work guys, even a month is not enough to look at 6 or 7 lines of code.
You can delete Ruby snippet section and maybe others too and focus on C/C++, Java and PHP because anything else is simply shit.

This post has been edited by MitkOK: 17 Aug, 2008 - 05:25 AM
User is offlineProfile CardPM
+Quote Post

3 Pages V  1 2 3 >
Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 05:37PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month