canpolat

joined 2 years ago
MODERATOR OF
27
Learn Git Branching (learngitbranching.js.org)
submitted 8 months ago by canpolat to c/git
[–] canpolat 1 points 1 year ago* (last edited 1 year ago)

In his NDC talk, Philippe De Ryck provides a good summary on why we should:

  • no longer use the implicit grant
  • use backend-for-frontend for security-sensitive web applications
[–] canpolat 1 points 1 year ago

You don’t get to laugh a lot while watching a conference talk on DDD. I highly recommend this very dynamic talk by Alberto Brandolini at DDD Europe. Event Storming and pineapple don’t mix well.

[–] canpolat 3 points 1 year ago

What checkout actually does. Here is a past comment with links to the courses (they are pay-walled, unfortunately)

[–] canpolat 2 points 1 year ago (1 children)

I don't think I read that one. I created a separate link-post for that one. Thanks.

[–] canpolat 6 points 1 year ago (2 children)

Mine happened when I watched Paolo Perrota's Git courses on Pluralsight. That's when it clicked for me.

[–] canpolat 1 points 1 year ago

This is a fun way to explain how technical debt accumulates in our systems. Not having good understanding of the domain results in low code quality and difficult to maintain code bases.

After the talk, one of the contributors says “you are preaching to the converted.” But we, engineers, need to learn how to communicate these concerns with the rest of the organization.

[–] canpolat 1 points 1 year ago

Good talk. Watching refactoring is fun.

I feel like most of what he talks about is common knowledge now. But then again, I stumble upon code written by experienced developers that is just like the one he started with: unclear responsibilities, poor encapsulation, etc. What is even worse is: I sometimes catch myself writing code like that :)

What we do requires continuous attention to detail. We sometimes get tired or lose focus. And that may result in poor quality code. However, that’s only one reason to end up with such code. I think the other (and more common) reason is accumulating functionality. Einar Høst’s talk about technical debt touches upon that aspect. You start with a beautiful model. But then if statements start raining on it. If we are not diligent, we end up with a mess.

[–] canpolat 6 points 1 year ago

I mainly develop in C#, and I agree that having to write so much boiler plate for type safety is really boring. C# is not perfect either (it doesn't have discriminated unions, etc.) but at least it gives type safety out of the box.

However, in general, I think enums are widely misused. I see a lot of cases where they should have been classes with a factory, but ended up being enums with a lot of static functions and switch statements.

[–] canpolat 1 points 1 year ago (1 children)

Looks cool, but I think there may be two problems with this approach:

  1. Having traces for all methods with all parameters would be a problem for sensitive data.
  2. He doesn't mention performance impacts, but I suspect this would impact performance.
[–] canpolat 4 points 1 year ago* (last edited 1 year ago) (1 children)

Because it is about a not-very-well-known feature of the language. Why would it matter that it's old? I don't think I have ever seen this in use in production code.

[–] canpolat 17 points 1 year ago

Who is this particular developer

As far as I understand from the discussions about the topic, Maxim Dounin was one of the few core developers of nginx. Looks like Wikipedia has already been updated.

[–] canpolat 4 points 1 year ago (1 children)

I suppose you are right. If AWS doesn't support STS versions, these will be only applicable to Azure (I know nothing about GCP). It probably makes sense for AWS to stick to LTS versions (I would do the same). But isn't that a choice made by AWS (rather than Microsoft).

view more: ‹ prev next ›