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
1 answer

Is there a generic functional programming name for the following operation

Through composition in my C# code I've ended up with a type IObservable>> events; where Maybe is the option monad and IObservable is the reactive monad. Now I want to transform this into IObservable> flatEvents; which…
bradgonesurfing
  • 30,949
  • 17
  • 114
  • 217
0
votes
0 answers

Naming columns of coefficient matrix in a VAR

I am searching for a fast and simple way to give comprehensible names to the columns of a VAR-coefficient matrix. What I would like to use is the function VAR.names, which is used in the function VAR.est() in the VAR.etp-package. When I use the…
0
votes
1 answer

Objective C naming convention for method performs an action and returns a value

I have a method that performs an action and returns a value. For example from the input number it will update class's input history, then generate and return an input record. So how do I name this method? I think even C has this problem, e.g. fopen…
Qiulang
  • 10,295
  • 11
  • 80
  • 129
0
votes
1 answer

Same name for function and method, cannot call the former within the latter

I'm trying to use the same method name for both a function and a method (a function of an object) and calling the function from inside the method. However, the function does not get called at all. These are the relevant bits of the…
Francisco Presencia
  • 8,732
  • 6
  • 46
  • 90
0
votes
3 answers

JAVA : Interface naming practices and guidelines

Need brief answers on Java interface naming pattern. Why most JAVA Interfaces name suffix has "able" ? For e.g java.io.Serializable java.lang.Cloneable java.lang.Comparable java.lang.Runnable I have explored and read that its because to…
Arun Kumar
  • 6,534
  • 13
  • 40
  • 67
0
votes
1 answer

Enforcing tag naming convention in svn

I am trying to write a pre commit hook script to enforce a tag naming convention like this ___ using a shell script. Can anyone guide me to a doc/link reference which I can follow and can create one. I have…
Aman
  • 357
  • 2
  • 5
  • 17
0
votes
1 answer

onCollsionEnter specifying objects?

I'm currently making a infinite runner type game for a class project and I need some help with collisions. The game is set up as a 2d platform where a character is running (or made to look like they're running with a scrolling texture) through an…
0
votes
1 answer

Name of a document which provides information about the database logical design?

I've been looking around for a while but didn't happen to come across any official name (not even an unofficial one) of a document that summarizes all the tables in the database structure including the field names and a brief description of the…
TMNuclear
  • 1,175
  • 5
  • 25
  • 49
0
votes
1 answer

Assigning numbers to ng-repeat directive's item name

I have a recursive AngularJS directive, which is nested within itself lots of times. The problem is that it isn't working correctly because the names of items in ng-repeat are exactly the same as in outer element. It is a bit hard to understand, so…
amenoire
  • 1,892
  • 6
  • 21
  • 34
0
votes
1 answer

Writing and Renaming a file that has been read and modified

I have an assignment that requires me to write a program that reads in an image given at the command line (image is saved in the project folder prior to running the program), then tile and change the colours around on the image and save this new…
user3405010
  • 21
  • 1
  • 4
0
votes
2 answers

Variable naming (linq predicates)

I am used to for(int i = ...) for(int j = ...) for(int k = ...) If more than 2 nested indexes, then I give some of them proper names (item, obj, parent, window, etc.). Then I am used to events with e as event argument and…
Sinatr
  • 20,892
  • 15
  • 90
  • 319
0
votes
1 answer

Python 2.7 NameError: name 'ax1' is not defined

I have Python 2.7 Win 32 and have installed Matplotlib, Numpy, PyParsing, Dateutil. In IDLE I place in the following code: import matplotlib import matplotlib.pyplot as plt import matplotlib.ticker as mticker import matplotlib.dates as mdates import…
Ben the Pyro
  • 51
  • 1
  • 4
  • 11
0
votes
1 answer

Fail to save all byte array to png picture by naming them with timestamp

I tried to save all blobs into png picture but when I named the png with current time stamp, it seem like the saving process has timeout and only success for the last blob. If I put 2 seconds delay, only it can save all. reportthread_image is…
V-SHY
  • 3,925
  • 4
  • 31
  • 47
0
votes
1 answer

Name custom LinkedList type

This is a question of Best practices. I have implemented a LinkeList (https://github.com/ivanseidel/LinkedList) and it works fine. The thing is, I'm writing a code that is repeatedly having things like: LinkedList, which in my case, is a…
Ivan Seidel
  • 2,394
  • 5
  • 32
  • 49
0
votes
1 answer

Purpose of two JS functions with the same name (duplicate function name)

I'm taking a look at some existing code on our contact form, and it seems one of our JS guys has put two functions with the same name, one after the other. Can anybody advise how/if both these functions might execute? function…
Barney
  • 1,820
  • 5
  • 29
  • 50
1 2 3
99
100