Public Sub Main()
Dim Name$, Age%, Salary#, Flag!
Name$ = InputBox("Name=?")
Age% = Len(Left(Right$(Name, 10), 9))
Salary# = Age And 178 Or 111 Mod 40.22
Flag! = CSng(Asc(Str$(Age))) _
- Val(Mid(Name, 2))Mid(Name, 3) = Mid$(CStr(Salary#) & Str(Falg) + CStr(Age), 2)
MsgBox Name$
End Sub
''''
It cab be compiled and run normally in VB6, all existent thing is reasonable? nobody can know what it means in 3 seconds, if one team member in your project team writes this codes with this style, how can you do black box testing? if you are his boss, how to ensure the high quality of source codes?
Subscribe to:
Post Comments (Atom)
7 comments:
Michael,It should be an excellent question according to John's opinion in today's trainig as it's not really easy to answer...he he...maybe we could feedback more ideal answer through more thought ...^_^
hey Mike
are you ok?
today you left the class earlier than other days and you didn't look very happy.
I hope everything is ok in your life and I wanna think that you just need time to "smell the flowers"
Mike,your question is good.I think if somebody writes source code like this in our team,I should arrange him to write the registry part.I spend a little more time to know this part meaning,I think your are right.How to correctly arrange the existent ting is a good art.
Firstly,Mike,do you think whether the topic is too professional for the guys not in PD? or just have a fun with guys in PD,:)
So I suggest guys not in PD should choose leave this topic at once to avoid to confused youself...he he...
back to the topic,It's pity that I had never used VB when I'm a programmer,so it seems difficult for me to understand it's meaning entirely...
But As you known,black box testing doesn't care how the code of software is wrote,in fact it works mainly accoring to software requirement and design spec...
To the final question,as we discussed in last meeting of SCM,I still think such as the code rule and design rule are very useful meanwhile workthrogh and peer review are good method alse to ensure the high quality of source codes.
I can’t help thinking about the scene in the movie Metrix: people can see actual moving images through so many green digital numbers …
Thanks a lot for all your concerns, especially thanks to John because you found I left earlier than other days and I did not look very happy, in fact, one functional manager of my team resigned this week and he will leave MYOB China from next month, I was a little sad because we are good friends, it is a pity to say goodbye.
Daisy's opinion is right, if you are not a programmer, please leave here quickly, or else you will be confused because you can not understand anything, and at the same time, I know this point, but why I wrote something about this topic, what I wanted to do is just to say something in English, we are learning Business English, and this topic is a business issue, please notice the heading, we can talk about many many things under this heading besides computer source codes, do you think so?
I like philosophy, so my first Blog here is this topic.
yes,I think all existent thing has itself reason, in spite of perhaps you think its reason is absurd. so ,as a programmer, when I edit the code that other person write I am very careful , I will think why it was written such so.
Post a Comment