Live data from Hacker News

I'm a Tech Lead, and nobody listens to me. What should I do?

world.hey.com

31–40 of 136 posts

Re: I'm a Tech Lead, and nobody listens to me. What should I do?

#31
post #11

Earlier quoted context omitted.

> hexagonal architecture God help me. Was on a project where this was used to justify so much extra boilerplate. Every class had an interface, and then we used dependency injection to supply the class to something expecting that interface. Actually, it was in Rust, so there were no classes, but that didn't stop us. Absolute waste of time.

Sounds like a regular setup, at least this is very common in modern C#/.NET when you implement REST services. Nothing to do with Hexagonal Architecture, just inversion of control. There is a very thin DI container baked into ASP.NET and the pipeline. Do you have to use that? No, but it gets complicated very quickly if you don't. So any project that is more than a tech demo/eval uses DI. In other languages/frameworks…

I don't know much about C#, but in Rust this is very much not the norm. In fact, there are technical limitations associated with async traits. This sometimes allowed us a reprieve from the madness, but only sometimes. I guess you can write enterprise Java in any language.

The entire idea was to make it easier to mock components and therefore easier to test code, however all the code connecting the components became untestable, so we were back to square one, struggling to meet our test coverage quota because of the massive amounts of boilerplate.

Re: I'm a Tech Lead, and nobody listens to me. What should I do?

#32

I've been tech lead at different companies. Every time I switched companies, I started out as senior dev and got promoted into the team lead role again; each time with full support of my team. I don't look or act like a leader and this has been a hurdle for me. But what typically happens anyway is; within a few months, my code ends up being a core part of the project; my modules become heavily depended upon and someh…

I don't understand why that is a logical progression. Writing good code and leading a team needs vastly different skill-sets in my eyes.

I would argue that the two skills are necessary but not sufficient. If you’re lacking in the core skill, what exactly are you leading? If you’re a great coder and socially inept, good luck leading.

Re: I'm a Tech Lead, and nobody listens to me. What should I do?

#35

I've been tech lead at different companies. Every time I switched companies, I started out as senior dev and got promoted into the team lead role again; each time with full support of my team. I don't look or act like a leader and this has been a hurdle for me. But what typically happens anyway is; within a few months, my code ends up being a core part of the project; my modules become heavily depended upon and someh…

As the other commenters stated, it is not clear what is the point. Writing good code and being a tech leader are very different positions with very different technical skills. I was a tech lead in a few cases (different companies or different departments of a very large company) and I was not the top developer there, my job was not to be one. I worked with developers that were much better than me that were not a good fit for a tech leader.

Re: I'm a Tech Lead, and nobody listens to me. What should I do?

#37
post #11

Earlier quoted context omitted.

> hexagonal architecture God help me. Was on a project where this was used to justify so much extra boilerplate. Every class had an interface, and then we used dependency injection to supply the class to something expecting that interface. Actually, it was in Rust, so there were no classes, but that didn't stop us. Absolute waste of time.

Sounds like a regular setup, at least this is very common in modern C#/.NET when you implement REST services. Nothing to do with Hexagonal Architecture, just inversion of control. There is a very thin DI container baked into ASP.NET and the pipeline. Do you have to use that? No, but it gets complicated very quickly if you don't. So any project that is more than a tech demo/eval uses DI. In other languages/frameworks…

DI yes. All the crap under the name of "Clean" Architecture - no.

Re: I'm a Tech Lead, and nobody listens to me. What should I do?

#38

At previous corporation, the tech lead simply recommended for sackings a developer who was questioning his approach. Once he got sacked, everyone listened... ...and then most of best skilled people left in the following weeks. Tech lead then hired his mates and company nose dived.

must be an idiot that tech leads boss

In most non-IT corporations, the managers are non-technical and most are idiots these days. It comes from the MBA hires getting in management roles where they don't understand the area, what Steve Jobs calls "bozos" in his interview (available online).

Re: I'm a Tech Lead, and nobody listens to me. What should I do?

#39

I've been tech lead at different companies. Every time I switched companies, I started out as senior dev and got promoted into the team lead role again; each time with full support of my team. I don't look or act like a leader and this has been a hurdle for me. But what typically happens anyway is; within a few months, my code ends up being a core part of the project; my modules become heavily depended upon and someh…

I don't understand why that is a logical progression. Writing good code and leading a team needs vastly different skill-sets in my eyes.

On the other hand, if you want to lead a bunch of engineers, you should know their work very well, otherwise you will have unrealistic ideas about what can get done and how they should do it.

Re: I'm a Tech Lead, and nobody listens to me. What should I do?

#40
post #31

Earlier quoted context omitted.

Sounds like a regular setup, at least this is very common in modern C#/.NET when you implement REST services. Nothing to do with Hexagonal Architecture, just inversion of control. There is a very thin DI container baked into ASP.NET and the pipeline. Do you have to use that? No, but it gets complicated very quickly if you don't. So any project that is more than a tech demo/eval uses DI. In other languages/frameworks…

I don't know much about C#, but in Rust this is very much not the norm. In fact, there are technical limitations associated with async traits. This sometimes allowed us a reprieve from the madness, but only sometimes. I guess you can write enterprise Java in any language. The entire idea was to make it easier to mock components and therefore easier to test code, however all the code connecting the components became u…

What is the default way in Rust to write REST endpoints and have the REST endpoint use/create handles to your database transaction that is bound in scope to the underlying HTTP request? (i.e. transaction lifetime and commit/rollback is linked to the HTTP request succeeding)
Post reply on HN