Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008094Part 01: TTCN-3 Core LanguageNew Featurepublic04-05-2022 09:0326-01-2024 16:25
ReporterMatthias Simon 
Assigned ToJens Grabowski 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008094: Provide a canonical style for source code layout
DescriptionA 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, ...).








TagsNo tags attached.
Clause Reference(s)none so far
Source (company - Author)Nokia - Matthias Simon
Attached Files

- Relationships

-  Notes
(0016226)
Jens Grabowski (manager)
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 (manager)
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 (developer)
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 (administrator)
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.

- 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


MantisBT 1.2.14 [^]
Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker