大约有 42,000 项符合查询结果(耗时:0.0336秒) [XML]
What is an example of the Liskov Substitution Principle?
I have heard that the Liskov Substitution Principle (LSP) is a fundamental principle of object oriented design. What is it and what are some examples of its use?
...
Java “Virtual Machine” vs. Python “Interpreter” parlance?
It seems rare to read of a Python "virtual machine" while in Java "virtual machine" is used all the time.
13 Answers
...
Javascript - Open a given URL in a new tab by clicking a button
I would like to have a button that redirects to a given URL and opens in a new tab. How can this be done?
13 Answers
...
What is a loop invariant?
I'm reading "Introduction to Algorithm" by CLRS. In chapter 2, the authors mention "loop invariants". What is a loop invariant?
...
What is a software framework? [closed]
Can someone please explain me what a software framework is? Why do we need a framework? What does a framework do to make programming easier?
...
What are important languages to learn to understand different approaches and concepts? [closed]
When all you have is a pair of bolt cutters and a bottle of vodka, everything looks like the lock on the door of Wolf Blitzer's boathouse. (Replace that with a hammer and a nail if you don't read xkcd)
...
What is a segmentation fault?
What is a segmentation fault? Is it different in C and C++? How are segmentation faults and dangling pointers related?
14 A...
What breaking changes are introduced in C++11?
I know that at least one of the changes in C++11 that will cause some old code to stop compiling: the introduction of explicit operator bool() in the standard library, replacing old instances of operator void*() . Granted, the code that this will break is probably code that should not have been v...
In C++, what is a virtual base class?
I want to know what a " virtual base class " is and what it means.
11 Answers
11
...
Why should casting be avoided? [closed]
I generally avoid casting types as much as possible since I am under the impression that it's poor coding practice and may incur a performance penalty.
...
