Tuesday, December 31, 2019

Overrides in VB.NET - Using VB.NET Series

This is one of a mini-series that covers the differences in Overloads, Shadows, and Overrides in VB.NET. This article covers Overrides. The articles that cover the others are here: - Overloads- Shadows These techniques can be hugely confusing; there are a lot of combinations of these keywords and the underlying inheritance options. Microsofts own documentation doesnt begin to do the topic justice and there is a lot of bad, or out of date information on the web. The best advice to be sure that your program is coded correctly is, Test, test, and test again. In this series, well look at them one at a time with emphasis on the differences. Overrides The thing that Shadows, Overloads, and Overrides all have in common is that they reuse the name of elements while changing what happens. Shadows and Overloads can operate both within the same class or when a class inherits another class. Overrides, however, can only be used in a derived class (sometimes called a child class) that inherits from a base class (sometimes called a parent class). And Overrides is the hammer; it lets you entirely replace a method (or a property) from a base class. In the article about classes and the Shadows keyword (See: Shadows in VB.NET), a function was added to show that an inherited procedure could be referenced. Public Class ProfessionalContact ... code not shown ... Public Function HashTheName( ByVal nm As String) As String Return nm.GetHashCode End Function End Class The code that instantiates a class derived from this one (CodedProfessionalContact in the example) can call this method because its inherited. In the example, I used the VB.NET GetHashCode method to keep the code simple and this returned a fairly useless result, the value -520086483. Suppose I wanted a different result returned instead but, - I cant change the base class. (Maybe all I have is compiled code from a vendor.) ... and ... - I cant change the calling code (Maybe there are a thousand copies and I cant update them.) If I can update the derived class, then I can change the result returned. (For example, the code could be part of an updatable DLL.) There is one problem. Because its so comprehensive and powerful, you have to have permission from the base class to use Overrides. But well-designed code libraries provide it. (Your code libraries are all well designed, right?) For example, the Microsoft provided function we just used is overridable. Heres an example of the syntax. Public Overridable Function GetHashCode As Integer So that keyword has to be present in our example base class as well. Public Overridable Function HashTheName( ByVal nm As String) As String Overriding the method is now as simple as providing a new one with the Overrides keyword. Visual Studio again gives you a running start by filling in the code for you with AutoComplete. When you enter ... Public Overrides Function HashTheName( Visual Studio adds the rest of the code automatically as soon as you type the opening parenthesis, including the return statement which only calls the original function from the base class. (If youre just adding something, this is usually a good thing to do after your new code executes anyway.) Public Overrides Function HashTheName( nm As String) As String Return MyBase.HashTheName(nm) End Function In this case, however, Im going to replace the method with something else equally useless just to illustrate how its done: The VB.NET function that will reverse the string. Public Overrides Function HashTheName( nm As String) As String Return Microsoft.VisualBasic.StrReverse(nm) End Function Now the calling code gets an entirely different result. (Compare with the result in the article about Shadows.) ContactID: 246 BusinessName: Villain Defeaters, GmbH Hash of the BusinessName: HbmG ,sretaefeD nialliV You can override properties too. Suppose you decided that ContactID values greater than 123 would not be allowed and should default to 111. You can just override the property and change it when the property is saved: Private _ContactID As Integer Public Overrides Property ContactID As Integer Get Return _ContactID End Get Set(ByVal value As Integer) If value 123 Then _ContactID 111 Else _ContactID value End If End Set End Property Then you get this result when a larger value is passed: ContactID: 111 BusinessName: Damsel Rescuers, LTD By the way, in the example code so far, integer values are doubled in the New subroutine (See the article on Shadows), so an integer of 123 is changed to 246 and then changed again to 111. VB.NET gives you, even more, control by allowing a base class to specifically require or deny a derived class to override using the MustOverride and NotOverridable keywords in the base class. But both of these are used in fairly specific cases. First, NotOverridable. Since the default for a public class is NotOverridable, why should you ever need to specify it? If you try it on the HashTheName function in the base class, you get a syntax error, but the text of the error message gives you a clue: NotOverridable cannot be specified for methods that do not override another method. The default for an overridden method is just the opposite: Overrideable. So if you want overriding to definitely stop there, you have to specify NotOverridable on that method. In our example code: Public NotOverridable Overrides Function HashTheName( ... Then if the class CodedProfessionalContact is, in turn, inherited ... Public Class NotOverridableEx Inherits CodedProfessionalContact ... the function HashTheName cannot be overriden in that class. An element that cannot be overridden is sometimes called a sealed element. A fundamental part of the .NET Foundation is to require that the purpose of every class is explicitly defined to remove all uncertainty. A problem in previous OOP languages has been called â€Å"the fragile base class.† This happens when a base class adds a new method with the same name as a method name in a subclass that inherits from a base class. The programmer writing the subclass didnt plan on overriding the base class, but this is exactly what happens anyway. This has been known to result in the cry of the wounded programmer, I didnt change anything, but my program crashed anyway. If there is a possibility that a class will be updated in the future and create this problem, declare it as NotOverridable. MustOverride is most often used in what is called an Abstract Class. (In C#, the same thing uses the keyword Abstract!) This is a class that just provides a template and youre expected to fill it with your own code. Microsoft provides this example of one: Public MustInherit Class WashingMachine Sub New() Code to instantiate the class goes here. End sub Public MustOverride Sub Wash Public MustOverride Sub Rinse (loadSize as Integer) Public MustOverride Function Spin (speed as Integer) as Long End Class To continue Microsofts example, washing machines will do these things (Wash, Rinse and Spin) quite differently, so theres no advantage of defining the function in the base class. But there is an advantage in making sure that any class that inherits this one does define them. The solution: an abstract class. If you need even more explanation about the differences between Overloads and Overrides, a completely different example is developed in a Quick Tip: Overloads Versus Overrides VB.NET gives you even more control by allowing a base class to specifically require or deny a derived class to override using the MustOverride and NotOverridable keywords in the base class. But both of these are used in fairly specific cases. First, NotOverridable. Since the default for a public class is NotOverridable, why should you ever need to specify it? If you try it on the HashTheName function in the base class, you get a syntax error, but the text of the error message gives you a clue: NotOverridable cannot be specified for methods that do not override another method. The default for an overridden method is just the opposite: Overrideable. So if you want overriding to definitely stop there, you have to specify NotOverridable on that method. In our example code: Public NotOverridable Overrides Function HashTheName( ... Then if the class CodedProfessionalContact is, in turn, inherited ... Public Class NotOverridableEx Inherits CodedProfessionalContact ... the function HashTheName cannot be overriden in that class. An element that cannot be overridden is sometimes called a sealed element. A fundamental part of the .NET Foundation is to require that the purpose of every class is explicitly defined to remove all uncertainty. A problem in previous OOP languages has been called â€Å"the fragile base class.† This happens when a base class adds a new method with the same name as a method name in a subclass that inherits from a base class. The programmer writing the subclass didnt plan on overriding the base class, but this is exactly what happens anyway. This has been known to result in the cry of the wounded programmer, I didnt change anything, but my program crashed anyway. If there is a possibility that a class will be updated in the future and create this problem, declare it as NotOverridable. MustOverride is most often used in what is called an Abstract Class. (In C#, the same thing uses the keyword Abstract!) This is a class that just provides a template and youre expected to fill it with your own code. Microsoft provides this example of one: Public MustInherit Class WashingMachine Sub New() Code to instantiate the class goes here. End sub Public MustOverride Sub Wash Public MustOverride Sub Rinse (loadSize as Integer) Public MustOverride Function Spin (speed as Integer) as Long End Class To continue Microsofts example, washing machines will do these things (Wash, Rinse and Spin) quite differently, so theres no advantage of defining the function in the base class. But there is an advantage in making sure that any class that inherits this one does define them. The solution: an abstract class. If you need even more explanation about the differences between Overloads and Overrides, a completely different example is developed in a Quick Tip: Overloads Versus Overrides

Monday, December 23, 2019

Working in 21st Century - 2947 Words

WORKING IN THE 21st CENTURY SEMESTER 1 ACADEMIC YEAR 2012/2013 LECTURE 1 Overview of Course Description of Assignment  © KAMAL KANT, 2012 1 COURSE OBJECTIVES 1. 2. 3. 4. NEW PARADIGM OF WORK CAREER THEORIES ABOUT UNDERSTANDING YOU LEARN TO WORK IN 21st CENTURY ïÆ' ¨ MOTIVATION, LEADERSHIP, TEAMS, INTELLIGENCE STRESS 5. SUCEEDING IN CAREER 6. CAREER PLANNING AND JOB HUNTING  © KAMAL KANT, 2012 SEE COURSE OUTLINE CONTENTS OF TEXT FOR DETAILS 2 WORKING IN THE 21st CENTURY †¢ 13 lectures. †¢ PowerPoint slides of lectures will be posted at least a day before the lecture. †¢ There is a prescribed text for course †¢ There will be recommended readings. †¢ These [prescribed text recommended readings] must be read if you hope to do well/pass –†¦show more content†¦Ã¢â‚¬ ¢ Therefore important to read on a regular basis rather than waiting to the ‘end’ to read! Clarify during break†¦do not wait to the ‘end’ and then send email†¦..too ‘difficult’ to explain!  © KAMAL KANT, 2012 12 ABOUT THE EXAM †¢ You can be assured there will be questions on the following topics: – – – – – – – – – Career Theories [at least 2 questions] Changing World of Work, Trends Forces of Change Self-Concept SOME EXAM QUESTIONS MAY BE Motivation SIMILAR, IF NOT IDENTICAL TO Intelligence QUESTIONS THAT HAVE APPEARED IN PAST EXAM PAPERS. YOU ARE Stress THEREFORE ENCOURAGED TO Teams COMMENCE PREPARATION FOR THE EXAM FROM THE START OF THE Leaders COURSE INSTEAD OF WAITING FOR THE Job Hunting COURSE TO END! 13  © KAMAL KANT, 2012 EXAM PREPARATION †¢ The exam questions requires students to demonstrate analytical critical thinking. †¢ It is not simply about regurgitation. †¢ Consequently, there are NO MODEL ANSWERS. †¢ You need to describe, discuss debate course content and be able to relate to personal situations [yours] apply to a variety of scenarios. kkant@ntu.edu.sg 14 EXAM PREPARATION  © KAMAL KANT, 2012 15 A TYPICAL QUESTION †¢ Drawing on Kaplans article Reaching your Potential in the Harvard Business Review in the July/August 2008 issue [Vol. 86, Issue 7/8, pages 45-49], explain how you will implement the three steps as proposed by Kaplan in his article, in your career onShow MoreRelatedSatff in the Work Place and The Twenty-First Managers Essay1209 Words   |  5 Pagesof the 21st century need certain theories to help and support them when dealing with staff in the work place. Theories such as Maslow, Hertzberg , Mayo , John Adair , Mc Gregor and Fredrick taylor The 21st century manager has an immense importance in the workplace because; they have the responsibility to make sure teams develop their skills and achieve their set goals in the workplace. In this essay, I will firstly attempt to analyze and evaluate the importance of teams in the 21st century, drawingRead MoreThe 21st Century Manager Needs More710 Words   |  3 PagesThere is a growing understanding that managers of the 21st century need certain theories to help and support the work place, theories such as Maslow, Hertzberg , Elton mayo ,Beldins , John Adair , Isabel Briggs, Dougles Mc Gregor, Tajfel , Tuckmen , Jung , bloom. The 21st century manager has an immense importance in the workplace because; they have the responsibility to make sure teams are working effectively to develop and achieving individual goals in the workplace, to meet them business aims andRead MoreSlavery in the 21st Century1443 Words   |  6 PagesSlavery in the 21st Century For the majority of people, slavery brings to mind images of African people shackled in damp cargo holds of ships crossing the Atlantic. Slavery is something that most people think is part of history rather than a current global problem. But the reality is slavery still exists today and in some parts of the world is increasing daily (Slavery in the 21st Century, n.d.). According to the U.S. Federal Bureau of Investigation [FBI], human trafficking alone generates aRead More21st Century Classrooms and Learners Essay1560 Words   |  7 Pages21st Century Classrooms and Learners Defining a 21st Century Classroom The term, 21st century classroom, might at first thought, seem easy to define; however, as one looks deeper, the simplicity of a definition seems at best, a challenge. Is a 21st century classroom one which houses a variety of technologies readily available to the teacher and students? Or, as might seem obvious, one in which the teacher and students are capable of utilizing the technology? On the contrary, it appearsRead MoreKarl Marx s Theories During The Industrial Revolution1662 Words   |  7 Pagesthe 19th century, Europe underwent political and economic change resulting in a shift from craft production to factory work. This was a time known as the Industrial Revolution, in which class division and wage labor were the most foregrounded aspects of society (Poynton). Karl Marx’s theories during this time gave way to new perspectives and different ways of viewing oneself in class positions. Comparisons between social and political structures in the 19th century and the 21 st century expose theRead MoreTeacher s Role Of 21st Century : Personal Debate - Module / Week 51385 Words   |  6 PagesTeacher’s Role in 21st Century: Personal Debate - Module/Week 5 The purpose of this paper is to fulfill the assignment objectives by clarifying the characteristics of a 21st century teacher, and considering them against the characteristics of the â€Å"traditional† teacher. The writing will the work to evaluate whether the role of teachers in the 21st century is changing and if so, whether â€Å"traditional† teachers versus those considered to be equipped with 21st century skills are going to be more or lessRead MoreLearning Theories Of Learning And Teaching Essay1128 Words   |  5 Pagesunderstanding of the learning models and theories that both drive instruction and learning in the classroom. In this paper I will address the evolution of ideas about learning and teaching in education as well as address the shifts in learning in the 21st century. The Evolution of Learning Theories In the last fifty (50) years there has been significant contributions in the field of education in regards to how children learn, and the models in which learning theories have been developedRead MoreClassism in North America1216 Words   |  5 Pagesdifferential treatment based on social class or perceived social class. I will prove this by explaining in the following paragraphs about the types of classes rights in the 20th, 21st and the 22nd century, Urbanization and its effects on class, Social power and rights, and general day to day life.      Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚   In the 21st Century in North America the people were divided in 3 main categories which were the rich, the middle-class, and the poor. People who are poor and/or middle class sometimes believe inRead MoreLeadership for Healthcare in 21st Century Essay602 Words   |  3 PagesAs 21st century, there is a change in era technology thus the leadership style also must update in line with the current development. It same goes with the changes in leadership for healthcare in 21st century. Thomas H. Lee in Arroliga et al (2014) said that health care delivery systems must develop a new kind of leadership to reduce chaos and improve outcomes. In this century, there are working collaboratively where different organizational structure are combine in one team during operation inRead MoreM1: Compare Historical and Current Features of Public Health Essay708 Words   |  3 PagesCompare the 19th, 20th and 21st century in relation to the main public heal th strategies used. Introduction This essay will compare the 19th, 20th and 21st century in relation to the main public health strategies used in United Kingdom. It will also compare the similarities and differences of the living conditions in towns and cities between the three named centuries above. In comparing the differences between 19th, 20th and 21st century, the living conditions in the 19th century caused so many deaths

Sunday, December 15, 2019

Stalin- an Evil Dictator Free Essays

Stalin: Man or Monster 1. Source A shows Stalin as a man intent on destroying the prosperity of Russia and destroying its people. In contrast, source B is showing the opposite. We will write a custom essay sample on Stalin- an Evil Dictator? or any similar topic only for you Order Now Source A shows Stalin proudly presenting ‘the USSR’s pyramids’ made of the skulls of the people. He has a big grin on his face. Meanwhile, source B shows Stalin talking with the workers at a new power station. He is presented as wanting to connect with this people and caring by how he is taking with what is regarded as the lower-class when he is regarded as the most important person in Russia. Source C presents Stalin as the spirit of Russia and the symbol of power of Russia by how he is very large in comparison to everything around him which emphasises his power and strength as does the huge army around him. In comparison, source A shows Stalin as the symbol of the destruction of Russia because of the large quantities of human skulls with Stalin presenting them with a smile show how he is planning to destroy Russia which is the exact antithesis of source C. Source B and source C both show Stalin as pro the development of Russia. Source B shows Stalin in front of a brand new power station which shows that he is industrious and looking out for the people of Russia by improving their lives. Source C also shows Stalin leading the Russians to victory in the war and he is the subject of the poster which directly links him to all Russian success and power. Both of these sources put Stalin in a positive light. 2. Source D presents Stalin as a caring and brave man who is the only man in a position of power who cares for others because he talks about how he saved a man from drowning when others did not care. Although Stalin wrote it and therefore it is probably not factual but just propaganda, it still is useful as it says a lot about him. If this was made public then it can be argued that Source D was used as propaganda in order to win the hearts of the people after the war. It was written in 1945 so just after the war and the last sentence indicates that it was possibly used to get people on his side. Stalin says that ‘it seemed to me that the lack of concern our leaders show towards the people is the same as I met in far-off Asia’. The fact that he uses the word ‘our’ in relation to the leaders indicates that he was distancing the himself from the mistakes made and trying to say that he is just like anyone else. Also the reference to ‘Asia’ indicates he is trying be one of the soldiers as he had fought for Russia and that he is trying to sympathise with them after many millions of Russians died. However this last sentence could also be Stalin apologising for his mistakes with The Great Purges when 18 million people were sent to labour camps called Gulags of which 10 million died. This seriously weakened the USSR as many able people were taken away. Also he is trying to claim that he is very caring by using the story about a comrade being left behind in the floods. He says that ‘when asked where he was, they (other comrades) replied with no interest that he remained at the river’. This shows Stalin attempting to present himself as the only caring person in a position of power. This gives further evidence that Stalin believed he was a very caring person and good leader which can be argued as very arrogant as he never really showed this to his people when he was in power. In conclusion, Source D, although it is unlikely that it is true, says a lot of useful things about Stalin and what he was believed. It shows him as very arrogant as he may be trying to distance himself from the mistakes of his regime and also because he thinks he is caring when from historical evidence he was not. Also, if it was published which seems almost certain, it shows that he was a determined man as he tried to make sure his position was safe by using a propaganda story which is probably not true. 3. Both Source E and Source F are written by people with very different views of Stalin. In Source E’s information it says it was published in ‘Pravda, the newspaper of the Communist Party’ whilst in Source F it says it was written by a man called Bukharin who ‘was a victim of Stalin’s purges’. This means that both are likely to subjective as the writer of Source F is anti-Stalin whilst Source E is pro-Stalin therefore not very reliable . Having said this, Bukharin’s view of Stalin is more likely to be correct as he was taken advantage of when Stalin was a candidate for Lenin’s position. Stalin took Bukharin’s side in the debate on the NEP in order to get rid of his main threat-Trotsky. Once he achieved this he used Trotsky’s argument to oppose Bukharin. This there for means that Bukharin has seen, firsthand, what Stalin’s actual character is. Source E presents Stalin as a very caring leader and an ‘inspired leader’. However, Source F presents him as the antithesis of this and a ‘devil’. Again based on historical fact, Source F is more likely to be accurate as history shows that Stalin was an evil man. For example the purges when 10 million people died. Source F is also very accurate in its description of Stalin’s feelings to others who are better than him. It says that ‘if someone speaks better than he does†¦ Stalin will not let him live’. This is very accurate as Kirov, who got more applause than Stalin at the Seventeenth Party Congress, was murdered. There was a lot of talk of removing Stalin as leader, and Kirov seemed to be emerging as a popular alternative. Stalin is believed to have him murdered and also he sent many other leading communists to labour camps because he felt they were a threat. However Source F does have its limitations because it does not cover all aspects of Stalin’s personality because he was actually a very successful leader. And this is where source E has reliable information even if it is slightly exaggerated. Stalin got the Russian industry at its peak and his Five-year Plans, although they had disadvantages, were very successful. Pig iron production in 1927 was 3. 3 million tons but after the second Five-Year Plan in 1937 in was 14. 5 million tons. In the same time coal production went from 35. 4 million tons to 128 million tons. This shows that Stalin was actually very successful and this is reflected in some people’s opinion he was regarded as the greatest Russian leader to date. Source E agrees with this opinion as it says ‘generations to come will regard us as the happiest of people because we lived in the same century as Stalin’. This is actually very reliable as many people did believe he was a great leader and in terms of statistics he successfully industrialised Russia. Source E also talks about his ‘strength’ as a leader. This is also very accurate information as his army were the ones who drove the Germans back into Berlin and finished off the war. In conclusion, based on reliability Source F is the more reliable as it shows the negative side of Stalin which is contextually correct as he shows it in his actions towards Kirov and other leading communists who some had said should be leader instead of him. Having said this, Source F portrays Stalin as only pure evil when he did do some positive things. This is where Source E has some reliable information as it talks about Stalin’s strengths even if the source is a bit melodramatic about it. 4. A leader of a country can be a strong and great leader and a monstrous tyrant. Stalin was a man who people had different views on and many felt feel into this category. Although he modernised Russian agriculture and successfully industrialised Russia he was also responsible for the death of millions of innocent Russians. Source B presents all that was good about Stalin in his rule. Its shows Stalin in front of a new power station talking with his happy workers. It presents him as industrious and caring for his workers. This is supported by historical evidence. He had many new flats buildings built for the working-class and from 1927-1937 electricity production went from 5. 05 thousand million kilowatt hours to 36. 2 thousand million kilowatt hours. This shows how he improved life in Russia. Having said this, historian SJ Lee said ‘there is evidence that he [Stalin] exaggerated Russia’s industrial deficiency in 1929’ and that the foundation of industrialisation were already there making his job easy. This could be factually correct as the Tsar had started industrialising Russia way back in 1905. Despite this Source B still presents Stalin as a very good leader and a caring man. Source C presents Stalin as the most important man in Russia and the leader of the Russian army as in the picture he is bigger than the whole army. This presents in a positive manner a not a monstrous tyrant but more of a militaristic leader. This is backed by the fact that when he was in power Russian won World War 2 for the allies with the final push into Berlin. The writing in the source is translated as ‘using the spirit of Stalin our army and country are faithful and strong’. This is very true as in the time of Stalin Russia were the biggest threat to the USA as the biggest power in the world. He also did become regarded as the symbol of Russian might by everyone. In 1925 the city of Volgograd was renamed Stalingrad to recognise Stalin’s role in its defence from the Whites in 1918-20. This source shows Stalin as a very powerful leader and the spirit of Russia and not a monstrous tyrant at all. Source E emphatically praises Stalin as ‘inspired’ and tells everyone that they were ‘the happiest of people because we lived in the same century as Stalin’. And this is not entirely rubbish. Although at points in his rule the Russian people were miserably as 18 million of them were in Gulags, for a lot of his rule only good things happened to Russia. Industry improved rapidly and Russia won a war in his time. Many regarded him as the greatest leader in Russia’s history. However it was written by a writer in the congress of soviets and therefore was closely linked to Stalin. This makes it likely that he wrote this speech in order to appease Stalin and get in his good books. This source portrays Stalin as a great man and leader who was the best leader Russia had had. It shows him as the antithesis of a monstrous tyrant. Source H talks only about the side of Stalin which was actually true: that he was a good leader and had an ‘iron will’. Of this there is no doubt as he did what he wanted. He was indeed a good leader and was always clear with his decisions as the source. However this source is certainly going to be pro-Stalin as it was written in Russia in his rule and was his biography. This shows that it therefore would not talk about the other side of his personality which was arguably a monstrous tyrant. However despite this, what source H is saying is not just lies and is based on truth. This source indicates that he is not a monstrous tyrant but a respected leader which is not wrong. Source D dissociates Stalin from the mistakes of the leaders in the war and also dissociates him from the great purges when millions of Russians died. It is also presenting him as one of the people by how it says ‘our leaders’. The use of the possessive adjective ‘our’ shows him not only distancing himself from the past mistakes in his rule but trying to connect with the people. Source D also shows him as a caring man as he looked out for his one missing comrade in the story. This source is not however really backed by historical evidence as he was not one for caring for individuals and in fact he was the one who on his own started the Great Purges and sent many to gulags. Also the fact that it was written by Stalin himself indicates that the story is almost certainly made up and only propaganda. However, taking the source for what it is, it shows that Stalin was a very caring man who was one the people. In actual fact he was quite the opposite. Source I is probably the fairest judgement of Stalin and his time in power. It separates Stalin’s great ability as a leader from his evil personality. The fact that it was published in Britain and in 1983 means that it is unlikely to have any reason to be pro or anti-Stalin. This source describes him as a ‘very skilled, indeed gifted politician’. This is a true statement as he very cleverly manipulated people and Trotsky’s underestimation of him to become leader over Trotsky. This shows a very good political mind and intelligence to outwit even the best politicians. Source I then concludes that Stalin was a not a good man and that ‘he had a dark and evil side to his nature’. This is also very true as he had many sent to Gulags in order that he would look powerful. Of the 18 million people sent to Gulags 10 million died. And he never officially conceded that he made a mistake and never said he regretted it. This shows a very sinister side to him which Source I correctly points out. Also he was evil in the way that he got rid of many artists and virtually destroyed the right to express freewill in Russia. This can only be the work of someone who is soulless and evil. In conclusion, although this source looks at Stalin’s positives, it still portrays him as a monstrous tyrant. Source A dwells on the negatives of Stalin’s rule. The ‘pyramids’ of skulls is a reference to the Great Purges when 18 million Russians were sent to Gulags of which 10 million died. This source also seems to show that Stalin does not care and in fact is very proud of his work. This is actually not complete rubbish as Stalin never did publicly apologise or even say he regretted it. However, the fact it was published in Paris indicates that it may be a bit anti-communism as France was a country which did not embrace communism at all. Although we do not know when in the 1930s it was published- before, after or during the Purges- it is a very accurate source as many died due to Stalin’s policies. This source indicates that Stalin was a monstrous Tyrant. Source J literally describes Stalin as a ‘monstrous tyrant’. However, as oppose to saying he was a good politician but also a malevolent human being, it suggests that was corrupted by ‘absolute power’ which ‘turned a ruthless politician into a monstrous tyrant’. This gives another idea about Stalin’s personality. There was no doubt that he was a ruthless politician. For example, after using Bukharin’s argument to defeat Trotsky, he then turned it round on Bukharin and used that argument to disgrace him. However after Stalin’s decisions do not really show politics in them but more him being paranoid about his position and therefore doing acts of hostility. For instance, his decision to start ‘purging’ Russia of all people he thought were a threat to the state ( or a threat to his position†¦ ) did not show clever politics but more panic leading to monstrous acts. This source present Stalin as a man who may of been great politician in the past but then this ability of his turned into shear malicious tyranny. Source F concentrates on the dark side of Stalin’s personality. It says that ‘if someone speaks better than he does†¦ Stalin will not let him live’. This is debatably a very accurate description of Stalin as he was rumoured to have had Kirov, a communist who became very popular and some people thought should replace Stalin at the time, was murdered and many believe that Stalin was behind the murder. Stalin also sent many loyal Bolsheviks to Gulags in the infamous ‘show trials’ for being traitors of the state. Although these people confessed, Stalin most probably forced them to confess by threatening them with death and the death of their families. He did this because he was scared they would take away his power. Having said this, this source is likely to be subjective as Bukharin, the writer of the source, was disgraced by Stalin in 1929. Also it is a very one-sided source as it says that Stalin was pure evil when he did do good things for Russia. To conclude, although it is slightly opinionated, Source F gives a fairly accurate account of what was wrong with Stalin and displaces him as malicious and as the devil. Source G points the finger at Stalin by accusing him of using ‘terror’ to defend communism. However, this source is almost certainly prejudiced against Stalin as Khrushchev, who said source G and became leader after Stalin, would have been trying to distance himself from the worst parts of Stalin’s rule by condemning him. Although, Source G does have some correct ideas as it says that Stalin was a ‘distrustful man’. This is an accurate description of Stalin as he had many sent to Gulags because he thought they were plotting against him. He also acted very suspiciously at the Potsdam Conference in August 1945 when in February that year at the Yalta conference he had been very united with the other allies. At Potsdam Conference he disagreed with the other allies about what to do with Germany, about reparations and over soviet policy in Eastern Europe, where Russian troops dominated. Truman, the USA president at the time, became suspicious of Stalin and his intentions, as did Stalin. This distrusted lead to the Iron curtain and the cold war. To conclude, Although Khrushchev was not likely to have praised Stalin in this situation, Source G is a very accurate description of Stalin and portrays him as untrustworthy character and malicious tyrant. In conclusion, the sources do not give a conclusive idea to whether he is a monstrous tyrant or not because five of them are anti-Stalin and 5 pro-Stalin. However, based on the fact that many of the Pro-Stalin Sources are either written by Stalin or as propaganda, the ources show that he more of monstrous tyrant. Also the sources which focus on his industrious nature and his successes in improving industry do not take into account how many people died in this process and that Russia’s industry had been improving a lot for the twenty years before Stalin came to power. In essence his job on that was made easy and some historians argue that this process would have happened just as successfully with any leader. A leader can be great at being a politician and be industrious yet still be a monstrous. My personal opinion is just that, that he was a great leader and politician however a very evil man and therefore a monstrous tyrant. Source I sums up Stalin as a person. It says Stalin is ‘very skilled, indeed gifted politician and one of the greatest political figures of the twentieth century’ however it also says ‘he had a dark and evil side to his nature’. This summarises perfectly Stalin’s life: he was a great leader of a country however he was still a very evil man and a monstrous tyrant. How to cite Stalin- an Evil Dictator?, Essay examples

Saturday, December 7, 2019

Discuss Piagets theory of cognitive development free essay sample

Cognitive Development can be defined as the development of thought processes. This includes thinking, concept understanding, problem solving, and decision making and remembering from childhood on to adulthood. There are two theories of Cognitive development that offer us two different ways of understanding it. The first is called Domain general. This theory states that one line of development determines all of the changes in a child’s intellectual system (van Geert, 1998). This means that if one thing goes wrong then it will impact on all other areas of a child’s cognitive system, resulting in a high scale problem. The second is the Domain specific theory. This theory varies from the domain general theory as it states, different lines of cognitive development operate independently. It sees cognition as a heterogeneous system. Jean Piaget (1896-1980) is the most well-known psychologist in the field of cognitive development. He was a French man that originally trained in biology and philosophy sectors. Piaget was the first person to suggest that children see the world differently to adults; he then developed methods to investigate this before any other psychologist had studied this area. Piaget set the basis for his research methods primarily on case studies because they were descriptive and for Piaget, the domain general theory of cognitive development was the correct one. The problem with this is that it is impossible to use case studies in order to draw conclusions about cognitive development to the entire population, therefore lacking population validity. Piaget used the direct method of question and answer to find out how a child’s reasoning differs from an adult (D. M. G. Hyde, 1970). He believed that the differences in intellectual development are always a result of either direct or indirect changes that occur in a person’s logical ability. 120281576 Piaget created a stage theory of cognitive development in children. This stage theory centres on the thought that children develop cognitive skills by interacting with objects in their environment. Children gain mental representations by this interaction which causes them to base the world on their experiences with the objects (Piaget, 1972). Piaget’s stage theory consisted of four stages that he said all children went through when developing cognitive skills. It was a stage theory which means that a child cannot develop to a late stage without first developing through all of the preceding stages; it was a one way coherent process. Stage one was the Sensory Motor stage. This is the period where language has not been formed yet by the infant. This stage focuses on the child from birth to two years of age. The child interacts with its environment by manipulating objects as the child has not developed language skills yet (Piaget and Inhelder, 1969). The child will use all of its other senses, such as taste and touch, to explore the world surrounding them. Initially the child will use sucking and grasping reflexes and then eventually move on to reaching for objects. Infants firstly believe that if they cannot see an object then it does not exist, the ‘Out of sight, out of existence’ principle applies here (Martin, Carlson and Buskist, 2010). When the child reaches about eight months of age, the child will begin to understand the concept that the object can still exist even when it is out of sight. Stage two is the pre-operational stage. This occurs between the ages of two and seven. The key milestone in this stage is egocentrism and domain perception. Children in this stage believe that everything is about them; they have an egocentric view of the world. Piaget’s three mountains task was used in order to detect the ability to mentally rotate an image (Inagaki et al. , 2002). Children aged four or five were not able to say what another person would be able to see from their view; these skills are not gained until the age of around nine years old. 120281576 In stage three we have the concrete operations where children begin to gain some logical reasoning about the world. This stage occurs between seven and twelve years of age according to Piaget. They start to solve conservation problems but are very limited to concrete situations as they find systematic thinking difficult (Piaget, 1972). Stage four is the formal operational stage, ages twelve and above. Children learn to think about abstract ideas logically in this stage. They learn to understand that their behaviour can have different consequences under different condition (Piaget, 2008). There are many critics of Piaget’s stage theory, Margaret Donaldson and Hughes to name a few. A problem with his theory is that it proposes a single linear sequence that holds four very broad stages where each person must pass in order to fully develop their cognitive skills (Feldman, 2004). It therefore is too general as it does not give us much detail about the different stages and does not take into account any individual differences at all. On the other hand, Piaget used good methodology throughout his studies, constantly being careful in picking out his sample so that the sample would have population validity (Shayer, 2003). Another problem with Piaget’s stage theory is that his results and methodology do not necessarily test the theoretical claims of it. The negative observations, such as a child’s failure to be able to see from another person’s perspective, do not automatically mean a positive thesis, e. g. the child has a special mode of thought that prevents this (Feldman, 2004). Piaget’s stage theory still remains the standard theory against which all new theories of cognitive development are judged. However, it is a mutual agreement that Piaget may of under-estimated the cognitive abilities of children between two and eight years of age. He has also failed in observing that schooling and literacy affect the rates of development in children (Anders et al. , 2012). Piaget’s studies had good population validity due to him using a large 120281576 sample and large range of participants in his studies. His approach seems logical and has high value in this area.