[-] Kissaki@programming.dev 3 points 9 months ago

your link is broken

[-] Kissaki@programming.dev 3 points 10 months ago* (last edited 10 months ago)

and figure out whether the new framework with a weird name actually addresses

Couldn't name what this is about in the title, nor in the teaser, I guess?

"Latest hotness" and "the new framework with a new name" isn't very discerning.

[-] Kissaki@programming.dev 3 points 10 months ago

The readability and obviousness of XML can not be overstated. JSON is simple and dense (within the limit of text). But look at JSON alone, and all you can do is hope for named fields. Outside of that, you depend on context knowledge and specific structure and naming context.

Whenever I start editing json config files I have to be careful about trailing commas, structure with opening and closing parens, placement and field naming. The best you can do is offer a default-filled config file that already has the full structure.

While XML does not solve all of it, it certainly is more descriptive and more structured, easing many of those pain points.


It's interesting that web tech had XML in the early stages of AJAX, the dynamic web. But in the end, we sent JSON through XMLHttpRequest. JSON won.

[-] Kissaki@programming.dev 3 points 2 years ago

Your git repo might get very big after some time. Especially if you move files.

Moving files does not noticeably increase git repo size. The files are stored as blob objects. Changing their path does not duplicate them.

[-] Kissaki@programming.dev 3 points 2 years ago

Thank you for sharing. Your views and experience were very interesting and insightful.

I wanted to pick up on some of your points, but I can't seem to grasp fitting responses or meaningful thought continuations.

[-] Kissaki@programming.dev 3 points 2 years ago

Infrastructure configuration that is automatically applied to the cloud infrastructure. Like starting and stopping new instances and services, changing connections between them, etc. (I assume anyway.)

[-] Kissaki@programming.dev 3 points 2 years ago

I'm not afraid of no GUI

[-] Kissaki@programming.dev 3 points 2 years ago

I strongly and broadly disagree, both with the premise and the argumentation they do.

But first off, and because it's significant to the argumentation; Why is their entire argumentation in line-based diffs, but when I go to their homepage I see screenshots of inline diffs?

Inline-marking of differences are incredibly powerful. Programming language aware diffing should make use of understanding to support the highlighting, with the option to ignore different levels of irrelevance at the users choice.

I don't want anything hidden. I want to default to every difference shown, but put side by side as much as possible, with different levels of highlighting of the differences according to their relevance and significance.

I want to default to every difference shown, but have alternative options to ignore things. I want to have the option to ignore whitespace changes, and potentially additional options to ignore more (this is the opportunity semantic understanding could bring, in addition to the line and change matching).


TortoiseGitMerge allows me to choose between

  • Compare whitespace
  • Ignore whitespace changes
  • Ignore all whitespace changes

I default to the first, but regularly switch to the second and third, when indents change. They are irrelevant when assessing the logical changes. But whitespace is still significant in laying out code. It's both significant, but for different reasons, and as different layers and layers of assessment.

All that being said, we don't use an enforced automatic formatter.

But also, we use whitespace, line breaks, and other syntax consciously. Readability takes precedence over consistency. I hate hard character limits on lines. Sometimes the vertical structure is much more significant to readability than an arbitrary (and often narrow) line character limit.


One example:

Do you write

if (error != null) return error;

or do you write

if (error != null)
    return error;

or do you write

if (error != null)
{
    return error;
}

I dislike the second because its semantic structure not very obvious and somewhat error prone. For simple early returns like this, I prefer the first. But in cases where it's not a simple and short return, the third can be preferable despite being only one statement.

Automated formatters often can't do one or the other alternatively, and sometimes don't allow ignoring one rule.

[-] Kissaki@programming.dev 3 points 2 years ago

How did it change how I think about version control? Not much? The goals are still the same. It only does many things better than previous centralized tools.

When DVCS came up and became popular, I used Git and Bzr.

At work, we used subversion. In one project, we had one SVN repository in our office and the customer had one in their office. A colleage had created a sync util. We regularly synced all history into an external hard drive, drove to the customer, and merged it there. Required a thorough and checklist process, potentially conflict resolution, and changelog generating for the big merge commit. Then drive back to the office, and merge back there.

Of course sometimes you used remote desktop to hotfix changes in their code base. Meaning you'd now have the change in two places as different commits.

Anyway, I've never found Git difficult. I used it, learned and understood it, and it's consistent. I know enough "internals"/technical details to understand and use it well and without confusion.

[-] Kissaki@programming.dev 3 points 2 years ago

tl;dr: They merged the code of an unmaintained dependency into their project.

I don't think I can take anything else away from it.

[-] Kissaki@programming.dev 3 points 2 years ago* (last edited 2 years ago)

T4, small scripts, text search and replace, multicursor editing if that counts, dotnet code generators

Preference depends on the context.

"Modify" isn't really generating though, so I'm not sure whether your question is clear (to me).

view more: ‹ prev next ›

Kissaki

0 post score
0 comment score
joined 3 years ago
MODERATOR OF