Tag Info

New answers tagged

6

CWE calls it a "Buffer Over-read". The software reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer. CWE-126:


5

As someone who was actually working at Zope Corporation (then still called Digital Creations) when the term came into being, I can emphatically state it is very much not derogatory. The term is a tongue-in-cheek reference to runtime patching (or dynamic patching, if you will). We talked about sneaking in and altering Python code at runtime; the term ...


0

Software Process Model is an abstraction or a visual representation of an idea, event or a process. Modeling is used mainly to help us understand complex processes or events and decide what to do with them. Modeling is also used in other domain like Mathematics (Mathematical Model) and Economics (Financial Model). By applying the definition above in ...


0

I would offer that there are actually far more than just the two meanings you provide for high level and low level, depending on the context of the conversation. In computer science, there is indeed high level and low level design, which would refer to the abstraction you are discussing, as well as the broadness of responsibility of a component in the ...


1

Just abbreviate it to KiB, that way it's somewhat ambiguous as to whether you mean "Kilobyte" or "Kibibyte". KiB does technically mean "Kibibyte", so, if you go with that, you may win without the other party knowing. Realistically though, hardly anyone uses the term "Kibibyte", and it would cause more confusion to introduce it instead of using "Kilobyte".


8

Use Kilobyte as it's the generally accepted term of art. Kibibyte is a hypercorrection unless it's somehow critically important to the functioning of the application. Software documentation should focus on clarity. This includes adhering to accepted conventions.


0

It is called "binding time." So, the contrast is between early binding and late binding. If you hard code a number then you bind very early in the process; if you load the number from a file at run time, you are late binding. In general, the later you bind, the easier the code is to test and maintain. Here is a good discussion: ...


2

Yes, the term main routine typically means the routine (AKA function, method, etc) named main, which is the entry-point of a C program. From Wikipedia: The main function serves a special purpose in C programs; the run-time environment calls the main function to begin program execution.


2

It depends on whenever you are changing behavior of the program as a whole. If you are changing a behavior then it is either "Bug Fixing" or "Adding a new feature". In your example, random always returning 42 could be considered bug so replacing it with Random.nextInt() is fixing this bug. On the other hand, if you are replacing hard-coded values with values ...


6

Summing up information from this blog : The analogy is trains are releases, passengers are features Trains are planned at regular intervals, without knowing what they will contain If features aren't ready for departure train, they can go on the next one Once a version is shipped, the development splits between support/patching shipped code and developing ...


1

I believe the term you're looking for is the loop variant. UPDATE It's been a long time since college, but if I remember correctly, loops are composed of loop variants and loop invariants. Put simply, loop variants change in each iteration where as loop invariants do not. A relationship between the loop variants and loop invariants determine the ...


0

I checked 5.3.3.16 the C# 5.0 spec, but all it gave me was foreach ( type identifier in expr ) embedded-statement. While embedded-statement works well to identify the statement block of the foreach, I don't think identifier is specific enough to be helpful. The IEnumerator interface calls it the Current item.


-1

I believe both are the same and can be used interchangeably. Both defects or bugs are written up by the tester (QA) and assigned to the developers to look at. The developer determines what caused the defect or bug and fixes it as the case may be. The tester retests the defect or bug and verifies that it performs as it should. I am a tester and when my ...


0

It is a lot easier if you write the code as 1 if condition 2 then 3 statement_1 4 else 5 statement_2 6 endif 1 is the if-clause 2 and 3 are the then clause 4 and 5 are the else clause In some languages, they use {}. In those terse languages, then is considered a noise word so it is dropped. In those languages, there is no then clause - ...


4

The reason you hear about conditional "clauses" is because English has clauses. When you hear about conditional clauses in programming, what the person is speaking about is "that which embodies the condition." So the if clause is if condition then statement_1; because that's the part that pertains to the if. The else clause is else ...


0

Just add a sentence like this at the beginning of your paper: "throughout this paper, the term ...code is used as a placeholder for "Java bytecode & x86 machine code". Then you are mostly free what to choose for ..., maybe you write "processor code", "p-code", or if you never refer to Java bytecode only in your paper, you could also use the term ...


3

Classes and inheritance are completely orthogonal to OO. There are languages with classes that aren't object-oriented, there are languages with inheritance that aren't object-oriented, there are languages which are object-oriented and have classes but not inheritance, there are languages which are object-oriented and have inheritance but no classes, and ...


9

Class-based object-oriented language Class-based programming, or more commonly class-orientation, is a style of object-oriented programming (OOP) in which inheritance is achieved by defining classes of objects, as opposed to the objects themselves (compare prototype-based programming).



Top 50 recent answers are included