ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0008094 | Part 01: TTCN-3 Core Language | New Feature | public | 04-05-2022 09:03 | 16-12-2024 11:11

Reporter | Matthias Simon |
Assigned To | Jens Grabowski |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | resolved | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version |  | Fixed in Version |  |
Clause Reference(s) | none so far
Source (company - Author) | Nokia - Matthias Simon

Summary | 0008094: Provide a canonical style for source code layout
Description | A clear recommendation how TTCN-3 source code should be formatted would be beneficial: * Tool-vendors had a solid ground to implement automatic formatter tools. * Less time would be spent on "bike-shedding" discussions (e.g. tabs vs. spaces). * A canonical style improves readability of TTCN-3 source code (e.g. of conformance tests, code examples, ...).
Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
04-05-2022 09:03 | Matthias Simon | New Issue |
16-08-2022 13:37 | Jens Grabowski | Note Added: 0016226 |
16-08-2022 13:38 | Jens Grabowski | Assigned To | => Jens Grabowski
16-08-2022 13:38 | Jens Grabowski | Status | new => assigned
16-08-2022 14:13 | Jens Grabowski | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
11-11-2022 13:09 | Jens Grabowski | Note Added: 0016312 |
11-11-2022 15:12 | Matthias Simon | Note Added: 0016313 |
26-01-2024 16:25 | Olivier Genoud | Note Added: 0016605 |
19-11-2024 13:47 | Jens Grabowski | Note Added: 0016694 |
16-12-2024 11:11 | Jens Grabowski | Note Added: 0016719 |
16-12-2024 11:11 | Jens Grabowski | Status | assigned => resolved
16-12-2024 11:11 | Jens Grabowski | Resolution | open => fixed

Notes

(0016226)
Jens Grabowski
16-08-2022 13:37

TTF discussion: Nice to have, possibly these guidelines may be put into an annex (style guide) together with valuable compiler switches.

(0016312)
Jens Grabowski
11-11-2022 13:09

TTF discussion: Code style should not become part of the standard. Maybe guidelines should be added to the TTCN-3 Web pages in the same manner as the already existing naming conventions.

(0016313)
Matthias Simon
11-11-2022 15:12

I might have put my CR into the wrong category/project. It is not my intention to standardize a specific code style. Adding the recommendations to the web pages is a good idea, clearly. We agree on recommending a preferred/canonical code style, but details about what style and where to put it are still to be figured out. Correct? So the next step would be creating a recommendation draft?

(0016605)
Olivier Genoud
26-01-2024 16:25

Core language shall not be mixed up with coding style guides and in general the coding style shall be project specific. Nevertheless, a configurable 'beautifier' tool could be helpful, e.g. to achieve a common indentation.

(0016694)
Jens Grabowski
19-11-2024 13:47

At least TTCN-3 standards should follow the same style rules and name conventions.

(0016719)
Jens Grabowski
16-12-2024 11:11

Dicussion continued in Gitlab