blog.adelante.ca
Coding with love: December 2015
http://blog.adelante.ca/2015_12_01_archive.html
Thursday, December 10, 2015. How to NOT comment your code. Researching for the yesterdays post ( Look, I am playing tennis or how to document your code. I stumbled on a interesting topic, and that is funny comments. While initially the post advised against it, I found some that are really funny so I would like to list some of them here. While they are not useful, they do increase the quality of the code by making the other developers laugh. For the brave souls who get this far: You are the chosen ones,.
blog.adelante.ca
Coding with love: February 2016
http://blog.adelante.ca/2016_02_01_archive.html
Monday, February 29, 2016. Refactoring - parameterize method. When you have similar methods that are doing the same thing with the exception of a value, create one common method and pass the value. Let's consider the following (ugly) class for a product:. Var price: Float = 0. Price = price * 1.05. Price = price * 1.1. Price = price * 0.95. Price = price * 0.9. Let's take a test product and apply the methods:. Let product = Product(). Product.price = 100. Var price: Float = 0. Our method calls become now:.
blog.adelante.ca
Coding with love: How to give a great talk
http://blog.adelante.ca/2016/08/how-to-give-great-talk.html
Wednesday, August 31, 2016. How to give a great talk. 1 Share just one idea. 2 Give people a reason to care about it. 3 Build your idea using pieces the audience understands. 4 Make your idea worth sharing. Subscribe to: Post Comments (Atom). How to give a great talk. Capitalization (Coding in style in 60 seconds). Coding in Style in 60 seconds - Lesson 1 - Make Th. Coding in Style in 60 seconds. Cool tools for iOS development.
blog.adelante.ca
Coding with love: March 2016
http://blog.adelante.ca/2016_03_01_archive.html
Wednesday, March 16, 2016. All the fields and methods should be private to start with. In Swift, they are three levels of access levels. Private and public are obvious. Internal access means public access for the current module, but private for everything else. The default is the internal access, which means public if we are working with just one module. But, of course, that is not a good idea. Every class should try to hide as much as it can from the other classes. Var isCheckingAccount: Bool = false.
blog.adelante.ca
Coding with love: Capitalization (Coding in style in 60 seconds)
http://blog.adelante.ca/2016/08/capitalization-coding-in-style-in-60.html
Tuesday, August 23, 2016. Capitalization (Coding in style in 60 seconds). Welcome to “Coding in Style in 60 seconds”, a collection of short videos about how we can improve our code in simple steps. This is Dragos, the speaker for this video. Do you have any idea what is the first reason for which the code is discarded? Of course, other than the fact that it is not working. Eh? Because it is ugly! Who likes to keep ugly things around? Let’s take a look at few examples. Var clientName = "john". Let’s...
blog.adelante.ca
Coding with love: September 2016
http://blog.adelante.ca/2016_09_01_archive.html
Tuesday, September 13, 2016. Do not Repeat Yourself (Coding in style in 60 secs). Monday, September 12, 2016. Get smart by being stupid. Do you know why programming is the best job ever? From the thousands and thousands of possible jobs out there, programming is the most awesome one. Why? Simple. Because it is the only job when you feel smart when you are stupid. Have you ever written a simple code that was so simple that any kid could have written it and yet that was not working? Does it sound familiar?
blog.adelante.ca
Coding with love: October 2016
http://blog.adelante.ca/2016_10_01_archive.html
Friday, October 7, 2016. Coding in Style - Episode 6 - When not to comment. Subscribe to: Posts (Atom). Coding in Style - Episode 6 - When not to comment. Cool tools for iOS development.
blog.adelante.ca
Coding with love: Reducing the cyclomatic complexity - Coding in style - Episode 9
http://blog.adelante.ca/2016/11/reducing-cyclomatic-complexity-coding.html
Friday, November 11, 2016. Reducing the cyclomatic complexity - Coding in style - Episode 9. Welcome to Coding in style, a series of short videos about how to improve our coding. This is Dragos and you are watching the Episode number 9 where we talk about how to reduce the complexity of a program. What if you asked somebody the following question: how can I get to the downtown? Maybe one of the most important qualities some code has is to be easy to understand. If nobody can understand our code, it d...
blog.adelante.ca
Coding with love: August 2016
http://blog.adelante.ca/2016_08_01_archive.html
Wednesday, August 31, 2016. How to give a great talk. 1 Share just one idea. 2 Give people a reason to care about it. 3 Build your idea using pieces the audience understands. 4 Make your idea worth sharing. Tuesday, August 23, 2016. Capitalization (Coding in style in 60 seconds). Welcome to “Coding in Style in 60 seconds”, a collection of short videos about how we can improve our code in simple steps. This is Dragos, the speaker for this video. Because it is ugly! Who likes to keep ugly things around?
blog.adelante.ca
Coding with love: January 2016
http://blog.adelante.ca/2016_01_01_archive.html
Saturday, January 30, 2016. Refactoring: Change unidirectional association to bidirectional. Many times, when coding, we use different data structures: stacks, queues, trees. These structures have the elements linked between them, allowing parsing and searching. Usually when we start coding such a structure we consider a unidirectional link between the elements, mostly to save memory. Lets consider the following class:. Friday, January 29, 2016. Refactoring - Introduce new method. Refactoring in Swift - ...