Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged design

0 votes
551 views
1 answer
    I want to implement UNDO and REDO option(as we see in MS word etc). Can you suggest me a data structure for it, and how can i implement it.? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
386 views
1 answer
    This was an interview question to be coded in C++: Write code for a vending machine: Start with a simple ... for large scale software systems. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
305 views
1 answer
    I've been reading a lot of blogs which advocate the fat models and skinny controllers approach, esp. the Rails ... falling into the God pattern? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
409 views
1 answer
    I have a question on C++ double dispatch. In the code below, I want the results from the second set to match ... .processObj(dc3p1); return 0; } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
403 views
1 answer
    Where do you like to catch exceptions and why? I'm interested in seeing where people find it useful to put ... reason per answer please. Thanks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
609 views
1 answer
    The facts: I have two predominant classes: Manager and Specialist. There are several different types of Specialists. ... is a bad thing. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
523 views
1 answer
    In a language where both are available, would you prefer to see an instance constructor or a static method that ... chars); new String(chars); See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
409 views
1 answer
    I've discovered this idiom recently, and I am wondering if there is something I am missing. I've never seen it ... They don't use OS pipes. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
776 views
1 answer
    What are the scenarios when one would use a Monostate pattern instead of singleton inorder to maintain a ... Monostate instead of Singletons. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
602 views
1 answer
    I have been looking for a logging framework for .net (c#) and decided to give log4net a go after reading ... the wrapper be a singleton class? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
469 views
1 answer
    One part of domain-driven design that there doesn't seem to be a lot of detail on, is how and why ... our domain objects from the interface? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
522 views
1 answer
    I need to execute a bunch of asynchronous methods (client SQLite database), and call only one final callback. Of ... ... Thanks in advance ! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
573 views
1 answer
    I recently ran against a very interesting site that expresses a very interesting idea — the anti-if campaign. You ... break; //etc... } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
396 views
1 answer
    Why does C++ have public members that anyone can call and friend declarations that expose all private members to ... of less direct protection. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
556 views
1 answer
    In Java IoC / DI is a very common practice which is extensively used in web applications, nearly all available ... 't widely used in Python. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
452 views
1 answer
    I am really confused about these three terms. My understanding is that: in the Factory pattern, there is no ... same as the Factory pattern? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
532 views
1 answer
    I have something to do for work and I need your help. We want to implement a FSM - Finite State Machine, to ... that helps me. Thanks a lot. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
531 views
1 answer
    I just finished reading all the Doctrine 2 documentation, I started my own sandbox, I understood most of the ... themselves in the entity class? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
553 views
1 answer
    I want to create a static class in PHP and have it behave like it does in C#, so Constructor is automatically ... :greet(); // Hello There! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
521 views
1 answer
    Correct me if I'm wrong, but for my understanding of an API is that it is something that allows me to modify ... . What am I doing wrong here? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...