Anders Hejlsberg Quotations

xiaoxiao2021-03-06  51

Anders Hejlsberg Quotes just saw this password at http://www.artima.com/intv/handcuffs.html, I feel that this may be a more obvious common disease in Chinese programmers, posses here, hope to help everyone, The most important thing is to remind yourself, don't make the same mistake.

If you ask beginning programmers to write a calendar control, they often think to themselves, "Oh, I'm going to write the world's best calendar control! It's going to be polymorphic with respect to the kind of calendar. It will have displayers, and mungers, and this, that, and the other. "They need to ship a calendar application in two months. They put all this infrastructure into place in the control, and then spend two days writing a crappy calendar application on top of it. They'll Think, "In The Next Version of the Application, I'm Going to Do So Much More."

Once they start thinking about how they're actually going to implement all of these other concretizations of their abstract design, however, it turns out that their design is completely wrong. And now they've painted themself into a corner, and they have to throw the whole thing out. I have seen that over and over. I'm a strong believer in being minimalistic. Unless you actually are going to solve the general problem, do not try and put in place a framework for solving a specific one , Because you don't know what this framework shouth look like.

Thursday, September 11, 2003 1:57 PM Feedback # RE: Anders Hejlsberg Quotations 9/11/2003 3:28 PM MicroHelper About the calendar control After I want to register an account, ask you high people, now ask a treasure : With a TextBox, a Button, a Calendar, a verification control forms a calendar control, point button shows Calendar, after selecting the date from the Calendar, Calendar hides, the selected date is displayed in TextBox, verify the control to verify the input in TextBox Whether is the value of time type

Now I have two problems, the first, I define a property TextValue (the value in TextBox) and use [ValidationPropertyAttribute ("TextValue") to declare the properties used to verify, I use a validation control to verify Whether the date entered is larger than the current date, ValidControl = mycal, mycal is the control of the control, but each time you want to postBak back to the Server end, you can verify that the input date is greater than the current date, so you have to set the validControl to Mycal: TXTDATE, is there a way to declare the CLIENT end directly verify the value in the TextBox in the calendar control when verification of the calendar control?

# Re: Anders Hejlsberg Quotations 9/11/2003 3:37 PM Hurphop Second question is that for the Calendar display, it does not affect the layout of the leaves, so its zindex is set to 1000, but because SELECT is Windows. Control, so there is still no way to cover it. If you pop up a menu in a way with window.popup, you will have a bit trouble, there is any other feasible way?

Seeing a calendar control made by some small companies, the most expensive buy $ 1,000, several controls can support the company, and it is estimated that China is estimated.

# 回: Anders Hejlsberg Quotations 9/11/2003 10:25 PM Blueinkstone can not sell you! Or just a personal product. There is no company in a company in foreign RUNs so complicated.

# 回:: 9 9 9/12/2003 8:25 AM Happy first problem, you can use JS in the client, you can put the verification on the client, actually ASP.NET verification controls are Different by JS. The second question, see the benevolence, see how you take it.

# 回 帖子 我如,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, = "..." ControlTovAlidate = "MyText",

Then I set the ControlTovAlidate property of the RequiredFieldValidator control to my own calendar control mycal, I hope that the RequiredFieldValidator control is a value of the TextBox control in the calendar control, and now I can set this: ControlTovAlidate = "Mycal: txtdate "

# 回: aer h 9 语 9/12/2003 10:00 AM Happy, I am not very clear, how can the date are required? Let's take a look at the webform calendar control, one has a default value, namely, and unless you change it into other days, the system always gives it a default value. I have some understanding what you mean, but I suggest you look at the process of winform on the calendar control, it also has two parts, part of the selection date, one is the DROPDOWNLIST that is displayed, is it called DatePicker?

# 回:: er h h er 11 吧 吧 但 但 ic 但 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是 是

# 回:: m 语el 语 语 9/12/2003 5:46 PM MicroHelper But the above control has some problems, first it doesn't have a way to Select, there is a problem with the algorithm, and the generated dynamic calendar will often come to one line, and Designtime mode

# 回 回 aer h 9 9 9/12/2003 6:41 PM Happy WinForm is basically similar to your requirements. In addition, it is a pure HTML JavaScript thing, you can use the web custom control to do it, output these JavaScript to the client. And this is also very good to support DesignMode. As long as you are willing to write the support code during the Design period. Many things are physical labor. If you want to clear its implementation, you need to waste your strength. I suggest you look at the code of others' web custom controls, there are a lot of good stuff on http://www.codeproject.com, our Yan Hao brother released a custom control of Web Panel on it. I have been using it now.

# 回: a er 语 语 语 日 日 日 日 日 日 日 日 日 日 日 花 花 花 花 花 花 花,,,,,,,,,,,),,,,

# From yahoo 11/6/2003 1:18 am pingback / trackback from yahoo

# 回 回 a er 语 语 11/7/2003 6:41 AM Han Lei see me cold sweat!

# Re: Anders Hejlsberg Quotes 8/6/2004 1:55 PM Pyeness I am also looking for some small programs for Java to see your post. You are also everyone's fate. Tell you how to deliberately judge the legality of a user. To find something such as regular expressions ~ It is absolutely helpful to you

转载请注明原文地址:https://www.9cbs.com/read-85353.html

New Post(0)