That's a bold statement. How about pay them commensurate with their value to the product? Have reasonable work hours? Whatever made them leave, fix that. For instance.
Wait, that above comment sounds like a disgruntle 'boss' who is lashing out. So, no answer will be adequate. That poisonous attitude is typical of why programmers were leaving.
Wait, that above comment sounds like a disgruntle 'boss' who is lashing out. So, no answer will be adequate. That poisonous attitude is typical of why programmers were leaving.