globalrev
Joined 18 years ago
Karma
349
Submissions
170
Member since
May 4
Joined 18 years ago
But will people pay for such a service?
There are just so many companies starting with seemingly no way to make money.
####### def throwaway_function(emp): if emp.salary > developer.salary: return fireEmployee(emp) else: return extendContract(emp)
employees.select(throwaway_function) ######
Python lambda: filter(lambda emp: fireEmployee(emp) if emp.salary > developer.salary else extendContract(emp), employees)
Don't know what select does but it sounds like filter. So if that works as intended(is the ruby version both returning value and side-effecting?) or not I'm not sure but you probably could make it.
Wireless still seems to be the most annoying thing about Linux.