大约有 47,000 项符合查询结果(耗时:0.0618秒) [XML]
Business logic in MVC [closed]
I have 2 questions:
10 Answers
10
...
Java: Subpackage visibility?
I have two packages in my project: odp.proj and odp.proj.test . There are certain methods that I want to be visible only to the classes in these two packages. How can I do this?
...
How to perform a mysqldump without a password prompt?
I would like to know the command to perform a mysqldump of a database without the prompt for the password.
13 Answers
...
Array versus linked-list
Why would someone want to use a linked-list over an array?
34 Answers
34
...
How does a language expand itself? [closed]
I am learning C++ and I've just started learning about some of Qt 's capabilities to code GUI programs. I asked myself the following question:
...
Re-doing a reverted merge in Git
I have run into a bit of a problem here: I had a problem-specific branch 28s in Git, that I merged in the general develop branch. Turns out I had done it too fast, so I used git-revert to undo the merge. Now, however, the time has come to merge 28s into develop , but git-merge command sees th...
How do browser cookie domains work?
Due to weird domain/subdomain cookie issues that I'm getting, I'd like to know how browsers handle cookies. If they do it in different ways, it would also be nice to know the differences.
...
Comparing Java enum members: == or equals()?
I know that Java enums are compiled to classes with private constructors and a bunch of public static members. When comparing two members of a given enum, I've always used .equals() , e.g.
...
How will I know when to create an interface?
I'm at a point in my development learning where I feel like I must learn more about interfaces.
24 Answers
...
How to prevent SIGPIPEs (or handle them properly)
I have a small server program that accepts connections on a TCP or local UNIX socket, reads a simple command and, depending on the command, sends a reply. The problem is that the client may have no interest in the answer sometimes and exits early, so writing to that socket will cause a SIGPIPE and m...
