Saturday, January 25, 2020

Leadership and Management in Changing Context of Healthcare

Leadership and Management in Changing Context of Healthcare INTRODUCTION The National Health Service (NHS) Trusts face a range of challenges arising from a national approach to the modernisation of services as laid out in the NHS Plan. (DOH, 2000) The NHS Plan recognises that the NHS is capable of providing more effective and accessible care by the rationalisation of service delivery through merged organisations. Mergers illustrate the focus on organisational restructuring as the key lever for change as indicated by the ninety nine health care provider mergers in England between 1996 and 2001. (Fulop, Protsopsaltis, King, Allen, Hutchings, and Normand, 2004) However, in many cases, mergers have unexpected consequences and drawbacks including problems in integrating staff, services, systems and working practices, clashing organisational cultures and poor leadership capacity. This essay considers leadership and management in the context of a problematic merger of services from two hospitals onto one site. The essay focuses on the change management process within one department to highlight key leadership, team, and cultural issues that negatively affected the newly merged department. The microcosm of the department mirrors similar occurrences across the two merged hospitals. The essay concludes with a comment on the organisational consequences if a macro intervention is not implemented. Confidentiality has been preserved by anonymising the identity of the hospitals and departments concerned. BACKGROUND This essay explores a recent change process involving the creation of a psychiatric liaison team based in a NHS hospital Accident and Emergency Department. (A E) in January 2004. The change occurred because of the merger of two hospitals that resulted in a number of structural changes, including the amalgamation of a traditionally split emergency service into a one site A E department. The liaison team replaced the existing deliberate self-harm service which had operated in the one hospital for two decades. The new liaison team consisted of eight newly appointed G-grade mental health nurses, a team leader, and a consultant psychiatrist who had both previously worked in the deliberate self-harm service. The hours of operation initially were 08:00 to 22:00 and there were two nurses on duty on early and late shifts. During a four week induction period, the team participated in team building and training exercises and developed into a cohesive, effective group. The team created clear key performance indicators specific to the psychiatric liaison team, established an action plan to achieve the set objectives, and planned to carry out six-monthly reviews. The team developed a shared vision to provide high quality, person centred care to the A E department without breaching government’s four hour targets (DOH, 2001). The team leader’s leadership style was democratic, and she fostered collaboration and involvement within the team (Walton, 1999). The team members considered her an expert in the field, and respected her for it. In July 2004, the service manager attended a monthly team meeting. At the meeting she was informed that a major change was expected to the hours of operation. The service would be extended to a 24-hour service starting in September 2004. In order for the liaison team to cover a 24-hour roster there was initially be a reduction in the number of nurses on duty, however, more staff would be recruited if necessary after a six month service review. An exact date for the review was not given. The change had not been communicated as part of the strategy for the greater merger. The Department of Health (DOH) modernisation agenda for the NHS, (DOH, 2002) sets out to modernise services in the NHS, and introduced a three star rating scale against which each NHS Trust’s performance is compared against benchmark standards. Funding in turn is dependant on the star rating achieved. One such standard relates to delays in A E departments, and stipulates that mental health patients should have 24 hour access to services, and that patients should be assessed and treated within four hours of arrival. (DOH, 2001) The underlying rationale for the change was therefore that the psychiatric liaison service had to provide a 24-hour service in order for the hospital to comply with the benchmark. Management of the merged hospitals did not consider staff shortages or how the four hour target might affect the quality of service provision, particularly when staff are under constant pressure to discharge patients before they exceed the benchmark standard. (RCP, 2004) In th e service described above, reaching the necessary 98 % four hour target proved impossible, because the staff numbers did not match the requirements of the service. The service was therefore to be expanded without additional staff, implying not only changes in hours and shifts, but also changes in work patterns. The team members reacted negatively to how the change process was introduced. Concerns were expressed about the reduction in staff numbers and questions were raised as to how the staff would be able to cope. The sense of security and continuity were put at risk. (Walton, 1999) The service manager was not available to address the concerns due to an increased scope of responsibility because of the merger that was beyond her normal remit. Lack of two way communication between the manager and the employees meant that the manager lost a valuable opportunity to resolve the negative reactions, and laid the foundation for resistance to change (Johnson, Scholes, and Whittington, 2005). Within a month of the announcement, the team leader had resigned. A new team leader was appointed and was tasked to lead the team through the change. The team started gradually becoming fragmented, staff sickness rates soared, and morale plummeted. The situation reached a crisis point by December 2005, by which time two more staff members had resigned. The majority of staff had taken sick leave, and the psychiatric liaison service was left uncovered for several days. A number of mental health patients in A E waited for hours, sometimes all night, to be seen by a mental health professional. The A E department laid a formal complaint about the liaison team’s performance. In March 2005, following discussion with a union representative, the team took out a grievance against the team leader. The key issues of concern were the way the change process had been introduced, lack of two-way communication and the team leader’s unsuitable task-oriented, directive leadership style. The team leader was suspended and the Trust commenced a lengthy investigation into the change process. The investigation continues to date. ANALYSIS Cameron and Green (2004) suggest McKinsey’s 7S model as a diagnostic tool to identify interconnected and related aspects of organisational change. The model is problem rather than solution focussed, and hence useful for pointing out retrospectively why change did not work. The weakness of the model is that it does not explicit identify drivers from the external environment and accordingly key forces have been described by way of explanation. According to Burke and Litwin (1992), the external environment is any outside condition or situation that influences the performance of the organisation. Systems, Staff and Strategy Systems refer to standardised policies and mechanisms that facilitate work, primarily manifested in the organisations reward systems, management information systems, and in such control systems as performance appraisal, goal and budget development, and human resource allocation. (Burke and Litwin, 1992) Systems are the mechanisms through which strategy is achieved. Strategy is how the organisation intends to achieve a purpose over an extended time scale. Johnson, Scholes, and Whittington (2005) link it directly to environment (industry structure), organisational structure, and corporate culture. Leaders are the executives and managers providing overall organisational direction and serving as behavioural role models for all employees. (Burke and Litwin, 1992) The systems that the service had in place to support the staff prior to the merger had functioned efficiently. The psychiatric liaison team had monthly team meetings, weekly ward rounds and supervision, and twice daily handovers to ensure high quality service. Teams in this context mean â€Å"a group who share a common health goal and common objectives, determined by community needs, to the achievement of which each member of the team contributes, in accordance with his or her competencies and skill and in co-ordination with the functions of others.† (WHO, 1984) Under the previous team leader’s management, the team had achieved a mature and productive level of performance that fell within Tuckman’s model of team development of a performing team. (Mullins, 2002) The leader demonstrated characteristics of an effective team leader (e.g. good communication) and ensured that the team members’ views were passed on to the management. (Marquis and Huston, 2003) The team also developed team specific performance indicators to fit the Trust’s strategy, such as the goal to provide high quality care within four hours of service users presenting to the A E department. However, the new management of the merged hospitals did not take into account that the reduction in staff numbers would make it difficult for staff to find time to attend ward rounds and to supervise care. Lack of supervision had a negative impact on the quality of care provided, and staff shortages meant that the team did not reach the four-hour targets in A E department. The change process indicated a lack of sincere stakeholder consultation which would have alleviated the crisis in the department. (Iles and Sutherland, 2001) Structure and Style Structure is the arrangement of functions and people into specific areas and levels of responsibility, decision-making authority, communication, and relationships to assure effective implementation of the organisations mission and strategy. (Burke and Litwin, 1992) The NHS Leadership Qualities Framework (DOH, 2002, p34) suggests â€Å"leading change through people† with â€Å"effective and strategic influencing† is essential in a merger environment. This is supported by Johnson, Scholes and Whittington (2005) who suggest that strategic, transformational leadership is a key element within an organisation staffed by professionals and that a collaborative style is required to achieve transformational, lasting change. However, the new team leader’s leadership style was autocratic and the team members were no longer consulted about matters concerning it, which was inappropriate in team nursing approach associated with collaborative patient centric care. Marquis and Huston (2003) suggest that a democratic leadership style works best with a mature experienced team with shared responsibility and accountability. The change in leadership style meant that the team felt disempowered and uninvolved in decision making which did not allow ownership of the change process to emerge. Furthermore, the flow of information to the team slowed down and the team’s concerns about the change did not reach top management implying that communication channels in the new organisational structure were not functioning efficiently. Management style equally affects culture. Johnson, Scholes and Whittington (2005) state that culture is the â€Å"taken for granted† assumptions that are accepted by an organisation or team. These work routines are not explicit, but are essential for effective performance. Ignoring these as the new team leader did, reduces motivation and performance, and stiffens resistance to change. Skills Skills are the distinctive capabilities of key people. (Cameron and Green, 2003) The nature of the team membership implied a range of key skills interdependent on the other for effective performance. A problem area in the skills portfolio was information technology skills. The Trust managing the merged hospitals had introduced a Trust wide electronic patient record system in accordance with NHS requirements. (DOH, 2003) This was implemented simultaneously with the decision to extend the working hours. The change aimed to improve the service user experience by allowing staff a 24-hour access to service user’s care and crisis plans. (DOH, 2003) The staff shortage meant that team members did not receive appropriate training on the system and the use of the electronic patient record system became a source of frustration and confusion. Lack of computer skills contributed to staff’s frustration and negative attitudes with the change process. Superordinate goals Superordinate goals are the longer term vision of the organisation and the shared values and guiding principles that that shape the future of the organisation and motivation achievement of strategy. (Cameron and Green, 2003) The team’s superordinate goals were initially created during the four-week team building period and aligned with those of the larger organisation. The team’s vision was to provide high quality, service user centred care. The team also considered change as a natural part of organisational development. However, the team became increasingly resistant to change when it felt that the organisation did not really care about its employees, their concerns, and the ultimate reason for the organisation’s purpose, being the patient. DISCUSSION OF CHANGE PROCESS Change management is art of influencing people and organisations in a desired direction to achieve an agreed future state to the benefit of that organisation and its stakeholders. (Cameron and Green, 2003) A number of models can be used to model a change management process. A popular model is Kurt Lewin’s forcefield analysis. A forcefield analysis is a useful tool to understand the driving and resisting forces in a change situation as a basis for change management. This technique identifies forces that might work for the change process, and forces that are against the change. Lewin’s model suggests that once these conflicting forces are identified, it becomes easier to build on forces that work for the change and reduce forces that are against the change (Cameron and Green, 2003). The difficulty is the assessment of strength or duration of a force, partlicularly when the human dimension is considered. The key resisting force in the change process was a lack of staff and poor leadership. The change process under discussion was largely motivated by external factors. However, due to poor project planning, Trust management failed to consider the internal factors that had a major impact on the change. In particular, the management failed to involve the necessary stakeholders at a local level to increase ownership of the change thus failed to consider the human dimension (Walton, 1999 and DOH, 2004). The new team leader’s autocratic leadership style did not fit the requirements of the task, or the culture of the team and thus sowed the seeds of resistance to change. (Hogg and Vaughan, 2002). The poorly managed change process became costly to the Trust due to the loss of human resources, reduced staff morale and lowered the credibility of the management. The change left the psychiatric liaison team feeling betrayed, and individual team members traumatised. As the change process progressed, it became evident that a thorough analysis of current resources and various dimensions of organisational change had not been carried out (Johnson, Scholes and Whittington, 2005). The management had not prepared a clear plan for launching and executing the change at a local level. The NHS Modernisation Agency Improvement Leaders’ Guide (DOH, 2004) stresses the importance of taking into consideration the human aspect when planning a change project. Similarly, Walton (1999) argues that change initiatives should be thought through and planned as far as possible taking into account the psychological bonds that staff form with their work groups and their organisation as a whole. It follows then that no precautions had been taken to address resistance to change. Johnson, Scholes and Whittington, (2005) state that there should be a clear communication plan to state how information about the change project will be communicated inside and outside the organisation. The team members were not given an opportunity to challenge and test the change proposal, or clarify what aspects of the change they could or could not influence. (Walton, 1995) Fulop, Protsopsaltis et al, (2004) suggest that change project should be presented as an opportunity to improve the quality of performance and that clinicians should should be involved on a consultative basis. Team members were aware of the consequences of extending the hours of operation without increasing the resources, however, there were no systems in place to communicate these views to the Trust management, a key aspect of the change process. The lack of key stakeholder involvement in the change meant that the management did not have access to the psychiatric liaison team’s valuable experience on the immediate and wider implications of cutting down resources. (Henderson, 2002) The team members felt that their concerns about the lack of resources had not been taken seriously, and this inevitably led to a feeling that the Trust did not care about it’s employees or their views. Strong emotions such as anger and frustration were expressed by the team members. The lack of formal communication channels, meant that the team members took them out on each other. Johnson, Scholes and Whittington, (2005) confirm that at times of change, rumours, gossip and storytelling increases in importance and that team members engage in countercommunication, thus unconsiously spreading distrust, suspicion and negativity which leads to lowered staff morale and job satisfaction. Although the rationale for change was clear to everyone, the change was executed at such short notice that the team members did not have time to develop strategies to deal with it. The NHS Improvement Leaders Guide to Managing the Human Dimension of Change (DOH, 2004) suggests that clinicians go through phases of shock, denial, anger, betrayal, conformance and understanding before they finally develop comitment to the change. The team members were left in a state of shock after the service manager’s initial announcement of the impending change in July 2004 and then moved into a state of denial. The general opinion was that the management would sooner or later realise that the change could not be executed without increasing the resources and accordingly delayed the change process until more staff would be employed. When there was no indication of this in the weeks that followed, the team members became demotivated. The team failed to move on to the next stages in their reaction s to change, and commitment to the change process did not develop. The team leader’s task-oriented leadership style did not suit the context of the change process, and partly contributed to it’s failing. Cameron and Green (2003) suggest that leadership will be most effective when the leader’s leadership style, the subordinates’ preferred leadership style and the requirements of the task fit together. A directive leadership style therefore is ineffective if the subordinates’ preferred leadership style is democratic, even though the task is well defined within tight parameters. In addition, Hogg and Vaughan (2002) argued that the most effective leaders are those who are able to combine task and socio-emotional leadership styles, and organise team members to work towards achieving goals at the same time promoting harmonious relationships. The new team leader paid no attention to the team culture and failed to communicate to management about the impending issue. Johnson, Scholes and Whittington (2005) suggest that power is a key element in a change process. Power is the ability of individuals to persuade or coerce others into following a course of action. The new team leader’s source of power was based on his hierarchal position in the Trust rather than on expertise or knowledge as shown by the previous team leader. The team members did not consider that the new team leader possessed appropriate expertise or personal characteristics. The team leader exercised coercion which was met with resistance by the team and for this reason the team members lacked respect for him. He was seen as an executor of decisions made by the management. The new team leader appeared to be more concerned about a successful completion of the change, was target driven and lacked sensitivity to employees feelings and concerns. The team leader used his positional power in a negative way, filtered information and gave the management a distorted view of how the staff were coping with the change process. The relationship between the team leader and the staff members eventually deteriorated to a point where communication broke down. Two staff members went on a long term sick leave, and two other staff members resigned. Following a meeting with a union representative in March 2005 the team members, including those who had resigned, made a decision to take grievance out against the teamleader. The key issues brought up in the meeting were the way the change had been introduced, poor project management and the team leader’s autocratic management style (Walton, 1999). CONCLUSION In conclusion, lack of stakeholder involvement, poor project planning and the teamleader’s unsuitable leadership style lead to the psychiatric liaison team becomimg fragmented, and resistant to change. No systems were put in place to ensure two-way communication with the employees. Lack of communication reduced the staff’s commitment to, and ownership of the change, and lead to a lower quality service provision and increased long waits in A E. The poorly managed change process became costly to the Trust due to loss of trained human resources, staff morale and credibility of the management. Similar incidents occurred in other areas of the hospital indicating that the change processes associated with the merger had created organisational wide problems that were indicative of failure at a top management and strategic level. Strategic leadership is a key element of the change process. A successful merger will only be achieved with consistent communication and the establishment of a vision that percolates throughout an organisation as a basis for effective change to realise the stated benefits of all stakeholders. References Brooks, I. (2002) The Role of Ritualistic Ceremonial in Removing Barriers between Subcultures in the NHS. Journal of Advanced Nursing. Volume 38, 4. Burke, W. W. and Litwin, G H. (1992) A Causal Model of Organisational Performance and Change. Journal of Management. Volume 18, 3. Cameron, E. and Green, M. (2004) Making Sense of Change Management. Kogan Page. Carr, D. K., Hard, K. J. and Trahant, W. J. (1996) Managing The Change Process: A Field Book For Change Agents, Consultants, Team Members And Re-Engineering Managers. McGraw-Hill. Crawford D., Rutter M. Thelwall, S. (2003) User Involvement In Change Management: A Review Of The Literature. National Co-ordinating Centre for NHS Service Delivery and Organisation. Davies H. T. O., Nutley, S. M. and Mannion, R. (2000.) Organisational Culture and Quality of Health Care. Quality in Health Care. Volume 9. DOH (1998) A First Class Service: Quality in the New NHS. Department of Health. The Stationery Office DOH (2000) The NHS Plan. Department of Health. The Stationery Office DOH (2001) National Service Framework for Mental Health. Department of Health. The Stationery Office. DOH (2002) NHS Leadership Qualities Framework. www.nhsleadershipqualities.nhs.uk Accessed 4 July 2005. DOH (2002) Star Ratings System for Hospital Performance Has Improved Services For Patients. NHS Modernisation Agency. www.dh.gov.uk. Accessed 4 July 2005. DOH (2003) National Programme for IT Announces Further Contracts to Run NHS Care Record Services. www.dh.gov.uk. Accessed 4 July 2005. DOH (2004) NHS Modernisation Agency Improvement Leaders Guide. www.modern.nhs.uk. Accessed 4 July 2005. ESHT. (2000) Safeguarding Hospitals in East Sussex: Consultation Document. www.esht.nhs.uk. Accessed 4 July 2005. ESHT. (2002) Merger of Hastings and Rother NHS Trust and Eastbourne Hospitals NHS Trust. www.esht.nhs.uk. Accessed 4 July 2005. Fulop, N., Protopsaltis, G. King, A. Allen, P. Hutchings, A. and Normand, C. (2002) Process and Impact of Mergers of NHS Trusts: Multicentre Case Study and Management Cost Analysis. British Medical Journal. Volume 325. Fulop, N., Protopsaltis, G. King, A. Allen, P. Hutchings, A. and Normand, C. (2004) Changing Organisations: Study of the context and Processes of Mergers of Healthcare Providers in England. Elsevier Ltd. Garside P. (1999) Evidence Based Mergers? British Medical Journal. Volume 318. Henderson, E. (2002) Communication and Managerial Effectiveness. Nursing Management. Volume 9, 9. Higgs, M. and Rowland, D. (2000) Building Change Leadership Capability: The Quest for Change Competence. Journal of Change Management. Volume 1 Number 2. Heron, J. (1999) The Complete Facilitator’s Handbook. Kogan Page Limited. Hogg, M. and Vaughan, G. (2002) Social Psychology. Prentice Hall. Iles, V. and Sutherland, K. (2001) Managing Change in the NHS: Organisational Change. NHS Service Delivery and Organisation. Johnson, G., Scholes, K. and Whittington, R. (2005) Exploring Corporate Strategy. Text and Cases. Seventh Edition. Prentice Hall. Marquis, B. L. and Huston, C. J. (2003) Leadership Roles and Management Functions in Nursing. Lippincott, Williams and Wilkins. Miller, D. (2002) Successful Change Leaders: What Makes Them? What Do They Do That Is Different? Journal of Change Management. Volume 2, 4. Mullins, L. J. (2002) Management and Organisational Behaviour. Pitman Publishing. Stock, J. (2002) Case Study: Hastings and Rother NHS Trust. NHS Modernisation Agency. www.modern.nhs.uk. Accessed 4 July 2005. RCP. (2004) Psychiatric Services To Accident And Emergency Departments. Royal College of Psychiatrists Council Report CR118. London. Stroebe, W. and Diehl, M. (1994) Why Groups Are Less Effective Than Their Members: On Productivity Losses In Idea-Generating Groups. European Review of Social Psychology, Volume 5. Studin, I. (1995) Strategic Healthcare Management. Irwin Professional Publishing. Thomas, N. (2004) The John Adair Handbook of Leadership and Management. Thorogood Publishing. UHCW. (2005). Coventry City Centre AE Department is Being Relocated to Walsgrave Hospital from Saturday 15th Jan. www.uhcw.nhs.uk. Accessed 4 July 2005. Walton, M. (1995) Managing Yourself On and Off the Ward. Blackwell Science Ltd. Webster, R. (2001) An Assessment of the Substance Misuse Treatment Needs of WHO (1984) Glossary of Terms Used in the ‘Health for All. World Health Organisation Series No. 1 – 8.

Friday, January 17, 2020

How is God Related to Sufferings in Psalms and Job? Essay

The book of Psalms and the Book of Job are both parts of the bible that share stories of sufferings, faith and worships. The book of Job was written more than 2,500 years ago which relates the story of Job. Job was a good man and dearly loved by God but in the end must suffer to test the strength of his faith. Since Job believes he is not forsaken by God he trusts everything in the hands of God. One day God thought of testing Job’s faith if it is enough to carry him through the trials he would bestow on him. He asks Job what he knows about Him being his God. Job did not fully satisfy God with his answers although God knows what is inside his heart. But God wants to know the extent of Job’s faith to Him and thought of a plan to test Job’s faith. One day great numbers of insects attack Job’s crops and ate almost every plant he has. Rain did not come and he could not till his land. Then he starts to wonder why despite his closeness with God things like these could happen. He tried to talk to God but God does not answer. Falling to starvation he became terribly sick and begged for God’s help but God is nowhere to be found. When he felt that everything is hopeless and was about to die, he called again to God and ask why he was being forsaken and abandoned. He looked into the heaven and said despite he was forgotten by God, his faith still remained in him. Suddenly God touched him and he quickly regained his strength. God told him that he let these things happen to make Job realized that it is only through suffering and trials that a man will prove his faith in him. That he has not really abandoned him but was with him during the time he was suffering. God has to do things to Job to test the strength of his faith. Job did not leave his faith and so he reaped the love of God even more. That is why God is related to the suffering in this book as a way to test Job’s faith and remained to it even during the time of great suffering. This gives us the lesson that regardless of the suffering we have God will come to our aid as long as we keep our faith to him (Society, 2008). If the Book of Job tells the story of the suffering and strength of faith in God, the book of Psalms were collections of songs of prayers and praise. This book was written by the Hebrews who believe in the might and love of God. A Psalm is a poem that is accompanied by musical instruments and so they are actually poems that have been made into songs. David was mainly the composer of the songs on Psalms which he sang with his harp. There are different kinds of Psalms and all were originally written in Hebrew. Hebrew alphabet is composed of 22 letters and an alphabetical Psalm starts its first verse with the first letter of the alphabet, the second verse begins with the second letter and so on. These Psalms were the hallelujah, thanksgiving, praise, historical, penitential, imprecatory and messianic psalms. Among these Psalms that are related to repentance are the penitentiary psalms which confess the sins of man, the Imprecatory Psalms which tells us how God is angered by sinners and how he will judge them and the messianic psalms advises us about the coming of the Messiah (Books, 2008). Theologians provide explanation on the Book of Psalms that is now within the New Testament. According to them we as people may also experience suffering the same as Jesus Christ had suffered in the cross. But our suffering should not be believed as punishment for the sins we made but to strengthen us and ready us for a more harmonious destination. In Psalm 3, David has suffered the consequences of his sin with his adulterous relationship with Bensheba. He relate this suffering into a poem and then it became one of the collections of songs. In Psalm 119:68, 75 indicate that suffering befalls to us to see the goodness, righteousness and the strength of our faith with our God. Many songs within the Book of Psalms indicated the suffering of man we face as Christians. In Psalm 22, there are also Psalms that questions God and why do we need to suffer. And so God is related to suffering in the Book of Psalms to tell us through the songs that we should not sin and be righteous so that we will be blessed (Futato,1999) . References Society, A. B. (2008). Why Does God Allow Suffering? Journal. Retrieved from http://www. bibles. com/absport/news/item. php? id=102 Books, O. T. (2008). Chapter 7: Job and Psalms. Journal. Retrieved from http://www. middletownbiblechurch. org/oldtesta/oldtes7. htm Futato, M. D. (1999). Suffering As The Path To Glory. Journal. Retrieved from http://www. pressiechurch. org/Theol_2/suffering_as_the_path_to_glory. htm

Thursday, January 9, 2020

Stages Of Beauty By Andrea Borghini - 1228 Words

Stages of Beauty Everyone has a different concept of beauty. Philosophy expert, Andrea Borghini says, â€Å"Beauty is one of the most fascinating riddles of philosophy† (Borghini). A person s concept of beauty changes many times during the course of his/her life. Scott Westerfeld demonstrates how a person’s concept of beauty is continually changing in the book The Uglies. To come of age a person should go through three main stages of beauty, which includes innocent beauty, experimental beauty, and mature beauty. In the beginning of the book, Tally has an innocent outlook on beauty and illustrates that in order to come of age people must experience innocent beauty. Tally exemplifies innocent beauty through the positive way she sees others. When Tally was watching the pretties as a child, for example she says, â€Å"they couldn’t resist staring. There was something magic in their large and perfect eyes, something that made you want to pay attention† (Westerfeld 8). Tally’s ability to see only perfection in other people, without necessarily seeing herself as imperfect, shows her innocence and at this point in her development she can identify the difference in herself compared to others, but would not change herself to be more like them. This step is important in coming of age because seeing beauty in a positive light, is the beginning of recognizing beauty and feeling emotions from it. Next, Tally has an innocent outlook on beauty when she dreams about her appearance in the future.

Wednesday, January 1, 2020

Understanding Typed Constants in Delphi

When Delphi invokes an event handler, the old values of local variables are wiped out. What if we want to keep track of how many times a button has been clicked? We could have the values persist by using a unit-level variable, but it is generally a good idea to reserve unit-level variables only for sharing information. What we need are usually called static variables or typed constants in Delphi. Variable or Constant Typed constants can be compared to initialized variables-variables whose values are defined on entry to their block (usually event handler). Such a variable is initialized only when the program starts running. After that, the value of a typed constant persists between successive calls to their procedures. Using typed constants is a very clean way of implementing automatically initialized variables. To implement these variables without typed constants, well need to create an initialization section that sets the value of each initialized variable. Variable Typed Constants Although we declare typed constants in the const section of a procedure, it is important to remember that they are not constants. At any point in your application, if you have access to the identifier for a typed constant youll be able to modify its value. To see typed constants at work, put a button on a blank form, and assign the following code to the OnClick event handler: procedure TForm1.Button1Click(Sender: TObject) ; const   Ã‚   clicks : Integer 1; //not a true constant begin    Form1.Caption : IntToStr(clicks) ;    clicks : clicks 1; end; Notice that every time you click on the button, forms caption increments steadily.Now try the following code: procedure TForm1.Button1Click(Sender: TObject) ; var   Ã‚   clicks : Integer; begin    Form1.Caption : IntToStr(clicks) ;    clicks : clicks 1; end; We are now using an uninitialized variable for the clicks counter. Notice that weird value in the forms caption after you click on the button. Constant Typed Constants You have to agree that idea of modifiable constants sounds a bit strange. In 32 bit versions of Delphi Borland decided to discourage their use, but support them for Delphi 1 legacy code. We can enable or disable Assignable typed constants on the Compiler page of the Project Options dialog box. If youve disabled Assignable typed constants for a given project, when you attempt to compile previous code Delphi will give you Left side cannot be assigned to error upon compilation. You can, however, create assignable typed constant by declaring: {$J} const clicks : Integer 1; {$J-} Therefore, the first example code looks like: procedure TForm1.Button1Click(Sender: TObject) ; const {$J}   Ã‚   clicks : Integer 1; //not a true constant {$J-} begin    Form1.Caption : IntToStr(clicks) ;    clicks : clicks 1; end; Conclusion Its up to you to decide whether you want typed constants to be assignable or not. The important thing here is that besides ideal for counters, typed constants are ideal for making components alternately visible or invisible, or we can use them for switching between any Boolean properties. Typed constants can also be used inside TTimers event handler to keep track of how many times even has been triggered.