r/programming • • Oct 27 '09

Anyone interested in starting a programming subreddit?

I'm not joking, have you looked at the shit here? Almost none of it actually pertains to programming or development. A reasonable chunk seems to be devoted to interesting software, but not programming. A larger chunk consists of things that are vaguely related to technology, but have nothing even to do with software, let alone the code.

Tty2 has created /r/coding.

317 Upvotes

277 comments sorted by

22

u/roachcoach Oct 27 '09

53

u/[deleted] Oct 27 '09

35

u/[deleted] Oct 28 '09

That reminds me of mysql_real_escape_string().

→ More replies (11)

2

u/[deleted] Oct 27 '09

I'll have a look at it, thanks.

6

u/roachcoach Oct 27 '09

I feel bad. I was suggesting an extension.

→ More replies (1)

2

u/skulgnome Oct 28 '09

You know this'll only become filled with Knuth fans.

→ More replies (1)

36

u/OneAndOnlySnob Oct 27 '09

I regularly go through proggit and downvote all the self posts and stuff that is not programming-related. Refresh and repeat. I regularly get down into the mid 40s on my proggit front page.

15

u/[deleted] Oct 27 '09

I have thought about downvoting all non-programming links, and sometimes upvoting everything else - but I don't think that I should have to.
Anyway, I don't think that it is possible to completely overcome the masses voting in the other direction.

10

u/armhead Oct 28 '09

So basically you don't vote, yet complain about the results? You are the problem, not proggit.

10

u/[deleted] Oct 28 '09

I'd like to be able to vote based upon the quality of the post or article, rather than whether or not it's relevant to the subreddit.

→ More replies (5)

13

u/Clark76 Oct 28 '09

So, are you willing to submit articles and vote on this new subreddit? Because if you don't, it'll just die. /r/programming is what you get when you let other people with different opinions and interests do all the work. There's a fair bit of noise, but there's enough good to keep my interest (and occasional votes and comments).

9

u/userd Oct 28 '09

The first two posts (of four posts, currently ) to r/coding are self posts.

4

u/[deleted] Oct 28 '09

It's a new subreddit, rules and expectations need to be established.

4

u/bluGill Oct 28 '09

I've starting hitting report for some of the worst offenders. I'm hoping the moderators get the hint and start deleting stuff that clearly isn't programming. (and putting a 7 day ban on the submitters)

4

u/daydreamdrunk Oct 27 '09

I do so as well but that doesn't seem to help that much.

→ More replies (1)

6

u/[deleted] Oct 28 '09

3

u/[deleted] Oct 28 '09

Priceless: "a community for 7 hours"

Hopeful though.

10

u/[deleted] Oct 28 '09

Why don't you work on cleaning this up instead? Typical noob programmer... always wanting to re-create, instead of fixing, the wheel.

6

u/[deleted] Oct 28 '09

Because I don't think that it's feasible. Anyway, there are those who like it the way it is, I don't think that they'll respond too well to any attempt to clean it up.

13

u/oursland Oct 28 '09

In order to fix this you need to be in a position to do so. However, with the onslaught of things like "replace blah with swarm.swf in youtube" that get upmodded to heaven without the moderators taking action, what do you propose?

→ More replies (4)

3

u/jerf Oct 28 '09

Why don't you work on cleaning this up instead?

Not only is this infeasible, it is an actively bad idea. If it could be successfully done, it would amount to imposing your view of programming.reddit.com on everybody else, presumably against the will of the greater community.

That's not a virtue.

Creating your own reddit with an explicit charter up front is a different story. And it is the correct solution.

→ More replies (1)

2

u/x82517 Oct 27 '09

What would you call it? Something like /r/coding?

7

u/[deleted] Oct 27 '09

Coding, Development, Foobar. I honestly hadn't thought that far into the future.

10

u/thatpaulbloke Oct 27 '09

Spoken like a true coder. Have an orange arrow.

82

u/[deleted] Oct 27 '09

I don't post and I rarely comment, but I do enjoy reading articles on programming. I'd like to see such a subreddit.

As for the name, I suggest /r/coding.

37

u/oldf4rt Oct 27 '09

/r/coding is good

56

u/LR2 Oct 28 '09

I don't always post and comment, but when I do I prefer /r/coding.

/most interesting programmer in the world

49

u/DontNeglectTheBalls Oct 28 '09

He writes Lisp.... in python.

→ More replies (1)
→ More replies (1)

18

u/[deleted] Oct 28 '09

I give it a week before /r/coding turns into IAMA coder AMA and ascii pictures of cats.

3

u/acmecorps Oct 28 '09 edited Oct 28 '09

4

u/oursland Oct 28 '09

But, but, but... what about the coding theorists? Where will they go?

74

u/mcosta Oct 28 '09 edited Oct 28 '09

This seems another example of the coder attitude "better start from scratch than fix".

BTW, I think it too.

26

u/jmnugent Oct 28 '09

Citizens:... "the current laws aren't working!!!.. that means we need MORE laws!!!"

30

u/bboomslang Oct 28 '09

nah, we just need to fork reality

→ More replies (3)

6

u/dsfargeg1 Oct 28 '09

This is frequently the only sane approach.

2

u/skulgnome Oct 28 '09 edited Oct 28 '09

Though given how little social skill most proggitors have, starting again from scratch may be the preferable option. The alternative seems to be watching perpetual ham-fisted attempts at beating the old shitpile into some kind of a retrospectively acceptable shape.

"Oh I know, let's completely switch build systems! That'll fix the code."

2

u/mcosta Oct 28 '09

Reply to myself: yeah it is. And it is a really bad idea.

26

u/tty2 Oct 27 '09

I just created /r/coding if anyone is interested in using it. If you want, start posting some articles and I'll pick some moderators (if you PM me.)

146

u/Tecktonik Oct 27 '09

Oh boy, an entire subreddit to discuss tabs versus spaces.

63

u/antifud Oct 28 '09

1 little, 2 little , 3 little Endians, 4 little, 5 little, 6 little Endians, 7 little, 8 little, 9 little Endians, 10 little Endian ......

14

u/[deleted] Oct 28 '09

wouldn't it be 01 little Endian?

→ More replies (1)

13

u/mycall Oct 28 '09

11 big little Indians.

7

u/yergi Oct 28 '09 edited Oct 28 '09

I'm confused on the endianness.

Is that big endian or little endian?

38

u/Imagist Oct 28 '09

This is big endian. isTh si tlelit ianend.

→ More replies (1)

21

u/isarl Oct 28 '09

Both! Tabs for indentation; spaces for alignment. Problem solved; the code looks good in whatever editor you like, and you get control over how wide it appears.

25

u/rabidcow Oct 28 '09

No! Spaces for indentation; tabs for alignment! Form feeds for breakfast! Vertical tabs for desecrating the dead!

8

u/JadeNB Oct 28 '09

No! Spaces for indentation; tabs for alignment!

Come on, that's ridiculous. Everyone knows you should use ☺ for indentation and ☹ for alignment.

56

u/AgentME Oct 28 '09

http://www.emacswiki.org/pics/static/TabsSpacesBoth.png

I was pretty sure up until now this was something we could all agree on.

→ More replies (21)

8

u/arthurdenture Oct 28 '09

Unless you also care about the 80-column limit, and different people in the project have different tab width preferences.

In that case, I'm afraid violence is the only answer.

2

u/timeshifter_ Oct 28 '09

80 columns has always bothered me... then again, I'm also used to hi-res widescreens..

9

u/sping Oct 28 '09

I'm used to hi-res wide screens, but I'm also used to wanting to have more than one code window open.

Long lines require a whole lot of screen space that is 90% empty.

→ More replies (1)
→ More replies (5)

3

u/patchwork Oct 28 '09

Yeah, that is only if you apply the strategy flawlessly. As we know, programmers are less than flawless, so every file ends up looking like someone shat ascii on the screen.

→ More replies (1)

14

u/[deleted] Oct 28 '09

I'm really hoping that's meant to be sarcastic..

54

u/runagate Oct 28 '09

some people hate tabs because they like being wrong

→ More replies (5)
→ More replies (6)

2

u/sping Oct 28 '09

It's a nice idea, if the code editor will support it by default.

Do you actually enter these characters by hand? I haven't manually chosen what characters to indent/align with for 15 years, since I dropped vi. Actually more than that, because for my last couple of years with vi I used the built-in indent commands.

3

u/isarl Oct 28 '09

Emacs has support for this; I'm not sure about Vim.

(But I use Vim, so if anybody knows of one, I'd love to know about it!)

4

u/lutusp Oct 28 '09 edited Oct 28 '09

IMO

The existence of both tabs and spaces, where one would do, is sort of like the existence of carriage returns and linefeeds, where one would do. Both have their origins in old mechanical teletype machines, where CR and LF were separate mechanical motions, and tabs were a way to save time and mechanical wear compared to spacing over with (for example) eight discrete carriage motions.

Again IMO, but I think tabs have outlived their usefulness and cause difficulties all out of proportion to their value -- just like carriage returns.

So: spaces, no tabs, fixed-pitch fonts for programming. Linefeeds, no carriage returns, and the Windows/*nix file translation difficulties are gone in a flash.

This leaves the Macintosh, which (unless I am mistaken) uses only a carriage return, not a linefeed, for a line ending.

6

u/masklinn Oct 28 '09

which (unless I am mistaken) uses only a carriage return, not a linefeed, for a line ending.

You are. This shit stopped with the death of Mac OS 9 ("classic"), OSX is an unix and uses unix breaks (linefeeds only).

Naturally, you're also wrong that LF, CR and CR+LF are the only line breaks available

→ More replies (3)

1

u/[deleted] Oct 28 '09

next question, should I wrap at 80 chars?

10

u/sping Oct 28 '09

Yes, or close to it, where possible.

Yes we all have wide screens, but many people find it very useful to habitually view 2 or more files side-by-side. 100+ char run-on lines are just a pain for that, leaving loads of screen space completely void to accommodate a few long lines.

Sure if you're in some hand-eye-coordination exercise IDE which makes it difficult to see 2 files side-by-side, then you don't care, since you have room for 160 char lines and nothing else to do with the space.

7

u/mccoyn Oct 28 '09

.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................yes

→ More replies (2)
→ More replies (4)
→ More replies (28)

4

u/[deleted] Oct 28 '09

I vote the first topic should be.

VIM vs. Emacs

2

u/garrepi Oct 28 '09

Neither! Whitespace is for wimps.

4

u/taintedhero Oct 28 '09

I just use ; and put it on one line. Hardcore.

1

u/[deleted] Oct 28 '09

I use BOTH!

15

u/MoreCowbellPlease Oct 28 '09

Spaces for even numbered lines, tabs for odd numbered lines. It is easier that way.

7

u/freudianGrip Oct 28 '09

You do realize that this makes very little sense. You're going to create a new subreddit and then try to move people in this subreddit over to it in the hopes of getting content that you want. Why not just a "hey, this subreddit is for programming and there aren't many articles that relate to programming here." and then post some good programming related content? I don't know maybe I'm missing something.

1

u/Poddster Oct 28 '09

because that would require him to know all the good programming articles on the web himself? Also, isn't that what subreddits are for? If one doesnt' cater to your taste, you make a new one?

2

u/ablakok Oct 27 '09

How would you keep it pure?

12

u/[deleted] Oct 27 '09

Restrict the mods to people who want a pure programming subreddit, delete tech and software posts.

19

u/CommodoreGuff Oct 27 '09

So basically, the master race of subreddits.

→ More replies (2)

10

u/jawbroken Oct 28 '09

ah, the /r/thingsthatilike strategy

9

u/vimfan Oct 28 '09

isn't that the point of subreddits?

5

u/NovaX81 Oct 27 '09

semi-on topic: is there a subreddit just for programmers to share things they've made, for review/critique/help/etc? That would also be a subreddit worth looking into

something like /r/developers

5

u/oursland Oct 28 '09

2

u/bboomslang Oct 28 '09

I feeel the urge to dance in an insane way now.

4

u/awb Oct 28 '09

There was a lot of discussion about this yesterday when I launched the left fold.

12

u/kindoblue Oct 28 '09

Good programmers are broad - not narrow - minded.

1

u/Mikle Oct 29 '09

I found exactly what I wanted to say, but put more eloquently than I could at this late hour.

7

u/quanticle Oct 28 '09

The way I see it, most of the actual programming related stuff goes onto the subreddits for the programming languages, e.g. /r/python, /r/haskell, /r/javascript, etc. This is the place for the stuff that is related to the practice of programming, but not necessarily related to any one language.

1

u/oursland Oct 28 '09

To do so reduces the exposure to other languages. Languages DO influence programming and the capability of programmers. For further info read up on the Sapir-Whorf Hypothesis.

→ More replies (7)
→ More replies (1)

9

u/Mr_Sadist Oct 28 '09

I think subreddits are more about the audience than about the content. You should submit content that appeals to people who like programming. That could be a comic, a CSI-visual basic clip, a funny programming story or code-questions.

But hey, that's just my view on subreddits.

2

u/f3nd3r Oct 28 '09

Actually, you are quite right. The only thing wrong with /r/programming is the name, it probably should just be /r/programmers.

3

u/spainguy Oct 27 '09 edited Oct 28 '09

I only program 8 bit AVR's and stuff. I tend to think of here as just pointers to more interesting articles that may not normally be in my direct line of sight

Edit grammer

0

u/taels Oct 27 '09 edited Oct 28 '09

grammar.

edit:

:/

→ More replies (2)

3

u/[deleted] Oct 28 '09 edited Oct 28 '09

Glad to see somebody finally started a new one. Hopefully it will not be saturated with bullshit this time. Already put coding on my frontpage.

3

u/[deleted] Oct 28 '09

I don't know about you guys but best programming topics are in /r/visualbasic.

3

u/pointman Oct 28 '09 edited Oct 28 '09

I once joined an IRC chat room about 10 years ago and made the mistake of asking whether red hat was better than slackware.

Are we about to witness the birth of subreddit wars?

1

u/troymcdavis Oct 28 '09

First post to get 50 upvotes decides which subreddit we troll?

7

u/ubernostrum Oct 28 '09

Point of order: posts not directly programming-related should not appear in /r/programming.

4

u/[deleted] Oct 28 '09

So, I have a theory.

I haven't been able to submit a link that gets any votes (no downvotes even, so the spam filter must be blacklisting them) ever since the great javascript worm fiasco.

I think I am not alone, I think that many people who actively contributed real programming content are now incorrectly being classified as spammers.

That means that the only new content showing up here is the garbage.

1

u/dons Oct 28 '09

We have admins now unbanning, and the spam bot is getting smarter. I don't think any stuff has been unnec. blocked in the last 3 days since this was set up.

2

u/skulgnome Oct 28 '09

We could totally use a subreddit that's about programming!

2

u/mybossdaughter Oct 28 '09

No. There are enough of programming subreddits. Thank you ;-)

2

u/ittybittykitty23 Oct 28 '09

Where would be an appropriate place to meet google wave users for the purpose of working on projects. (I'm generally interested in python and particularly interested in python controlling MIDI. I should add I'm a beginner.)

3

u/zem Oct 27 '09

sounds good to me.

4

u/setuid_w00t Oct 28 '09

Please take note of the arrows beside the posts you like/dislike.

1

u/[deleted] Oct 28 '09

And they should please take note of the topic provided and not post things not on-topic.

1

u/oursland Oct 28 '09

I have, to no avail. If you read the comments here, you'll see that others have as well. In fact, just examine some of my post history. You'll see a bunch of "not programming" to which you'll note a downvote has been applied, without much effect.

4

u/hiffy Oct 27 '09

Can we start a stop-whining-subreddit, or a just-downmod-or-click-hide-subreddit?

I actually don't mind a lot of the tangentially related articles - they often generate interesting comments, which I find is the main reason for coming here in the first place.

3

u/[deleted] Oct 28 '09

Amen! Amen! Amen! And then I get slammed for pointing out on those articles that they're completely off topic. I almost wish there were a private reddit/stackoverflow-type of site where you have to prove you'll submit good, on-topic programming topics to even get in. The biggest problem is the whole self.whatever posting ability. Even the ability to auto-filter those would make reddit 10x more useful.

2

u/ipeev Oct 28 '09

Good bye!

2

u/[deleted] Oct 27 '09

1

u/posborne Oct 28 '09

The pilgrims are leaving to start their own colony... You should name it /r/mayflower.

1

u/Rhyono Oct 28 '09

I agree, I'm a programmer and I expected to find programming in the programming reddit. I suck at using the internets.

1

u/cwcc Oct 29 '09 edited Oct 29 '09

/coding/ looks just as bad

1

u/renegade Oct 28 '09

Yea, it's called stackoverflow. :-P

1

u/bonch Oct 28 '09 edited Oct 28 '09

After the political links started showing up, the last straw for me was the Legend of Zelda map. It's tiresome having to wade through links for Haskell/Python/JavaScript frameworks, Daily WTF stories, pointless Google Wave mashups, IT drama, and "Can you help me get started in programming?" questions. I wish there was a /r/webdev subreddit to house that stuff.

Where are the kernel programming articles? The 3D engine design topics? Interviews of high-profile developers? Fun stuff like chiptune programming? I want to see advanced topics that experienced and working developers would be interested in, and unfortunately, Lambda doesn't update often enough.

4

u/[deleted] Oct 28 '09

the last straw for me was the Legend of Zelda map

Could you expand on that a bit? It seemed quite programming-related to me (i.e. it was essentially an example of how to save memory in an embedded system - and a real-world use of the technique to boot)

1

u/bonch Oct 28 '09 edited Oct 28 '09

Are you being serious? A link to an image-hosting site with a dungeon map from Legend of Zelda is "quite programming-related?" It was even a repost from /r/gaming--the submitter was just getting easy karma from dumb upvoters.

This document would be an example of a programming-related link about the Legend of Zelda, describing the layout of the cartridge's ROM, including byte descriptors of the dungeon maps, the sprite and tile patterns, and the split-scrolling method used by Nintendo's programmers. See how that link involves actual technical information interesting to programmers?

1

u/[deleted] Oct 28 '09

It's programming-related in exactly the way I said it was: It's an example of how a real-world project kept under memory and size constraints in a console environment. Just because it's not as hard-core as your link doesn't mean it's not valid. And yes, your link says the same thing, but the image is a far more approachable

And this is the problem with any new programming-related reddit - you're not going to be able to define programming related.

(Thanks for the link, though, as that is some cool stuff)

1

u/bonch Oct 28 '09 edited Oct 28 '09

Laying out the dungeon shapes so that they happen to fit together on the same grid has nothing to do with memory and size constraints, especially because Legend of Zelda was originally developed for the Famicom Disk System which had more disk space than cartridges, and the game used MMC1 which allowed for memory bank switching.

Dungeons are stored as 8x8 screens. It's not like the NES loads the entire underworld when you enter a dungeon--that would be the opposite of your point about saving memory.

More importantly, none of this programming context was given in the link. It was just an image dump of Zelda's dungeons, reposted from /r/gaming. Game magazines from 20 years ago had the same maps.

3

u/benihana Oct 28 '09

As denor pointed out, just because you don't think it's programming related doesn't mean other people think it's the same way. I know, I know, it's difficult and scary coming to terms with the fact that other people have different opinions, but it might make things easier for you.

→ More replies (1)

0

u/[deleted] Oct 28 '09

Not programming.

1

u/merzbow Oct 28 '09

Discussions of topicality are always on topic.

-3

u/Imagist Oct 28 '09

Oh, aren't you clever, suggesting starting a programming subreddit in the programming subreddit!

0

u/mikaelhg Oct 28 '09

While you're at it, make one for hobby/academic programming, and one for professional development.

0

u/[deleted] Oct 28 '09

totally

0

u/NeoWahian Oct 28 '09 edited Oct 28 '09

why keep screwing smthg that's already screwed? lets start a new one !! :-P

-13

u/[deleted] Oct 27 '09

So, post something. Be the change.

Or STFU.

11

u/[deleted] Oct 27 '09

The vast majority of people using this subreddit don't seem to be interested in programming. I do not believe that that can be rectified.

5

u/[deleted] Oct 27 '09

Isn't proggit frontpaged by default? If so, I think that's a big part of the problem. Either way, I do agree that programming is beyond "saving".

-2

u/f3nd3r Oct 28 '09

6

u/[deleted] Oct 28 '09

We already created coding.

0

u/f3nd3r Oct 28 '09 edited Oct 28 '09

It isn't going to solve anything, however. It will only be slightly more pure than proggit I'm sure as the number of members increases. If you actually looked at my link, you would see a real solution to the purity problem. It doesn't matter either way, since neither of our reddits are gonna break 1-2k.

EDIT: The ground rules aren't even laid out for coding yet.

3

u/itsnotlupus Oct 28 '09

Why do I get the feeling that you're that guy who, when given a simple programming problem, goes and cranks out a dozen UML diagrams first, just to help scope things.

1

u/f3nd3r Oct 28 '09

Actually, I usually just start coding... but anyway, the OP had a problem. What the OP did is not a solution to his problem. You can think I'm an idiot or whatever and thats fine, but already looking at /r/coding I can tell by the posts that is just a matter of time before it becomes bloated and people are complaining the same way about /r/proggramming.

1

u/itsnotlupus Oct 28 '09

You can think I'm an idiot

Honestly, nothing like that. I just thought your sub-subreddit structure was greatly over-engineered for a relatively simple problem.

Ultimately, a subreddit's success or failure is strongly correlated to the involvement of its moderators more than anything else.

1

u/f3nd3r Oct 28 '09

While I agree that it was overdoing it, part of it was to prove a point. His problem wasn't as simple as his solution. A vague /r/programming replacement with a few added stipulations isn't really fixing the problem; it is fixing some of it however. His complaint was that /r/programming was too vague, so I fixed his problem by leaving out ALL ambiguous meanings.

-2

u/i_am_my_father Oct 28 '09

Futile. Moving to StackOverflow.

-9

u/mattius Oct 28 '09

HEY /r/programming, I'M REALLY HAPPY FOR YOU AND IMMA LET YOU FINISH. BUT /r/coding IS ONE OF THE BEST PROGRAMMING SUBREDDITS OF ALL TIME!!!!

0

u/[deleted] Oct 28 '09

[deleted] — view deleted comment

5

u/[deleted] Oct 28 '09

It was never funny.

→ More replies (1)

-1

u/naspinski Oct 29 '09

Anyone interested in starting a whining subreddit?

I'm not joking, have you looked at the shit here? Pretty much every day, there are huge chunks of people whining on reddit!

-2

u/jj_calvin Oct 28 '09

I'm glad you did so! I'm new to reddit and I love programming but this section is just a joke. I never come here since there's never anything about actual programming posted.

-5

u/akoumjian Oct 28 '09

It's called StackOverflow.com. I'm not trying to be sarcastic. It's a really great reddit/digg like programming forum with large user base and tons of interesting solutions.

1

u/akoumjian Nov 01 '09

I'm not sure why I got downvoted so much for this. I just wanted to suggest a great reddit-like, very active forum for coding questions and solutions.

0

u/[deleted] Oct 28 '09

[deleted] — view deleted comment

4

u/WalterSear Oct 28 '09

So you are suggesting he start a subreddit more pertaining to his interests?

2

u/JadeNB Oct 28 '09

well you guys do the math.

Offtopic, you want /r/math.

0

u/[deleted] Oct 27 '09

[deleted] — view deleted comment

3

u/[deleted] Oct 27 '09

/r/compsci is somewhat active.

1

u/[deleted] Oct 28 '09

More stimulating.

0

u/[deleted] Oct 28 '09

[deleted] — view deleted comment

2

u/jseller Oct 28 '09

formatting isn't coding.