It is noted here that the microservices architecture has changed the whole paradigm of software engineering so that it permits building systems that could be distributed, scalable, and maintainable. Object-Oriented Programming (OOP) still dominates the design paradigms in industry. However, there has been revived interest in evaluating it in light of Procedural Programming (PP) and Functional Programming (FP) paradigms with respect to the evolving nature of software architecture. This paper covers a comprehensive comparative analysis of these three paradigm types in relation to microservice-based system design. In this case, each of the paradigms is applied in almost the exact architectural requirements upon a real-world e-commerce domain model, and finally, the evaluation was made on the basis of modularity, scalability, maintainability, and operational efficiency. Our finding is that, although OOP provides a balanced mix between abstraction and modularity beneficial for service-based architecture, FP is about minimizing mutable state through immutability and pure functions; hence the reduction of race conditions and making concurrency safer in distributed environments. Procedural programming is quite efficient for small-scale operations, but it faces serious hurdles in establishing service modularization and maintainability. In terms of such an ideal model supported by the current literature (2020-2025). This paper argues that OOP will be the most relevant paradigm for microservices, with Functional Programming reaping its benefits and promising alternatives for cloud-native or event-driven scenarios. In conclusion, this study narrates the call for hybrid approaches-the approaches that will utilize the strength of all paradigms to fulfill the ever-evolving software needs.
12 April 2023 in Pakistan Journal of Humanities and Social Sciences
This research study focuses on the impact of Covid-19 on domestic violence in Khyber Pakhtunkhwa. The target population of this research study was the number of local households of Khyber Pakhtunkhwa. The data was collected from the local households in six districts including Swat, Mardan, Swabi, Charsadda, Peshawar and Nowshera. From six districts of Khyber Pakhtunkhwa, 300 samples were collected. From each district 50 samples were collected including 25 females and 25 males. All the samples were randomly selected. The data was manually collected in the form of a pre-tested questionnaire. Domestic violence was measured by Conflict Tactics Scale. The results revealed that Covid-19 lock down was a painful situation that increased frustration among the people when coupled with economic uncertainty resulted in domestic violence. Factors that highly contributed to domestic violence during Covid-19 lock down included social isolation, frustration, stress and anxiety. The results did not support the null hypothesis; hence, the alternative hypothesis was accepted. From the findings it was identified that human stress caused by restrictions on social mobility and social engagements resulted in domestic violence and this factor was comparatively stronger.