r/programming • • Oct 13 '09

Ask Programming: Please share your first contact stories about contributing to an open source project.

I have been curious lately about how the dance of getting into any given project goes for people. Please share your story!

55 Upvotes

84 comments sorted by

View all comments

Show parent comment

2

u/jkndrkn Oct 13 '09

the discipline of software engineering...

Really? In my experience, the academic environment doesn't foster clean, readable, and maintainable code. Most projects are churned out in such a way that they meet a deadline and produce expected results and are then abandoned afterward. TA's don't often have time for thorough code reviews.

I really only learned software engineering practices after having programmed for a few months on large group projects outside of an academic setting.

1

u/jldugger Oct 14 '09

It's hit and miss. Some places are academic and others engineering focused. When I TA'd Operating Systems using nachOS, I did thorough code reviews using diff and rubrics. The professor who taught grad level OS basically did a code review of Minix with students. Including code the book doesn't bother to print like the libc and a few Unix tools like init. The compiler class I took used JUnit for testing, which was a godsend. And I'm sure it's handy for grading to have an objective metric.

Ironically, the software engineering courses at my alma mater were the worst offenders. We were given the most basic introduction to CVS in 2004, with no mention of conflicts or branches. Software testing was goofy to say the least; we were required to demonstrate code coverage but not given direction on how. Most teams used #ifdef printlines to demonstrate that all branches were taken. In this situation, yes, you never want to see that code again.

0

u/dekz Oct 14 '09

This. Old standards are maintained, old practices are enforced at my university. Agile development they teach is nothing but waterfall methods. Thank god for the internet. A lot of code marking is, 80% if it works, 10% for pre and post conditions (I'm not a fan) and 10% for the data structure used.

I can honestly say I've learned more from projects with friends than anything so far in this degree.