官术网_书友最值得收藏!

Building your own PC

Imagine that you have a shop where you sell PCs.

Regular PC consists of the foll:

  • Motherboard
  • CPU
  • Graphical card
  • RAM

Most of your customers don't actually care what components you put in this PC. What they do care about is whether this PC will be able to run Magnificent Pilfering Car 7 at 60fps (which is frame per second).

So, you decide to build it like that:

data class PC(val motherboard: String = "Terasus XZ27",
val cpu: String = "Until Atom K500",
val ram: String = "8GB Microcend BBR5",
val graphicCard: String = "nKCF 8100TZ")

So when a new customer comes in wanting to try out this game everybody is talking about in the neighborhood, you just do:

val pc = PC()

And they are already off toward home, ready to share their newest experiences from MPC7. Actually, your business goes so well that you have one PC just sitting there, ready for the next customer to come in.

But then another customer arrives. And this one is tech savvy. So, frankly, they think that for the games they play, a nKCF 8100TZ graphic card wouldn't be enough at all. They've also read that there's now BBR6 RAM available and they want 16 GB of it. And of course, they want it right away. But they're willing to pay in cash.

That's the moment you wish that you could just modify this PC that's sitting in your warehouse a little, instead of assembling a new one.

主站蜘蛛池模板: 武鸣县| 汉川市| 刚察县| 庆阳市| 汤阴县| 桂东县| 横山县| 信宜市| 余干县| 永川市| 普兰县| 嵩明县| 饶阳县| 名山县| 红安县| 清苑县| 体育| 郑州市| 富平县| 玛沁县| 吴旗县| 南阳市| 青川县| 驻马店市| 福州市| 正定县| 历史| 景洪市| 桦川县| 麟游县| 余庆县| 溧水县| 社旗县| 北宁市| 韩城市| 米林县| 盐城市| 云浮市| 山东省| 上高县| 郴州市|