Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [naming]

A general purpose tag to cover anything concerning naming, be it files, programming constructs, data etc.

naming
1 vote
1 answer
35 views

Why not reuse a class name for an instance of the class in python? [closed]

I want to get singleton/module-like behavior without the hassle of imports. Are there any issues with just creating a class and then reusing its name to prevent other instances of the class? For ...
Nathan Bevan's user avatar
0 votes
1 answer
37 views

How to suppress warning for all derived types?

I have an ITemplate interface in my project. All interfaces derived from it have names that do not start with I. This causes the InconsistentNaming warning to appear. I want to suppress this warning ...
C6OI's user avatar
  • 3
-1 votes
0 answers
16 views

How you call non inclusive upper bound with the index TO+1?

Imagine you store subsequence in a file, e.g. 10 elements from the element with index 10. So you call the file FROM_10_TO_19. Then you realize 19-10 is not actual number of elements so you would like ...
VojtaK's user avatar
  • 610
2 votes
1 answer
77 views

Associated type (type parameter) naming convention

Rust's official naming guidelines suggest that we should use concise UpperCamelCase, usually single uppercase letter: T. But I have a trait with several associated types. Is it okay to use acronyms ...
bkc4's user avatar
  • 53
0 votes
1 answer
98 views

How to register celery class based task with a custom name in 5.x?

Architecture: Flask app running in its own container, Celery running in its own container. Message broker is Redis. This is all python btw. Problem: I cant figure out how to register a class based ...
Dave's user avatar
  • 1,036
0 votes
1 answer
33 views

Which url name should be used for api performing the membership withdrawal function

Q1. Is it okay to use the word "deregistration" in the API specification, or should I use "signout"? Which one is better? Q2. And I wonder if the actual logic of membership ...
정재연's user avatar
0 votes
0 answers
18 views

Variable or pattern name for method arguments as both input and output parameter

When I have an ecryption method parameter that acts as an input and output parameter, is there a convention on how to name such parameters? Or, more general, when I have a method that completely ...
johannes's user avatar
0 votes
0 answers
14 views

Error when attempting to set a Worksheet name from a user defined list

I am trying to send user submitted data to up to two different worksheets in excel using vba macro. I am a beginner and very much still learning the program / vba. I believe I am using the wrong ...
Joseph Schmidt's user avatar
1 vote
1 answer
66 views

Conventions for Swift protocols [closed]

I have a class called NetworkInterface - and I want to make this class testable. The way to do this in Swift means I should extract a protocol from it? My quandry is, what do I call this protocol? I ...
horseyguy's user avatar
  • 29.7k
0 votes
0 answers
34 views

Custom MIME Type Iconpack (glTF)

If one was to build or edit an icon pack for GNOME, and one wanted to add icons for filetypes that would be recognized, you would have to put your .svg in a folder where the MIME types are stored. ...
liminalFrog's user avatar
1 vote
0 answers
18 views

Naming classes on a framework that present multiple platforms

Our company has recently started developing a new UIKit. This framework is being developed using the atomic design methodology and is present on three different platforms: web, iOS, and Android. In a ...
Emre Aktürk's user avatar
  • 3,336
0 votes
0 answers
87 views

Where ReSharper naming rule is defined which prohibits using the prefix "Default" in type names, property names, constant names...?

I have the following class with const names and property names starting with Default prefix: public class ComputeInfo { // ReSharper disable InconsistentNaming public const string ...
g.pickardou's user avatar
  • 34.8k
-1 votes
1 answer
24 views

how to name a Master on a raspberry

I've a simply question. I need to build a MASTER for a raspberry, so i need to make an image of my OS with my own configuration and some specific software installed on it. Afterwards we must deploy ...
guiguietben's user avatar
-1 votes
1 answer
149 views

What is the difference between Resolver and Service in java [closed]

I have a general question , i noticed that some people are naming classes as Resolver in spring boot application , but in functionality it os the same as in services , the only difference is the ...
user's user avatar
  • 41
3 votes
1 answer
108 views

How do I name controllers which are related to multiple entities in REST?

I want to rename and re-route controllers to make them more "RESTful", and I encountered a problem. Let's say I have ItemsController, the route is api/items. Then I have VersionsController, ...
Jamil's user avatar
  • 890

15 30 50 per page
1
2 3 4 5
115