canpolat

joined 1 year ago
MODERATOR OF
40
submitted 3 months ago by canpolat to c/git
43
submitted 3 months ago* (last edited 3 months ago) by canpolat to c/git
 

I used CVS and ClearCase before moving into Git, and it took me some time to adjust to the fact that the cost of branching in Git is much much less than ClearCase. And getting into the "distributed" mindset didn't happen overnight.

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

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

[–] canpolat 6 points 6 months 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 6 months 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 6 months 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 6 months 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 6 months 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 7 months ago* (last edited 7 months 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 7 months 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 7 months 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).

[–] canpolat 12 points 7 months ago

The URL seems to have a typo. Correct URL is https://github.com/presslabs/gitfs

[–] canpolat -4 points 7 months ago (3 children)

I know you said "self hosted", but if you are interested in an Android app, Google Play Books does most of what you want, I think. You can upload your books, and read them on any device (with offline capabilities). But this is the Self Hosted community, so I will show myself out.

view more: ‹ prev next ›