С.Трофимов
Фраза, вынесенная в заголовок, создана по аналогии с “объектно-ориентированным мышлением”. Для того чтобы создавать объектно-ориентированные программы, необходимо отказаться от традиционного процедурного мышления и начать мыслить при помощи объектов [1]. То же справедливо и для CASE-средств. Для того чтобы начать создавать программные системы при помощи современных технологий, необходимо иначе взглянуть не только на процесс проектирования, но и на программирование.
Трудности внедрения CASE-технологий при создании проектов общеизвестны [2], и проектировщики систем должны быть готовы к их преодолению. Но я хочу представить эти проблемы с точки зрения программиста, который прочно обосновался в своем мире программного кода и не мыслит других возможностей для написания программ, как “строчка к строчке”, когда классы создаются последовательным наполнением методов и атрибутов.
Необходимость использования CASE-технологий непосредственно разработчиками программ менее очевидна чем для проектировщика системы [3], причем в [2] мы читаем, что “моделирование сложных программных систем с помощью CASE-средств является самостоятельным и самодостаточным видом деятельности в процессе создания ПО”, что может изначально получить негативную оценку у программистов. Мол, я пишу программы, а создавать модели – это ваши трудности.
Для большинства программистов при создании программных систем более очевидна необходимость процесса создания кода, чем моделирования самой системы. К тому же предварительное создание модели системы включает в себя дополнительные трудозатраты, результат которых виден только через некоторое время, и это при том, что освоение сложных CASE-средств требует значительных усилий.
Основной причиной, порождающей настороженное или, возможно, даже негативное отношение к CASE-средствам со стороны программистов, по моему мнению – это трудность перехода с обычного мышления к CASE-мышлению. Под ним я подразумеваю представление системы в виде объектов, которые отражаются в терминах CASE-средства, обычно в диаграммах языка UML. Причем, изначально подразумевается, что все объекты системы разрабатываются или, по крайней мере, имеют свое отражение в этих диаграммах.
Для того чтобы перейти к создании и сопровождению кода при помощи CASE-средства, поддерживающего язык UML, такого, например, как Rational Rose, программист должен перестроить свое представление о создании программ. Необходимо мыслить уже в терминах языка UML, мыслить диаграммами, а переход к такому типу мышления требует примерно такого же усилия, как переход от процедурного программирования к объектно-ориентированному.
Будет заблуждением считать, что изучив возможности редактора UML (если абстрагироваться от дополнительных функций, то таковым можно представить Rational Rose), вы начнете сразу создавать программные системы. Как утверждается в [1], диаграммы не появляются сами по себе, они – результат объектно-ориентированного проектирования, т.е. именно мышления, причем в терминах CASE-средства.
Здесь переплетаются две совершенно разные задачи:
1.Изучение языка UML и развитие CASE-мышления.
2.Изучение возможностей конкретного CASE-средства, для того чтобы легко воплотить свои мысли в программном проекте. Для первого я бы рекомендовал книги [1,4], а для второго можно воспользоваться, например [5].
Программист, приступая к изучению Rational Rose, сталкивается с этими проблемами, которые входят в противоречие с его предыдущим опытом. Считая, что CASE-средство – это просто программа, которая помогает..., автоматизирует..., решает..., он с энтузиазмом пытается в ней разобраться, но упирается в свою же косность, не позволяющую взглянуть на создаваемое ПО со стороны.
В отличие от большинства других программ, где, освоив некоторые простые функции, можно создавать нечто несложное, а затем, если понадобится, углубить свои знания, здесь невозможно даже начать работать, не охватив всех диаграмм целиком, не разобравшись как и для чего они должны использоваться.
Диаграммы UML позволяют показать различные аспекты будущей системы, создать ее модель, перед тем как с головой бросаться в написание кода. Не уяснив до конца всех возможностей создания этой модели, просто нельзя ее получить. Не построив фундамент, нельзя строить стены, но уже при закладке фундамента нужно рассчитывать на то, какие стены будут на нем стоять. И нарушение этого принципа приведет к тому, что вы получите не стройное здание программной системы, а не связанные между собой отдельные блоки, которые никуда не годятся.
Применяя CASE-мышление, программист уже сделает свои программы лучше, ведь многие программисты не знают ни способа создания хорошей, ни признаков неудачной программной архитектуры [6], а представление программных объектов в диаграммах UML позволяет наглядно увидеть ошибки и недоработки в полученной иерархии, обсудить их с коллегами и, что самое приятное, легко этой иерархией манипулировать, что при ручном кодировании программист вряд ли может себе позволить.
Таким образом, можно подвести итог, что успех внедрения CASE-систем зависит не только от усилий руководителя внедрения, но и от способности программистов освоить новое для них CASE-мышление, т.е. мышление в терминах внедряемой CASE-системы, что требует приложения значительных усилий как менеджеров, так и самих программистов.
Список литературы
Буч Г. Объектно-ориентированный анализ и проектирование с примерами приложений на С++, 2-е изд./Пер с англ.–М.: “Издательство Бином”, СПб.: “Невский диалект”, 1999 г. –560 с., ил.
Вендров А. Ниша и внедрение CASE-средств. “Директору ИС”, ноябрь 2000. (interface/CASE/botcase.htm)
Новичков А. Rational Rose для разработчиков и ради разработчиков. (interface/rational/rose/develop.htm)
Фаулер М., Скотт К. UML в кратком изложении. Применение стандартного языка объектного моделирования: Пер. с англ. – М.:Мир, 1999. – 191 с., ил.
Трофимов С. CASE-технологии: практическая работа в Rational Rose – М.: ЗАО “Издательство БИНОМ”, 2001 г. – 272 с.: ил. (progcpp.narod/rational/)
Бюрер К. От ремесла к науке: поиск основных принципов разработки ПО (interface/rational/science.htm)
Другие работы по теме:
Обзор С++
Конструкции языка программирования С++, составление простых программ, использyющих оператор if, оператор if else и оператор switch. Работа оператора switch. Создание программы, которая по дате определяет день недели , на который эта дата приходится.
Сложение и вычитание целых неотрицательных чисел в двоичном коде
Числа с фиксированной точкой характеризуются длиной слова в битах, положением двоичной точки, бывают беззнаковыми или знаковыми. Позиция двоичной точки определяет число разрядов в целой и дробной частях машинного слова. Представление отрицательного числа.
Умножение и деление целых неотрицательных чисел в двоичном коде
Числа с фиксированной точкой характеризуются длиной слова в битах, положением двоичной точки, бывают беззнаковыми или знаковыми. Позиция двоичной точки определяет число разрядов в целой и дробной частях машинного слова. Представление отрицательного числа.
Can States Restrict The Right To Die
Essay, Research Paper The dispute on whether or not the Court System s should be allowed to have control over the life of someone who is not capable of making coherent decisions has been going on for sometime now. This legal issue has many people protesting and arguing on who gets to make a life or death decision.
Waterford Crystal A Case Analysis Essay Research
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
Law Suit Essay Research Paper NegligenceThe topic
Law Suit Essay, Research Paper Negligence The topic that will be discussed in this paper is negligence. Negligence is any conduct which creates an unreasonable risk of foreseeable harm to another. There has to be risk involved in the case in order for there to be negligence. Therefore, if there is no risk involved, then there is no case for negligence.
Case Queen Versus Dudley And Stephens Essay
, Research Paper In the case Queen versus Dudley and Stephens the criticism that is most applicable is the third one about moral inconsistencies in the law. In this case the law teaches us that, in a situation such as the one Dudley and Stephens found themselves in, it is more moral to sacrifice our lives than to preserve it.
Sex Religion Discrimination Essay Research Paper The critical
Sex+Religion Discrimination Essay, Research Paper The critical issue in this case is whether Farm Fresh Food, Inc. acted lawfully by denying employment to Jennifer Brand. Farm Fresh Foods further claim that Ms. Brand failed to establish a prima facie case of discrimination based on sex or religion. Furthermore, they claim that even had such case been established, Farm Fresh decision to deny employment to Ms.
Gag Order Essay Research Paper Gag Order
Gag Order Essay, Research Paper Gag Order – A judge’s order prohibiting the attorneys and the parties to a pending lawsuit or criminal prosecution from talking to the media or the public about the case. The supposed intent is to prevent prejudice due to pre-trial publicity which would influence potential jurors.
Social Mobility Essay Research Paper Social Mobility
Social Mobility Essay, Research Paper Social Mobility: A Case Study In a world where it is hard to get ahead, some people do manage to do it. Most of us spend our lives within our strata in the stratifications system because it is very difficult to move up in the world, as we know it today. While it is quite easy to move down a strata it can also require some effort to just maintain a strata.
The Craig
’s Case Essay, Research Paper While reading this case I couldn?t believe how similar Craig?s problem was to my own from couple years ago. I tried to recall all the facts from my own experience and compare them to Craig?s. Even though I never had a steady job and I worked only couple of summers, I am pretty sure that many people had experience like this at one point in their careers.
Racism Black Issues Essay Research Paper Legal
Racism: Black Issues Essay, Research Paper Legal Environment of Business “Separate but Equal” summary It is hard in this time and age to be able to imagine a world of segregation of a people or a color, but that it happened in the time of our fathers is more amazing. There were many factors that lent themselves to the Supreme Court case involving segregation.
Marbury V Madison Trial Essay Research Paper
Marbury v. Madison The issue before the Supreme Court was the question of the court?s own constitutional authority, and to decide whether or not to issue the writ and if this would
The Ethics Behind The Challenger Explosion Essay
, Research Paper The explosion of the Challenger spacecraft is the greatest tragedy in the history of NASA. It is also one of the most heated engineering ethical debates available for analysis. The question of whether or not the astronauts had the proper information to consent the launch is one of the main aspects of the debate.
Dred Scott Case Essay Research Paper The
Dred Scott Case Essay, Research Paper The Dred Scott case is one of the most significant cases in American history. Dred Scott was a former slave of a master named, Peter Blow. When Mr. Blow became financially in trouble he sold Dred Scott to Dr. John Emerson who was a physician. The military career of Dr. Emerson he traveled to many places including Illinois which at the time it was prohibited to own a slave which was stated in the Missouri Compromise of 1820.
The Strange Case Of Dr Jekyll Essay
, Research Paper The Strange Case of Dr. Jekyll and Mr. Hyde Some of the most horrible crimes in the 20th century, mostly ones that deal with one or mutable killings, were committed by people that were mentally unstable or unable to think or act reasonable unlike the rest of the people in the world. In other words, these people were considered insane.
The Crucible John Proctor Vs Abigale Williams
Essay, Research Paper The Crucible, John Proctor Vs. Abigale Williams I think the best case scenario for John Proctor is he is a man and for a long time his wife was sick, and could nt give him what he desired so their love grew apart and he had to look elsewhere and he did nt have to look very far and he looked toward his maid Abigale Williams for she was attracted to him and it made the whole incedent all the more harder to refuse and and then he realized the mistake he had made as his wife was getting better she shunned Abigale from her household, but Abby did nt go quietly and she is still trying to minipulate John into leaving his wifeand it was making her more minipulative because she knew he would not leave his wife without somekind of Brain Washing .
A Civil Action Essay Research Paper In
A Civil Action Essay, Research Paper In a trial, rhetoric is an important part in the success or failure of a case. This is a double-edged sword; it can play out either good or bad. Rhetoric can be used to stress an important detail or idea, but it can also to derail the other side s case, or, just take them out mentally.
Twelve Angry Men Essay Research Paper Twelve
Twelve Angry Men Essay, Research Paper Twelve Angry Men This play is about twelve jurors who are to decide the verdict of a 19 year old boy who is accused of killing his father. The jurors go into a room with the foreman to talk about the case and decide on a verdict. The vote has to be unanimous either guilty or not guilty for the case to end.
The Fight Theory And The American Legal
System Essay, Research Paper The aim of the legal profession is to seek out the truth and provide justice for those who were wronged. Lawyers represent clients who are on opposite sides of the case, and who most often have opposite views of the truth. In the legal system there exist two opposing views on the method of uncovering the truth.
Roe Vs Wade Essay Research Paper Roe
Roe Vs Wade Essay, Research Paper Roe vs. Wade Roe vs. Wade was a court case based on abortion and a woman?s right to choose. At the time of this court case the present law in Texas stated that it was illegal to get an abortion, unless the mother?s life was in danger.
Clinton Essay Research Paper Whether or not
Clinton Essay, Research Paper Whether or not to have the trial be held in public or private, symbolizes the trial. A simple question that is answered by common sense, made to just prolong a trial that serves no purpose, but to explain the bungling of two parities walking in the dark. At this stage in the proceeding there is nothing left to deliberate, no posturing left to do.
Media Essay Research Paper Media AwarenessThe case
Media Essay, Research Paper Media Awareness The case that I decided to focus on is an older abuse case, but it has recently been resolved in the courts. It is a child abuse case involving James and Bonnie Zeleski. They
Deadbeat Parents Essay Research Paper Parents who
Deadbeat Parents Essay, Research Paper Parents who do not pay their child support are deadbeat parents. This creates a hardship for the case managers in the child support office, the legal staff in preparing documents and court appearances, but most importantly, the children who are the recipients of the child support.
Fairness Of Jurors Essay Research Paper MUST
Fairness Of Jurors Essay, Research Paper MUST A JUROR’S MIND BE EMPTY TO BE OPEN?This article is about a concept of choosing the 12 jurors. In any case, jurors always play important roles in the court since they are the people who will come up with a verdict. Because of this, people believe that when the jurors are chosen for a certain trial, they must be aware of that case and know what is going on in that case.
Buddhist Economics Essay Research Paper Buddhist EconomicsMost
Buddhist Economics Essay, Research Paper Buddhist Economics Most people think that religion and economics don?t mix. So you would think the same in the case with Buddhism and economics. But actually the there is a set of rules that go along with our modern day economics that have their own meanings. Buddhists believe that spiritual health and well being go hand in hand.
Bob White Essay Research Paper Shariff Elkordy
Bob White Essay, Research Paper Shariff Elkordy 11/27 Professor Lang A case of negative impact: Bob White v. Texas After reading this article, I was surprised that this injustice happened in the United States not to long ago. Bob White had many of his civil rights violated. He spent seven days in jail with no charges being held against him.
Hw Lab Essay Research Paper I TitlePopulation
Hw Lab Essay, Research Paper I. Title Population Genetics and Evolution: Hardy Weinberg Equation II. Hypothesis This lab is separated into four different cases. Within each of these cases, there are
Procedure Essay Building Your Own Pc Essay
, Research Paper Building Your Own PC In the following paragraphs I will be instructing you step by step on how to build your own PC (Personal Computer). It is recommended that you have general knowledge on computers. This means that you need to know what the different parts are and what they do.
Case Study Essay Research Paper Case Study
Case Study Essay, Research Paper Case Study : Media ups and downs Summary: The Australian made midday television program ?Day time with Amanda? first aired in 1993, showing good ratings and high advertising revenue during its early stages.