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

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.

主站蜘蛛池模板: 和静县| SHOW| 定结县| 扎赉特旗| 汨罗市| 织金县| 孟州市| 武功县| 色达县| 兴安盟| 临安市| 建瓯市| 临洮县| 安新县| 胶州市| 利川市| 山东省| 临桂县| 莱芜市| 惠来县| 丽江市| 米脂县| 寿阳县| 东平县| 驻马店市| 富宁县| 婺源县| 昌乐县| 广汉市| 聂拉木县| 察隅县| 普宁市| 江津市| 顺义区| 喜德县| 陕西省| 荃湾区| 大荔县| 连云港市| 东方市| 太仆寺旗|