oraphalous
For a lot of people, they have no need to ship production grade software that scales to babel. But a custom script that solves an immediate business need is a common thing.
I think that aim is more important than the harm learn to code might have caused our profession. And for similar reasons, I feel the agency AI brings to individuals is something that shouldn't be discounted either. No idea what the total calculus on cost benefits turns out to be, but I would hope this benefit is not missed.
I think we are pretty close to agreement here. I'd be interested in what you have experienced in the realm of front-end testing though - whether you think things are just as cut and dried in that realm (that's another discussion though).
And I'll also accept the point about skill in test writing that improves the cost-benefit analysis. I'll also cop to not having that kind of practiced ability at testing to the level I would personally like. But it's chicken / egg. A lot of folks get their start at scrappy start ups that can't attract the best talent. And just can't afford to let their devs invest in their skills in this way. Hell - even established companies just grind their devs without letting them learn the shit they need to learn.
I feel a victim of this to some degree - and am combating it with time off work which I can afford at the moment. One of the things I'm working on is just understanding testing better - y'know, so I can in the future write a SKILL.md file that tells Claude what sort of tests it should write. lol...
It's not that I disagree with you essentially - or particularly with respect to your analysis of your specific examples. 100% in the cases you describe. Those sound like beneficial tests. Particularly because your example SPEAKS to the business case - users were using the help docs (I think you mean users anyway). So yeah - that's important.
But I don't know why it's so hard extracting a simple acknowledgement of what I'm pointing out - specifically that the decisions like implementing tests IS a cost-benefit decision dependent on business context.
Funny you mention auth testing though. One time both me and the tech lead broke one of the auth flows in production within the space of a week of one another. Yep - no tests. Feel free to judge us insane. But here's how we thought about it - and when I say "we" that includes the business. First of all the auth flow was not actually used by any active users, so damage was low. Two man dev team. Complexity up until that point had been low, pre-product market fit, sales were dogshit, and cash had been low for some time. Feature shipping was the 110% priority. Ok - but these bugs were a sign complexity had increased beyond what we could manage without some tests. And given the importance of auth, it was now easy to make the case to leadership that implementing an e2e test suite was worth it. So we did.
If you still think a decision making process like that is insane - because we didn't immediately implement tests for every shipped feature. Well - I just think you're wrong.
If you think this distinction really matters wrt the point I'm trying to make, then it's time for you and I to bug out conversationally. Sometimes two individuals have such different ways of communicating that the pain of exegesis isn't worth the squeeze. No hard feelings. I'm sure 50% responsibility is at least mine, but it's not going to be worth it for either of us figuring out exactly what.
That may have been spectactular naivete but it's not insanity.
The point I keep coming back to here that everyone is fighting me so hard on is that these blanket statements of: NO TESTS IS NUTS... absent of an understanding of the business context... is harmful.
He edited his reply to me multiple times... which is what made me suspect an edit to the original comment. But whatever, I'm happy to acknowledge his original intent even if he did state it more harshly.
>What we really don't need is paragraphs of someone arguing because their own definitions differ slightly from the OP
This is unnecessary. OP came out with "AUTHOR IS INSANE" even on the most generous of interpretations. Even if we allow for nuance OP is claiming, there is little constructive about his contribution. I feel fine about calling it out.
And I still feel the original comment doesn't give this point enough weight.
I'd still push back on your hyperbole though. I don't think the author was insane - and we don't know what the broader business context was when they started growing the team and decided to persist without building out the test architecture at that point. They made a call that dogfooding was going to be enough to catch issues as they grew the team. There are a lot of scenarios where that is going to be true.
One scenario where it wouldn't - the most likely - is that the team isn't actually dogfooding because they personally don't find the product useful. Leadership lambasts them to use the product more... but no one does cause it sucks so much it impacts their own personal productivity.
Even there I wouldn't use the word insane... just poor leadership.
If you are a two man startup, burning through runway and pre-product-market fit... then spending a lot of time on tests is questionable (although the cost-benefit now with AI is changing very fast).
What I find "insane", "dogmatic"... about your comment is the complete elision of this process of cost-benefit analysis, as if there should never be such an analysis.
I've worked with a lot of people like you. When a discussion begins about a choice to be made, they just stampede in with "THIS IS THE RIGHT WAY". And the discussion can't even be had.
This sort of "dogmatism" is so rife if engineering culture, I wonder if this is why the c-suite is so ready to dump us all for AI centaurs that just fucking ship features. How many of them got burned listening to engineers who refused to perform even the most basic of cost benefit analyses with the perspective of the business as a whole in mind and forced the most unnecessary, over-engineered bullshit.
I worked at one startup where the tech lead browbeat the founders into building this enormous microservice monster that took them years. They had ONE dev team, ONE customer, and the only feature actually being used was just a single form (which was built so badly it took seconds to type a single character in a field cause the React re-renders were crazy).
Now THAT's insanity.
I'm a frontend specialist developer currently taking some time off to reskill - and trying to decide exactly which direction to go. My thinking was that I would need to lean into design and product - leverage my technical knowledge in building interfaces to be able to inform the product side. Knowing what is easy or hard to build hopefully would speed up the product side.
If China is leap frogging the west technologically, then it can still only be a very recent fact. It stands to reason that their current innovations will be developed on top of much of what they learnt from the west.
That doesn't mean that a particular innovation does not deserve to be counted as an example of their progress, just because that innovation was on the shoulders of western tech. Most progress is done on the shoulders of others anyway. So I don't feel examples like this should be discounted.
But also - there are a lot of dimensions to think about here. For example, one dimension is the raw development of a technology. Maybe China has not developed so much newer tech (although I'm reading much to the contrary in this respect also). But another dimension is the economics involved in implementation. With scale comes so many advantages. Business models that just aren't economical in Western countries can thrive in China.
There was one example that really struck me. I was at a mall with my partner and her friends (who live in Guangzhou). Those friends wanted to order something to drink. One of them got out their phone, ordered those drinks and had them delivered outside the mall. This was less effort and cost in their minds than actually wandering around the mall trying to find the drinks they wanted. Heaps of people just get their morning coffee delivered.
You might not think this example is a good demonstration of technological superiority. Every country has the phone and internet tech for goods delivery. But that they can leverage the technology to this degree is only be possible where the cost of delivery is so low - as it is in China.
So yeah - raw innovation is one dimension, but opportunity for implementation is another very important one as well.
I was there a few months ago in Guangzhou, it was stunning to see how many EVs were on the road. You can tell too - because they have a distinctly coloured license plate.
The scale that China can achieve is just mind boggling. We went into a giant mall - 7 levels. And it was all just jewellry. A whole mall! Blew my mind. Apply that sort of scale to technological development. They can do things other countries just can't because of that scale. Here's another example of a data center they just built:
https://www.youtube.com/watch?v=eUVF8crDZ7g
I get the sense that some people are just starting to really cotton on about what China is really becoming - for example that recent review from Marques Brownlee of the Xiaomi EV.
But still - most of the narrative in the west seems to be doomerism about their demographics and real-estate over investment. We will see.
It's going to be interesting to see if China can offset its oncoming demographic challenges with their technological progress.
Eventually - for how many of these AI companies would a person have to track down their opt-out processes just to protect their work from AI? That's crazy.
OpenAI should be contacting every single one and asking for permission - like everyone has to in order to use a person's work. How they are getting away with this is beyond me.
On the one hand you have gurus claiming that AI agents are going to all make all SaaS redundant, on the other claiming that AI isn't going to take my coding job, but I need to adapt my workflows to incorporate AI. We all need to start preparing now for the changes that AI is going to cause.
But these two claims aren't compatible. If AGI and these super agents are that bonkers amazeballs that they can replace entire SaaS companies - then there is no way I'm going to be able to adapt my workflows to compete as a programmer.
Further, if the wildest claims about AI end up proving to be true - there is simply no way to prepare. What possible adaptation to my workflow could I possibly come up with that an AI agent could not surpass? Why should I bother learning how to implement (with today's apis) some RAG setup for a SaaS customer service chatbot when presumably an AI agent is going to make that skillset redundant shortly after?
I'm going to be interviewing for frontend roles soon, and for my prep I'm just going back to basics and making sure I remember on demand all the basics css, html, js/ts - fuck the rest of this noise.
---
Good times...
If everyone like you attempts to rail road the imaginative process at the beginning of hypothesis formation, then we'll never get to the point of being able to exhibit one, should one be possible.
The demand for rigour at this point in a discourse - which was pretty clearly signalled by the commenter to be offered at a stage prior to substantive hypotheis formation - just shuts down the imaginative process. It's not constructive.
Still these people are criminals and clearly need to be treated as such. To say there are larger problems doesn't at all diminish the need to deal with criminals as we do in ALL walks of life.
Instead the whole thing seems to have gone in the direction of lofi social stuff - which only the relentlessly computer bound will ever desire. I don't get the argument at all that this is THE mainstream path to mass adoption. Who thinks that if they really succeed in siphoning off a significant portion of REAL world interaction into this simulated lofi hell that this is going to be a great way to live? I mean really.
There is only one VR experience that really blew me away. It was a free demo of Deckard's apartment in blade runner. You could go out on the balcony and see the city with a flying cop car going past on a loop. Vangelis playing in the background... It was breathtaking. I setup my area so I could sit on my couch, on this balcony, with a glass of whiskey in reach, watching that cop car fly past for ages.
Rights holders made the demo maker take it down.
I wonder if among civilisations generally in the universe, this resentment is so common, it could be counted as a "hard step" in Robin Hanson's grabby aliens model.