美文网首页
How to improve the experience, d

How to improve the experience, d

作者: 张某某xyz | 来源:发表于2023-07-18 11:41 被阅读0次
Map experienceSet = new Map();
when(face with thing){
    String problem = extractProblem(thing);
    String solution = experienceSet.get(problem);
    if(solution == null){
        solution = makeDecision(problem);
    }
    
    String result = dealThing(solution);
    if(result is good){
        experienceSet.put(problem, solution);
    }else{
        experienceSet.remove(problem);
        putBadSolutionIntoToDoList(thing, solution);
    }
}

相关文章

网友评论

      本文标题:How to improve the experience, d

      本文链接:https://www.haomeiwen.com/subject/qtunudtx.html