Questions tagged [naming]

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

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

1723 questions
0
votes
2 answers

What do I call the object-hierarchical "path" of JSON attributes / properties / members and what is their standardized name?

Consider I have following typed JSON objects: Parent: { "field1" : "Value of field1" "fieldC" : {Child} } Child: { "field2" : "Value of field2" } Q: What do I call field1 and field2? Just Strings? Q: What to i call the "path"…
straville
  • 986
  • 3
  • 15
  • 21
0
votes
2 answers

What does `pos` mean in the Linux kernel's list.h

The Linux kernel's list.h provides a number of macros for iterating over a its own linked list implementation. For example: /** * list_for_each - iterate over a list * @pos: the &struct list_head to use as a loop cursor. * @head: the…
ybakos
  • 8,152
  • 7
  • 46
  • 74
0
votes
0 answers

How to understand the result of c(tst=1:3)

> 1:3 [1] 1 2 3 > c(1:3) [1] 1 2 3 > test=1:3 > test [1] 1 2 3 > str(test) int [1:3] 1 2 3 No surprises so far. > bb <- c(tst=1:3) > bb Expected: int [1:3] 1 2 3 or [1] 1 2 3 . > str(bb) Expected: Named int [1:3] 1 2 3 - attr(*, "names")= chr…
andrewH
  • 2,281
  • 2
  • 22
  • 32
0
votes
1 answer

Why do some developers randomize assets names in web pages

When I'm surfing on Internet I do like to have a quick look at the code of at least one page before leaving websites I visit. But there's something I see often and ( that may be for security purpose but I want to be sure) is that the name of assets…
todeale
  • 101
  • 3
0
votes
3 answers

R automatically use data table name in output

I have a loop in which I want to create a character vector of output file names by combining elements in rasnames with "_unc.tif" rasnames = list("Wheat","Sbarley","Potato","OSR","fMaize") I tried for (i in 1:length(rasnames)){ filenm <-…
B.Wel
  • 86
  • 10
0
votes
1 answer

Prism RequestNavigate behavior

I am in prism just for 2 days know, so don't judge me for any false assumptions when trying to explain the following navigaton problem. Let's say we have just 1 region and 2 different views. View A is loaded to that region from start up by a custom…
stiefel
  • 1
  • 2
0
votes
1 answer

What Is the Name of an Object Created in a WITH Clause in a Materialized View in Postgres?

I am having a hard time searching through PostgreSQL documentation to find the right terminology to associate with table/view creation within the WITH clause of a MATERIALIZED VIEW. For the following matview (the AS WITH clause is the point of…
Todd
  • 2,824
  • 2
  • 29
  • 39
0
votes
1 answer

Naming .net namespace

I'm working on an ASP.NET Core Middleware and am concerned about the namespace naming. I'm planning on use AspNetCore.MyMiddlewareName and I would like to publish it in Nuget but not sure if I'm allowed to use that "AspNetCore" part of the name. So,…
nyrd
  • 478
  • 3
  • 9
0
votes
1 answer

Naming method: send_auto_reply() vs send_autoreply()

I am unsure whether to name a method send_auto_reply() or send_autoreply(). What guidelines can be applied here? It's Python, but AFAIK this should not matter.
guettli
  • 25,042
  • 81
  • 346
  • 663
0
votes
1 answer

mutable naming list elements at initialization without eval(parse(paste()))

My question is similar to How to add variable key/value pair to list object?. I want to give a list element a mutable name according to the value of a variable. But I do not want to rename the list, but name it correctly right at initialization (I…
Qaswed
  • 3,649
  • 7
  • 27
  • 47
0
votes
1 answer

Naming a method that forms an object in memory from multiple sources

Let's say that I need an object that describes a person and his possessions. The returned object from this method will have the following JSON structure: { "name":"John Doe", "age":22, "posessions":[ { "type":"car", …
0
votes
1 answer

Naming elements of a list as a function of x in r

Here I am trying to name the individual elements of this list as a function of x so that I may index it later like one would with a dataframe or vector, yet I keep getting the error message Error: unexpected '=' in "Indxlist <- sapply(1:1600,…
Zach Eisner
  • 114
  • 9
0
votes
1 answer

Should I name desktop and LAN folders and files just like web folders and files? Why or why not?

For naming web folders and downloadable files, there's a standard list of characters to avoid, such as blank spaces and things like (&*#$/)|[{, etc. Are there any good reasons to carry those conventions onto your desktop and/or non-web files and…
Milo Persic
  • 985
  • 1
  • 7
  • 17
0
votes
1 answer

Does TypeScript has variable names escaping feature like backticks in Scala for literal identifiers?

Does TypeScript has variable names escaping feature like backticks in Scala for literal identifiers: `0029-otherwise-illegal-scala-literal` See Scala explanation in Need clarification on Scala literal identifiers (backticks)
Artem Oboturov
  • 4,344
  • 2
  • 30
  • 48
0
votes
0 answers

I can't get into the class or function with Crtl key

I think my problem lies quite deep and I dont know if somebody can help, but... This is my Application structure in my Zend project: Application Models DbTable configs controllers layouts views In Models directory i…