Skip to content
Tcl Source Code Update of ”branch/c-std-update”
Login

Update of ”branch/c-std-update”

Overview

Artifact ID: c6ac0dda8fd6e7d786c4771c0a90577dbaf46e250e923b716ad9280571e7be0f
Page Name:branch/c-std-update
Date: 2025-11-15 22:13:31
Original User: dkf
Mimetype:text/x-markdown
Parent: 9343e54eb89e939402cef30fed756b528275bb00d2fe41c9a31bb3550f02e1f3 (diff)
Next 20deb4dd2cbf0ae0625f3712171b169c34135cca3a7c82754937bb60e82cd916
Content

This branch is looking at the things we can do by adopting C11 features (as opposed to just C89) more consistently.

The following branches are derived from this one:

There is no branch for changing comment styles (/* ... */ to // ...); we can, but it makes no sense to prioritise doing so at all and it makes only the smallest of readability difference. Change when it makes sense to do it as part of some other activity, not before.

Similarly, moving variable declarations around inside functions isn't very high value and yet is very noisy. Outside of doing things like making iteration neater (where gains are stronger), it's not worth putting a lot of effort into specifically, but can easily be done incrementally as part of other work.