Coding in Style

Improve your code with few simple techniques
Rating: 4.6 out of 5 (73 ratings)
4,167 students
Coding in Style
Rating: 4.6 out of 5 (73 ratings)
4,168 students
The students will drastically improve the clarity, efficiency and maintainability of the code they write.

Requirements

  • Basic knowledge in on programming languages. While the presentations will use Swift as example, the information is general.
Description

Learning how to write code does not finish when a programmer learns a new programming language.

On the contrary, the interesting part just starts then.

He or she needs to learn what is the best way to write the code in that language so it is easy to understand and to maintain.

The course  teaches you lots of small secrets that will tremendously improve your code.

Each lesson will show you an example, teach you how to improve it, and explain you the reason for it.

Who this course is for:
  • Beginner and intermediate level developers who are looking to improve their code.
Course content
5 sections • 53 lectures • 1h 10m total length
  • Introduction
    01:59
  • When is your code finished?
    1 question
  • When is the code finished quiz answer
    00:55
  • Code quiz
    00:27
  • Refactoring
    04:26
  • Code formatting - introduction
    01:13
  • Code quiz
    00:07
  • Indenting
    00:40
  • Code quiz
    00:08
  • Empty lines
    00:36
  • Code quiz
    00:08
  • Spaces
    02:05
  • Code quiz
    00:05
  • Line length
    00:52
  • Why is the name important
    01:01
  • Code quiz
    00:04
  • Capitalization
    01:19
  • Code quiz
    00:04
  • For variables and constants, use nouns. For functions, use verbs.
    02:08
  • Code quiz
    00:08
  • Make the code clear so comments are not needed
    02:38
  • Code quiz
    00:05
  • Be specific
    01:53
  • Code quiz
    00:06
  • define the variable in the smallest context possible
    05:04
  • Code quiz
    00:03
  • Shorten the variables, but not too much
    02:09
  • Code quiz
    00:06
  • Use long variables but not too long. Remove useless words
    01:46
  • Code quiz
    00:04
  • Do not use negations
    01:30
  • Code quiz
    00:06
  • Misleading names
    03:02
  • Code quiz
    00:06
  • Don't be creative, don’t be a funny guy
    01:35
  • Introduction
    01:36
  • Code quiz
    00:09
  • Document “Why”
    01:51
  • Code quiz
    00:07
  • Only if needed
    00:48
  • Code quiz
    00:03
  • Do not comment junk
    00:52
  • Code quiz
    00:13
  • Don’t track the history
    01:05
  • Conclusion
    00:40
  • Introduction
    01:15
  • Code quiz
    00:16
  • Do not repeat yourself
    05:58
  • Code quiz
    00:07
  • Write only pure functions
    02:57
  • Code quiz
    00:10
  • Keep the private parts private
    03:31
  • Code quiz
    00:13
  • Reduce the cyclomatic complexity
    09:26

Instructor
Software developer
Dragos Ionel
  • 4.6 Instructor Rating
  • 73 Reviews
  • 4,167 Students
  • 1 Course

Working in the software industry for over 15 years, I've been always passionate about how to improve the code. I realized that the knowledge about how to implement a piece of functionality is only a small part of what makes a developer a good developer.

I researched the topic and the result was a book, "Coding in style" that tries to prove that even a small effort in improving the code can bring huge benefits.

I created a series of YouTube videos on this topic as well.

A course has just been a natural continuation of this efforts.