青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

隨筆-341  評論-2670  文章-0  trackbacks-0
Tuesday, May 02, 2006
  How to make programming hard for yourself
原文地址:http://weblog.raganwald.com/2006/05/how-to-make-programming-hard-for.html
I posed a simple question: why do we have trouble admitting that programming is hard?

This generated a tempest in a teapot of comments. Most focused on the red herring of whether programming is an innate talent. That's actually irrelevant to the fundamental question.

Is programming actually hard?

The evidence is in that software development as an engineering practice is very hard. One person on reddit commented that he had worked for three successive game companies that shipped working software on time. Other than that comment, my own experience, the experience of everyone I've ever talked to, and the industry folklore is that software projects are almost always late, short of promised functionality, buggy, or all three.

Peek-a-boo!

Now I admit that lots of people think that this is a management problem. Their view is that the actual programming is quite tractable, it's just that getting people to work on the right things at the right time is the hard part of software development. This argument takes the same world view that the Egyptian engineers had about building pyramids: the labour is so easy that ignorant slaves can do it.

My view is that this is true for a certain class of programs. Most of these can be found in current business contexts. Quite honestly, most business applications are what I would call wide and shallow. There's a lot of work to be done, but little of it requires deep thinking. The challenges are around managing requirements and user expectations. These are hard problems, but they are not in the same class as, say, figuring out how to implement a fast join on two distributed hash tables.

I think that easy programming problems drive a lot of decisions about people and tools. If you perceive that a problem isn't very hard, why hire the 'cream' of the programming crop to solve it? And if you eschew the cream for a plain glass of 1% milk, won't you insist that the program be written in Blub instead of Python, Ruby, or Lisp?

This becomes a feedback loop. The 'B' players become hiring managers one day and they hire 'C' players. The 'C' players are asked to design applications, and they design things that they know how to build. This second effect is a huge lever pushing programming problems downwards in business.

Programs are written to solve problems posed by people, be they programmers, program managers, business analysts, or what-have-you. The difficulty of writing the programs is driven by the difficulty of the problems. The difficulty of the problems is limited by the imagination of the people posing the problems.

If your feedback loop is pushing difficulty downwards, the only problems you will have are the ones that can be solved by anyone who can pick up a Learn Blub in Twenty-One Days book.

Is this a problem?

Quite honestly, no. If what you want is a steady paycheque, and you can sleep at night knowing that your job might be outsourced one day, there's nothing wrong with chasing the easy work. It's no different than playing saxophone in a dance band at a wedding. Charlie Parker did it, you can do it.

But just because almost everybody does easy work doesn't mean there isn't hard work to be done. Hard problems are their own reward for some people, myself included (in my case I mean "hard for me," I know more than a few people that consider my hard problems to be recreational diversions). And some hard problems have lucrative consequences if you have a taste for starting companies.

Why it's hard to find hard problems

It's hard to find problems that are so challenging that you don't know how to solve them. It's especially hard if you also want a problem that can actually be solved. And it's very, very hard to find a hard problem that makes business sense, even in a startup. Most good startups solved the right problem rather than the hardest problem.

Very few people have the luxury of writing requirements for a program that they have no idea how to write, much less the imagination to see the results. Jump in your time machine and zoom back to 1980. Start asking people do sketch a word processor design on a napkin. How many people specify bit-mapped graphics and mouse-driven selection?

I compared programming to music and athletics. I suggested that programming is hard and the reason we don't see that is because we aren't competitive enough. That may be true, but now I sense a deeper challenge: in programming, we tend to pose questions for which we already know the answer.

In music, most people's reach far exceeds their grasp. It's quite easy to find pieces of music that are difficult or impossible for someone to play but nevertheless pleasing to that same person's ear.

If you are a wanna-be bassist and you listen to Jaco Pastorius' harmonics on "Portrait of Tracy," it is immediately obvious to you that you could be better and that being better is worthwhile. I leave it to your imagination to draw the same parallel to sports and athletics.

But in programming... we have a nasty habit of being very satisfied with the tools we already know. After all, they are good enough for all of the programs we have ever written. And, surprise surprise, they just might be good enough for all of the programs we will ever want to write.

How to make life hard for yourself

Most of us need outside forces to shake us up. Many bassists were shocked in 1976 when they heard Portrait of Tracy. Harmonics were used as accents here and there, but nobody dared to play an entire piece with harmonics as the main technique. This shook things up, and now playing harmonics is considered a basic skill on electric bass (although it's still fiendishly hard to play Portrait of Tracy!)

For all of my professed admiration of Ruby on rails, I personally don't think that easier and more productive CRUD application writing will shake things up. I personally care very much about writing applications in a tenth of the time, but using Rails is like listening to Jaco Pastorius. The real learning experience comes when you try to duplicate the feat.

If you want Rails to help you improve as a programmer, you need to look at the source code and figure out how to use Ruby to write Domain Specific Languages. Next, you'll have to write a few DSLs to become immersed in how programming changes when you can write DSLs. Now you're ready to look for a problem that is barely possible if you can solve it with a DSL.

Before you knew how to write your own languages, you probably couldn't design a program that couldn't be written without a DSL. Now you can.

This general template works surprisingly well: Learning things that force you to solve existing problems in new ways will help you find hard problems that can only be solved with the aid of your new techniques.

So when you're done learning how to write DSLs just like Rails, go ahead and write a web application using continuations as the basic metaphor. And don't forget to look under the hood and figure out how the framework makes continuations scale in a web context.

Come to think of it, figure out how to write continuation-based Rails applications that live on a Google-scaled grid and you might be headed towards a place where the inhabitants have no fear of hard.

I'll see you there.

Update: I found an early take of Jaco playing Portrait of Tracy (MP3). Nice.

Labels:

 
posted on 2009-05-09 06:55 陳梓瀚(vczh) 閱讀(3223) 評論(0)  編輯 收藏 引用 所屬分類: 啟示
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            国模精品娜娜一二三区| 亚洲高清网站| 午夜国产精品影院在线观看| 一区二区三区波多野结衣在线观看| 西瓜成人精品人成网站| 亚洲国产片色| 欧美日韩大陆在线| 亚洲一区二区免费视频| 亚洲在线观看视频| 国内精品美女av在线播放| 欧美91精品| 欧美日韩国产首页在线观看| 亚洲一品av免费观看| 欧美一级理论片| 亚洲精品一区二区三区不| 亚洲手机视频| 精品成人免费| 亚洲美洲欧洲综合国产一区| 国产精品一二| 亚洲国产成人精品视频| 欧美特黄一区| 欧美成人高清| 欧美日在线观看| 免费久久99精品国产自在现线| 在线视频日韩精品| 国内激情久久| 99re在线精品| 1024成人网色www| 中文精品99久久国产香蕉| 伊人夜夜躁av伊人久久| 亚洲精品久久久久久久久久久| 亚洲一区二区三区免费在线观看 | 开元免费观看欧美电视剧网站| 亚洲国产小视频| 国产精品亚洲一区二区三区在线| 亚洲最新在线视频| 欧美制服第一页| 亚洲欧美卡通另类91av| 免费观看成人鲁鲁鲁鲁鲁视频| 国产亚洲欧美日韩精品| 欧美激情一区二区| 国产一区91| 一区二区三区黄色| 亚洲精品免费在线播放| 久久成人在线| 欧美一区视频在线| 欧美调教vk| 亚洲精品一品区二品区三品区| 欧美人在线视频| 牛人盗摄一区二区三区视频| 国产精品高清网站| 亚洲精品日韩久久| 亚洲精品在线视频观看| 老牛影视一区二区三区| 久色成人在线| 一区在线视频观看| 久久精品99国产精品日本| 亚洲一区二区免费看| 欧美日韩国产美女| 日韩天天综合| 亚洲小说欧美另类婷婷| 欧美日韩国产精品成人| 亚洲人成在线观看网站高清| 亚洲精品免费一二三区| 蜜桃av综合| 亚洲高清123| 亚洲精选国产| 欧美三区不卡| 亚洲一区二区三区乱码aⅴ| 亚洲欧美另类在线观看| 国产精品稀缺呦系列在线| 亚洲一级二级| 久久久久久网址| 在线观看日韩av电影| 久久综合久久综合久久| 欧美激情视频一区二区三区在线播放 | 国产精品久久久爽爽爽麻豆色哟哟 | 欧美成人第一页| 欧美成人免费在线观看| 亚洲激情校园春色| 欧美日韩国产黄| 亚洲精品乱码久久久久久蜜桃91 | 久久亚洲国产精品日日av夜夜| 亚洲精选一区| 欧美天堂亚洲电影院在线观看 | 在线性视频日韩欧美| 欧美激情国产日韩| 日韩视频在线观看免费| 亚洲欧美成aⅴ人在线观看| 国产日产欧美a一级在线| 久久精品国产精品亚洲| 欧美激情黄色片| 亚洲自拍偷拍视频| 黄色免费成人| 欧美日韩色综合| 久久精品二区| 99riav国产精品| 久久久久国产精品一区二区| 91久久久久| 国产精品剧情在线亚洲| 久久亚洲高清| 一本色道久久综合精品竹菊| 久久久.com| 亚洲视频高清| 极品尤物一区二区三区| 欧美久久99| 久久国产日本精品| 亚洲精品午夜| 欧美暴力喷水在线| 亚洲欧美久久久久一区二区三区| 久久美女艺术照精彩视频福利播放| 亚洲综合大片69999| 国产综合自拍| 欧美香蕉大胸在线视频观看| 久久亚洲一区二区三区四区| 亚洲精品国产拍免费91在线| 久久精品一区二区国产| 一本色道久久综合亚洲精品不卡| 久久精品视频va| 亚洲深夜影院| 亚洲欧洲在线看| 美国十次成人| 午夜精品久久久久久99热| 亚洲全部视频| 精品动漫3d一区二区三区| 欧美午夜电影在线| 欧美激情偷拍| 欧美高清视频一区二区三区在线观看 | 亚洲国产精品久久久久久女王| 久久激情婷婷| 亚洲欧美在线网| 亚洲一二三区在线| 亚洲精品国产品国语在线app| 99这里有精品| 亚洲黄网站黄| 狠狠色2019综合网| 国产一区二区日韩精品| 国产婷婷一区二区| 欧美日韩xxxxx| 欧美日韩国产大片| 欧美日韩视频| 国产精品theporn88| 欧美视频一区二区三区…| 欧美日本国产一区| 欧美连裤袜在线视频| 欧美激情欧美激情在线五月| 老司机免费视频久久| 久久人人看视频| 久久久久久久久蜜桃| 久久久久久日产精品| 久久久亚洲午夜电影| 久久精品国产精品亚洲| 久久久久国产精品www| 老司机免费视频一区二区| 欧美www视频在线观看| 欧美区视频在线观看| 欧美日韩一区在线| 国产精品视频一二三| 国产尤物精品| 在线看国产日韩| 99视频日韩| 午夜精品国产| 鲁大师成人一区二区三区 | 国产精品入口夜色视频大尺度| 欧美呦呦网站| 久久久精品一品道一区| 美国成人直播| 欧美视频中文字幕在线| 国产欧美一区二区精品仙草咪 | 欧美日韩国产一级片| 欧美午夜一区| 国产精品亚洲成人| 尤物九九久久国产精品的特点| 国产精品久久久久aaaa| 国产精品久久久久久久9999| 国产亚洲一区二区三区在线播放 | 中文国产亚洲喷潮| 欧美在线中文字幕| 欧美另类视频在线| 国产网站欧美日韩免费精品在线观看 | 亚洲精品黄网在线观看| 亚洲综合国产| 欧美 日韩 国产精品免费观看| 欧美一区二区三区播放老司机| 亚洲精品久久久久久一区二区| 久久露脸国产精品| 亚洲乱码久久| 久久人人97超碰人人澡爱香蕉| 亚洲男人的天堂在线观看| 久久婷婷成人综合色| 国产精品国产三级国产| 好吊色欧美一区二区三区视频| 国产片一区二区| 一区二区欧美精品| 快she精品国产999| 亚洲一区久久久| 欧美日本一道本| 亚洲国产一区二区三区在线播| 国内精品久久久久久影视8| 亚洲一区二区毛片|