大约有 42,000 项符合查询结果(耗时:0.0356秒) [XML]
Why use pointers? [closed]
I know this is a really basic question, but I've just started with some basic C++ programming after coding a few projects with high-level languages.
...
What is meant by 'first class object'?
In a recent question , I received suggestions to talk on, amongst other things, the aspect of JavaScript where functions are 'first class' objects. What does the 'first class' mean in this context, as opposed to other objects?
...
How do I stop a web page from scrolling to the top when a link is clicked that triggers JavaScript?
When I have a link that is wired-up with a jQuery or JavaScript event such as:
15 Answers
...
Python data structure sort list alphabetically
I am a bit confused regarding data structure in python; () , [] , and {} . I am trying to sort a simple list, probably since I cannot identify the type of data I am failing to sort it.
...
How are parameters sent in an HTTP POST request?
In an HTTP GET request, parameters are sent as a query string :
8 Answers
8
...
On Duplicate Key Update same as insert
I've searched around but didn't find if it's possible.
8 Answers
8
...
What is so bad about singletons? [closed]
The singleton pattern is a fully paid up member of the GoF 's patterns book , but it lately seems rather orphaned by the developer world. I still use quite a lot of singletons, especially for factory classes , and while you have to be a bit careful about multithreading issues (like any class ac...
What is the difference between a symbolic link and a hard link?
Recently I was asked this during a job interview. I was honest and said I knew how a symbolic link behaves and how to create one, but do not understand the use of a hard link and how it differs from a symbolic one.
...
Unnecessary curly braces in C++?
When doing a code review for a colleague today I saw a peculiar thing. He had surrounded his new code with curly braces like this:
...
JavaScript checking for null vs. undefined and difference between == and ===
...
8 Answers
8
Active
...
