Skip to content

Instantly share code, notes, and snippets.

View mwotton's full-sized avatar

Mark Wotton mwotton

View GitHub Profile
@mwotton
mwotton / gist:1350517
Created November 9, 2011 05:35 — forked from nicholasf/gist:1350482
Seeking feedback before I post this
How to calculate an hourly rate.
Hi,
I've been watching job boards for Ruby related contracts lately and have noticed some low rates being offered with high expectations. It's happening frequently enough that I wanted to post my understanding of how to calculate an hourly rate. Setting *reasonable* standards of pay for the appropriate level of expertise is vital. There's a lot to say on the matter, so I've tried to be brief.
For some reason it's very easy for software developers to match their experience and knowledge to a full-time rate, but for contracting there is less awareness.
The difference between full-time employment and self employment.
# Newbie Programmer
def factorial(x)
if x == 0
return 1
else
return x * factorial(x - 1)
end
end
puts factorial(6)
puts factorial(0)