书栈网 · BookStack 本次搜索耗时 0.061 秒,为您找到 651 个相关结果.
  • 03. Generics & Traits

    Generics & Traits CIS 198 Lecture 3 Generics Generics Generic Structs Generic Implementations Traits Traits Traits Traits Generic Functions Generics with Trait Bounds G...
  • 1.6. Testing

    Testing Automated testing Making your code testable Splitting your code into library and binary targets Testing CLI applications by running them Generating test files What to ...
  • Prometheus简介

    12650 2019-01-08 《Prometheus操作指南》
    Prometheus简介 监控的目标 与常见监控系统比较 Prometheus的优势 易于管理 监控服务的内部运行状态 强大的数据模型 强大的查询语言PromQL 高效 可扩展 易于集成 可视化 开放性 Prometheus简介 Prometheus受启发于Google的Brogmon监控系统(相似的Kubernetes是从G...
  • Constrained strings

    categories: [Types, DDD] When is a string not a string? Should these constraints be part of the domain model? Modeling constrained strings with types Problems with this design ...
  • Algebraic type sizes and domain modelling

    categories: [] Getting started Calculating the size of compound types Sum types Working with generic types Recursive types Calculating the size of functions Converting betwe...
  • monad-control

    monad-control Overview Intuition Types MonadTransControl MonadControlIO Real Life Examples Lost State More Complicated Cases monad-control monad-control is used in a few...
  • monad-control

    monad-control Overview Intuition Types MonadTransControl MonadControlIO Real Life Examples Lost State More Complicated Cases monad-control monad-control is used in a few...
  • Case Study: Sphinx-based Search

    Case Study: Sphinx-based Search Sphinx Setup Basic Yesod Setup Searching Search Result Streaming xmlpipe output Full code Case Study: Sphinx-based Search Sphinx is a sear...
  • monad-control

    monad-control Overview Intuition Types MonadTransControl MonadControlIO Real Life Examples Lost State More Complicated Cases monad-control monad-control is used in a few...
  • 函数

    函数 函数参数 (两个以下最理想) 限制函数参数的个数是非常重要的, 因为这样将使你的函数容易进行测试。 一旦超过三个参数将会导致组合爆炸, 因为你不得不编写大量针对每个参数的测试用例。 没有参数是最理想的, 一个或者两个参数也是可以的, 三个参数应该避免, 超过三个应该被重构。 通常,如果你有一个超过两个函数的参数, 那就意味着你的函数尝试做太...