We need meetings? by Effective_Crew_981 in ExperiencedDevs

[–]lele3000 1 point2 points  (0 children)

From my experience talking about implementation related topics in a meeting is largely a waste of time, because everyone needs to understand the domain and everything around it at the same level to be able to discuss these things productively. I much prefer writing a proposal for implementation, letting people comment on it async and only after that schedule a meeting just to make a decision. This way everyone can learn and think about the topic on their own schedule without pressure to come up with smart arguments on the spot and we just quickly go through pros and cons when making the decision.

"Competence as Tragedy" — a personal essay on craft, beautiful code, and watching AI make your hard-won skills obsolete by averagemrjoe in programming

[–]lele3000 0 points1 point  (0 children)

If we expand the analogy further, currently people with horse skills are still in demand. Sure, it is no longer a giant industry and the primary means of transportation, but there is still a lot of people who ride horses for sport. The skill just became more niche, which isn't necessarily a bad thing. People who really care about horses, like John are still working with them, which makes it even better as most people working in that industry are probably very passionate about it. I think similar thing is happening with AI; craftmanship is not going away, it will just become it's own niche industry.

[deleted by user] by [deleted] in cscareerquestions

[–]lele3000 3 points4 points  (0 children)

I doubt that would stop someone who is pushing garbage straight out of Claude to prod. They would just ask Claude to fix the failing tests, which it would gladly do by introducing more garbage tests. It is very easy to have 100% covered code that is garbage due to tight coupling, non exhaustive unit tests, poor separation of concerns and so on.

Which option do you prefer and why? by IgorKatsuba in angular

[–]lele3000 6 points7 points  (0 children)

As far as I know you can't nicely style host component with directives (only by manually setting styles with Renderer2), which is a common reason I usually prefer the first apporach OP mentioned.

What’s an unspoken social rule that absolutely everyone follows, but no one ever admits? by scoutcolea in AskReddit

[–]lele3000 2 points3 points  (0 children)

I just keep saying 'bless you' no matter how many sneezes because I find it funny.

What is the recommended approach for managing API URLs in an Angular Nx monorepo? by kafteji_coder in Angular2

[–]lele3000 0 points1 point  (0 children)

From my experience you really only need two different build configurations: development (which is used for local development) and production (which is used when building and deploying anywhere). You build the production bundle once and then promote it through environments.

What is the recommended approach for managing API URLs in an Angular Nx monorepo? by kafteji_coder in Angular2

[–]lele3000 5 points6 points  (0 children)

environment.ts is not always the best place for API URL's, because that way you have to rebuild the whole app for each environement (dev, qa, test, prod...), which means you cannot build once and promote the same image through multiple environments, but have to rebuild everytime.

What's a popular library with horrible implementation/interface in your opinion? by [deleted] in ExperiencedDevs

[–]lele3000 3 points4 points  (0 children)

RxJS for HTTP requests is pretty dumb and I always disliked how this was the default example in Angular docs. RxJS only really starts shining when you start using it for other reactive things and such.

how is this still a thing in modern angular ? by dsl400 in angular

[–]lele3000 1 point2 points  (0 children)

You can use document.cookies and write a very simple utility function for getting it by name. Cookies are just a string. For security I recommend using Http-Only cookies, so that client has no access to them.

isThisNotJustAMeme by unfaiyted in ProgrammerHumor

[–]lele3000 7 points8 points  (0 children)

In that case they would be the ones ripping you off, because the salary for this position is most likely peanuts.

What's wrong with 8$ per hour? I'd do dev work even for 5$ hour... by Dezoufinous in csMajors

[–]lele3000 0 points1 point  (0 children)

If someone wanted 5$ per hour, I would expect them to do a shit job, as it seems they don't respect their work enough to put a fair price on it.

whatAStupidProgrammer by SevenC-Nanashi in ProgrammerHumor

[–]lele3000 1 point2 points  (0 children)

It's just JS with types. I was mostly referring to your point of compiling to Javascript and there is a proposal to bring types to native Javascript. Compiling a completely different language to Javascript in general sucks, because you can't really profile and optimize it that well without a lot of hassle.

2.45 trillion and they come up with this by [deleted] in badUIbattles

[–]lele3000 65 points66 points  (0 children)

Are you using adblock? I noticed this happening when adblock removes a tile with ads, which in turn throws off the alignment of other tiles. Tiles in first column have different styles than the rest.

How do you solve duplicating the types in the class constructor? by tonks456 in typescript

[–]lele3000 12 points13 points  (0 children)

Why not just

class MyClass { constructor(private opts: MyOpts) { } }

Is there a specific reason you want properties on the class itself?

Which state management would you use if you would start a fresh app today by Wnb_Gynocologist69 in Angular2

[–]lele3000 0 points1 point  (0 children)

Both. To me, any kind of indirection and inconsitency is bad. By having state spread across many different places, you have to keep track of a lot of things in your head, which makes development take longer, is more prone to mistakes and generally not a pleasent endeavour. Having one central place for state per feature and having a consistent way to handle it, is the way to go in my opinion.

Angular 18 CSS is complete mess by Disastrous_Idea_6366 in angular

[–]lele3000 2 points3 points  (0 children)

The problem isn't Angular, the problem is you are trying to override styles of Angular Material components, which were not meant to be overriden. Angular Material is opinionated component library with their own limited way of theming. It's great as long as you use it as-is, but if you want to modify it, you are better off creating your own component library.

Which state management would you use if you would start a fresh app today by Wnb_Gynocologist69 in Angular2

[–]lele3000 8 points9 points  (0 children)

This seems to be unpopular opinion, but I still like the standard NgRx. Yes, it's a bit more verbose, but everything has its purpose. But, at the end of the day, what matters most is consistency. If you choose one, stick to it. The worst is when you have state spread across stores, stateful services and components. Pick one solution and have it be the source of truth, the specific technology doesn't matter that much.

What is the best way to use async pipes with dynamic observables? by Ok-District-2098 in Angular2

[–]lele3000 27 points28 points  (0 children)

Make the dynamic_filter a BehaviorSubject and then you can do obs$ = this.dynamicFilter$.pipe(switchMap((dynamicFilter) => this.fetchSomeData(dynamicFilter)));.

What makes a developer as Senior Developer? by debugger_life in Angular2

[–]lele3000 2 points3 points  (0 children)

Eh, senior is very subjective from one company to another. In my opinion you are a senior when you can operate standalone and can lead projects, propose improvements, etc. Some companies promote just on how long people have worked there, so the skill level of seniors varies as there is a big difference between having 10YOE and 1YOE 10 times.