Clean Code in PHP

14 Videos

3h 15m

2000 BDT

Clean Code in PHP

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”
— Martin Fowler

Clean code is a reader-focused development style that produces software that's easy to write, read and maintain.

In this Course, we will learn what is 'Clean Code' and how to write our code in a more human readable way so that it would be a pleasure to manage later.

Course Outline

Introduction
  • What is Clean Code and Why it matters
Clean Code Techniques
  • Better Naming
  • Better Conditionals and Loops
  • Better Functions and Methods
  • Better Classes and Objects
  • Follow SRP Principles
  • Use Strict Type Checking and Type Hints
  • Avoid Code Duplication
  • Remove Dead Code
  • No Comments?
  • Use Enums and Constants
Formatting and Tooling
  • Follow Code Style Guide
Refactoring a Real Project
  • Let's Refactor some messy code
Further Reading
  • What to do now?

Instructor

Ahmed Shamim Hassan

Senior Software Engineer

Graduated from CSE department of Dhaka University.
Having several years of Professional experience in Software Development Industry.
Had working experience in market leading companies like P1 Bashundhara group, IPVision Canada Inc and Pathao.
Currently working as a Senior Software Engineer at a Lithuanian company.

Feedback about the course

I am really happy and satisfied to learn key skills in that course. Thanks to course author.

Rashedul Islam Sagor

This course helps me to write clean code. Before doing this code If I need to do some changes to my existing code it took me lots of time to understand what are these code doing and what I did and what kind of dependencies does this code has I alwasy afraid to change code because of breaking. But after completing this course now my code looks clean and at any time and any code I don't have to struggle what are these code doing and I can change without any fear of breaking

ZIA SULTAN

ভিডিও গুলো এই পর্যন্ত ৩ বার শেষ করলাম। আগে নেক্সট নেক্সট করে দেখিনি বলে সমাপ্ত কোর্স লেখা টা সামনে পড়েনি :-p কোর্স, কোর্সের কনটেন্ট এবং উপস্থাপনা খুবই সুন্দর ছিল। আর শামিম ভাই এর বুঝানোর ধরন এবং উদাহরণ গুলো খুব ই সুন্দর। মোট কথা আমার মনে হয় আমাদের প্রতিটা ডেভেলপার এর ই এই কোর্স টা করা উচিত এবং রিয়েল লাইফ কোডিং এ ব্যাবহার করার চর্চা করা উচিত। আমি এখন আমার কোম্পানি তে টিম লিড হিসেবে আছি আমার টিম মেম্বারদের কোডে রিভিও করতে এবং আমার কোডিং চর্চা ভালভাবে করতে এই কোর্স টা খুব এ হেল্প করেছে আমাকে।

Md Nayeem Hossain

জাযাকাল্লাহ, আশা করি "ক্লিন কোড" অভ্যাসে রূপান্তর করতে পারবো, ইনশা-আল্লাহ।

Md Mehedi Hasan

বাংলায় ক্লিন কোডের উপর এত সুন্দর একটা কোর্স ! ক্লিন কোডের গুরুত্ব যে এত বেশি এই কোর্সটা না করলে জানতেই পারতামনা । অনেক ধন্যবাদ কোর্সটি তৈরী করার জন্য ।

Milan Chandro

It answers a lot of questions like where I should put this piece of code and how to write it. My own ugly code was giving me much pain sometimes. Now, I have found a guiding star. I'll definitely internalize the lessons and the advice.

S. M. Noiem Uddin

Alhamdulillah, I learned a lot! Thanks for bringing such a great course, bhai!

Reza Khan

this course is very helpful and informative

sajib saha