Skip to main content

Questions tagged [notation]

2 votes
1 answer
128 views

I have created an application in which users and tasks can be entered. A task should be be assigned to one or more users. If more users can do a task, the task should be assigned in such a way that it ...
BogisW's user avatar
  • 131
0 votes
1 answer
209 views

What is the Java way to say in a text that a function belongs to a specific class? For example, when writing a C++ commit message, I say TimeInterval::toString() now uses a UTC timezone I.e., I ...
Alexander Pozdneev's user avatar
3 votes
2 answers
12k views

Coming to JavaScript from C# and C/C++ world, I'm used to decorating my private members with underscore. But a couple of JS devs I know have told me it's not common in JS world, and my code looks "...
jitbit's user avatar
  • 275
45 votes
2 answers
94k views

JSON supports the following data structures (Java equivalents): Scalar, Array/List, and Map. A Set is not supported out-of-the-box in JSON. I thought about several ways to represent a set in JSON: [...
Ron Klein's user avatar
  • 761
9 votes
2 answers
12k views

I have the following pseudocode for breadth-first search algorithm BFS(G,s) 1 for each vertex u ∈ V(G) \ {s} 2 color[u] = white 3 d[u] = ∞ 4 π[u] = nil 5 color[s] = gray 6 d[s] = 0 ...
user avatar
1 vote
2 answers
360 views

When writing for technical audiences, there are various ways to type Unicode representations, but they all seem to be Hexadecimal: \uFFFF - From C# / Java Strings \U0000FFFF - From C# / Java Strings ...
Ehryk's user avatar
  • 127
-2 votes
1 answer
581 views

I (I am sure everyone else also) have always seen comparisons of some value to 999 or 9999 .... etc. for e.g.: in CSS z-index: 9999 or some times str.length < 99999 I wonder if there is some ...
Digvijay Yadav's user avatar
0 votes
2 answers
286 views

That doesn't seem to make sense. In local variable, we sort of know the type anyway. It's local. We're working on it. Yet in function name or global variable, the definition is very far away on ...
user114310's user avatar
81 votes
7 answers
33k views

I am having a problem in understanding how to apply camelCase syntax to some of my variable names. For example, how should I correctly write a word like "phonenumber" in camel case? Is it ...
Niklas Rosencrantz's user avatar
2 votes
4 answers
1k views

First, I believe I've seen this question discussed here before, but I cannot find it. My apologies if you do find it. I'm starting a new project, and trying to figure out why IsResolved and/or ...
shannon's user avatar
  • 123
1 vote
1 answer
713 views

I have a big side project that I do now for 3 years. It has a lot of extra small tools to help me do tasks. Most of those tools are so old that I forgot what I have there. How to create a feature map ...
IAdapter's user avatar
  • 1,355
16 votes
6 answers
2k views

It's a generally considered a bad practice to use the Hungarian notation, but is common to find GUI controls named userNameTextBox and userNameLabel. Do you put the control type in it's name? Isn't ...
Jader Dias's user avatar
8 votes
1 answer
988 views

I just purchased the book 'Pearls of Functional Algorithm Design' by Richard Bird. Unfortunately, the book doesn't have any section that describes the notation that is used. You can view the ...
Philoxopher's user avatar
26 votes
2 answers
8k views

Big O notation provides an upper bound to a function whereas Big Theta provides a tight bound. However I find that Big O notation is typically (and informally) taught and used when they really mean ...
tskuzzy's user avatar
  • 752
10 votes
6 answers
4k views

I'm reading about LISP. I understand how prefix notation works at a certain level, but I was wondering if there are any tricks to making it intuitive.
Vivian River's user avatar
  • 2,417

15 30 50 per page