Fork me on GitHub
#jobs-discuss
<
2019-05-09
>
Daniel Hines01:05:47

For those who’ve worked in start-up environments, I’ve got a question for you. I’m told “Well, early-stage companies ship crap software - that’s just how the game goes. Once they’ve landed funding, then they can slow down, rearchitect the system, write tests, write a CI/CD pipeline, etc.“. This seems bonkers to me. How common is this? Is it really the norm, or are there startups that “measure twice, cut once”?

seancorfield05:05:17

@d4hines I would expect there are some startups that do indeed Do. It. Right. but I've seen a lot of startups that build a proof of concept as fast as possible to pitch to VCs and that ultimately becomes the first production version of their system 😞

seancorfield05:05:58

A lot of startups have very toxic work environments in many ways. You couldn't pay me enough to work in a startup again!

dominicm07:05:32

Tests and CI aren't that useful in my opinion. At least I've not missed them on clojure projects where they're missing and we are rushing for the early parts of a project.

😮 16
alexlynham07:05:48

but CI is still nice. If it’s my project they’re there from day 1 just because it’s easier to set that stuff up with sensible defaults when your project is tiny

💯 4
vemv08:05:06

Generally there's a false dichotomy between agility and testing, paricularly between those who aren't proficient in the latter I've added test suites where missing at various startups (size 3 to 50) and never it was a rejected proposal or delayed the roadmap. So I'd try gradual introduction of best practices. If they are flat-out rejected I'd run away since that CTO is likely to make my job miserable in more than one way

nilrecurring09:05:10

The test suites on our services save my day roughly once a week, but YMMV

gklijs09:05:48

Being quick to market makes sense for a start-up, but so is a plan to eventually make it sustainable.

3Jane09:05:58

I think it’s pretty common

3Jane09:05:46

but then again standard advice for startups is “do things that don’t scale”, including founders fulfilling orders, humans augmenting “AI” and so on

3Jane09:05:15

the thinking is, most of the time you don’t even know whether people will buy your thing so there’s no point building an actual thing until you get proof

3Jane09:05:14

I don’t think there’s anything wrong with building a prototype / proof of concept, as long as the founders are aware it’s a PoC and it will need to be rewritten from the ground up

3Jane09:05:50

except the concept of a prototype doesn’t seem to exist in the agile world, and so people are left polishing a turd, and understandably angry about it.

kwladyka11:05:47

I would say it depend on your ops experience (I feel ci / cd are using wrong all the time by people, personally I call all this things ops). If you are able to create good deploying and testing environment you are doing this. If not you are not doing this on the beginning.

kwladyka11:05:15

In world of containers and kubernetes it probably matter more than ever

kwladyka11:05:39

but it is really hard to do it right, you need experience

kwladyka11:05:10

If you will do it wrong, then it will be an issue instead of solution

kwladyka12:05:21

I am doing both Dev in Clojure and Ops, because I like it and I see it as whole picture. With Ops experience I can solve things simple and easy on different level when I can’t do it simple on Dev level.

kwladyka12:05:39

Personally I see huge benefit from it

kwladyka12:05:54

But it took me a lot time to understand how to do it right

kwladyka12:05:07

From my experience most of Dev don’t have high Ops experience, so complex tools for Ops can make issues for them

kwladyka12:05:25

they don’t understand them and don’t want to learn them

kwladyka12:05:12

so on the end you need whole spectrum of experience in team

kwladyka12:05:07

And it is really not about startups only, it is easy to do it wrong in all sizes of companies 😉

kwladyka12:05:13

Summarising up: Personally I am doing Ops for all my Dev work, but I feel comfortable with it

kwladyka12:05:28

Answering your question: I would depend Ops things on early stage on team experience

Daniel Hines12:05:41

Appreciate the input as always 🙏

trevor12:05:23

I’ve grown two Clojure teams from back of the napkin ideas into self sufficient businesses. This my 2 cents. The priorities and incentives for a startup and established business are drastically different. In a startup you’re basically trying to survive — looking for the next client, trying to raise that next round, etc. You’re doing your best to make every dollar count and in most tech startups, the most expensive thing is development. It’s more valuable to ship something imperfect now than a perfect something later. It’s a tradeoff between cost and time. Of which, startups don’t have much of either.

trevor12:05:55

That being said, being in a startup doesn’t preclude you from writing quality software

trevor12:05:14

Re: quality - if I were to do another startup, I would put more emphasis on quality test suites. Functional, integration, e2e, etc.

trevor12:05:55

They allow you to move much quicker with more confidence

👍 24
💯 4
dominicm18:05:56

My problem with tests at early stages is that you're still exploring the domain. You can't test anything to do with the domain, because it will change constantly.

dominicm19:05:15

This is hard to discuss without clear timeliness of the stages we are all comparing though.

kwladyka19:05:12

This is another topic, detailed unit tests don’t make too much sense, we want to test general ideas and functionality and critical flow

Daniel Hines19:05:26

A timeline that makes sense in my mind: before customers pay for it, it should have tests.

👍 4
💯 4
kwladyka19:05:56

I would go even further and say there is a lot of things which we can really test only on production

Daniel Hines19:05:57

I’m not discussing the merits of unit vs functional vs integration vs generative vs whatever testing.

kwladyka19:05:15

especially when depend on third party systems

Daniel Hines19:05:17

(Though I’d love to as a seperate topic0

kwladyka19:05:30

But I think about tests also like about documentation of the system, when writhing them. To show how to use system in code

kwladyka19:05:04

Description of custom business needs

vemv19:05:34

Funny thing, right now I'm working on adding extra test coverage for something I merged 1 week ago i.e you can defer specific coverage of specific instances, but create a ticket for it, having it all under control The opposite (e.g. 3 months x n developers' work at 0% coverage) very likely has no way back

kwladyka19:05:36

For example if we want to fail all invoices which date is not in the current month

kwladyka19:05:09

Personally I found myself not able to fully test things which depend on third party systems. Just because there is no way to query this system without consequence and not able to make safe clone of it.

kwladyka19:05:15

So on the end you never know

kwladyka19:05:55

And never trust documentation of third party system,. If they write in doc they return X it means they only write it in the doc, but system can return in corner cases Y

kwladyka19:05:06

so true tests are on production 🙂

kwladyka19:05:03

From my observation there is also another important topic which everybody miss. Psychology! We have different personalities. There are people who are good for making something new, but weak to finish the job to the end including optimisation for things like tests. On the other hand have people who do very optimised things and done the job, but if there is something what don’t exist already and they have to start something new there are much slower, because care about too much details. There are also different personalities like people who deliver weak code on deadline, but they care about time. And more…

kwladyka19:05:29

I think this psychology topic is very important and it is very important to understand personalities in your team

kwladyka19:05:47

Right people on right place

kwladyka19:05:15

If you put wrong guy to the job he will fail not only because of experience, but also about his personality

kwladyka19:05:03

team need to have mix of experience and personalities, but it is hard to achieve

kwladyka19:05:31

people in team changing in time 😉

kwladyka19:05:01

@d4hines ^ from another point of view, which we probably miss in discussion

Daniel Hines19:05:27

That’s hard for me to grasp, seeing I’ve never done any management, but I’m sure you’re right @kwladyka, there must by psychological/social elements to it.