The training’s venue was Africa’sTalking spacious office on 4th floor, Acacia Place, Kisementi, Kampala – Uganda. Running for two days on 14th from 4pm to 6pm and 15th from 10am to 5pm. A total of five developers attended the training. David M. Wampamba, a co-founder of Ablestate was the lead trainer in this interactive training.
What did we learn?
The training which majorly covered ECMAScript 6 (ES6) helped the trainees learn about the following:-
Constants – The variables who values you can’t change.
Block scope – How the let keyword comes in for the var keyword, for better variable creation and management.
Template literals (Backticks) – A cleaner way to generate strings
Promises – These help us to overcome tthe callback hell, especially during asynchronous processes.
The spread operator (…) – Can be helpful in many situations some of them being; creating of functions which receive any number of parameters and merging of arrays.
Loops( for… in, for…of, forEach, Array.map) – Loop an array or object, for different reasons. For example
for…in iterates over the give array to give you access to each element in the array.
for…ofiterates over an array to help you access the index of the current element in the array.
forEach works similarly to the for…in except it accepts a callback function which accepts three parameters. But the current element in the array is required/mandatory. For each iteration the forEach calls the callback to perform a custom action on the current element in the array. This can be good for validating values of an array object.
Array.map – works like the forEach except, it returns a new array after it finishes the iterating.
Destructuring – a way of creating and poking variables together with their values from a given object or array.
What some of the trainees say?
The learners who attended the training session loved it and were happy to talk about it. Take a look at what they said on facebook.
After collecting feedback from the trainees, we shall have a concluding session covering promises, async/await and fetch. This remainder of the session will be conducted online to enable everyone attend it from a convenient location.
We are organizing more training sessions about programming in different languages, stay tuned for more learning opportunities.