Since 2013, the Portland, Ore., online coding school had been something out of an office drone’s fantasy. Under co-founder and CEO Ryan Carson’s leadership, staff worked four-day weeks, pitched in only on projects they felt like doing, rarely had to send email and had no direct bosses.