NewStats: 3,265,443 , 8,186,761 topics. Date: Sunday, 15 June 2025 at 01:16 AM 133f23

6382y

Andela: IT Training And Job - Jobs/Vacancies (227) - Nairaland 691r3c

Andela: IT Training And Job (668687 Views)

(4)

Go Down)

maigemuu: 8:00am On Dec 03, 2018
Programmers in the house. i need explanation on the purpose of this code: please what is the purpose of (!!) in javascript

timpd = (!!arr[i-1][j-1]?arr[i-1][j-1]:0)+(!!arr[i-1][j]?arr[i-1][j]:0);
arr[i].push(timpd);
CuteMaro(m): 9:12am On Dec 03, 2018
Just saw this for the first time after a friend of mine told me about Andela. How do i go about applying? Just started learning programming lately and i think this is a good opportunity for advancement.

1 Like

mayordesignshq: 12:05pm On Dec 03, 2018
naijanoni:

You can send me a mail. It is a video tutorial. About 7GB

I also need your email. I need the tutorials
phetty(m): 1:13pm On Dec 03, 2018
maigemuu:
Programmers in the house. i need explanation on the purpose of this code: please what is the purpose of (!!) in javascript

timpd = (!!arr[i-1][j-1]?arr[i-1][j-1]:0)+(!!arr[i-1][j]?arr[i-1][j]:0);
arr[i].push(timpd);

Check these links:

https://stackoverflowdotcom/questions/9284664/double-exclamation-points

Change the 'dot' to .
phetty(m): 1:21pm On Dec 03, 2018
maigemuu:
Programmers in the house. i need explanation on the purpose of this code: please what is the purpose of (!!) in javascript

timpd = (!!arr[i-1][j-1]?arr[i-1][j-1]:0)+(!!arr[i-1][j]?arr[i-1][j]:0);
arr[i].push(timpd);

The (!! - not not) trick is used in js to convert a value to Boolean and ensures a Boolean type. JavaScript has a weird mechanism of evaluating a value to either Truthy or Falsy


This link explains more on that

https://codeburst(dot)io/javascript-truthy-values-dont-always-equal-true-8afaf071a4a6

1 Like

assurancefemi: 1:44pm On Dec 03, 2018
still on it and deadline is today
samnelly4u:


Have you done the interview challenge code?
tosin35: 10:25pm On Dec 03, 2018
Please I need the videos you used during your time,
mail mail here [email protected]
Thank you and God bless
naijanoni:
Hello guys.
Just for encouragement:
I only started learning programming around May this year, and I just made it into the fellowship.
So if you just started programming, you too can get in soon, but u have to give it your all.
Right from May till now, it has been non-stop, no-sleep learning.
Three weeks before the bootcamp project, I had zero knowledge of anything backend. Node/express/database, I didn't know any of them. At the start of the bootcamp project, I didn't know how to use git. How I was able to cover so much in very little time still surprises me.
Get good resources and keep studying hard!. Your hard work would pay off soon.
Special thanks to my ogas Don Pikko, guente02, isarray for assisting whenever I ask questions here.
The journey begins, there is still a lot to learn.
gentletalkaktiv: 10:58am On Dec 04, 2018
Mekzy02:
Thanks fizzle, pls is node.js different from express? I normally see them combined tho.

I used to ask same question too till I discovered expressjs makes backend development in JavaScript easy. It's built on top of nodejs. For example writing a simple server in express Js is simpler with less lines of code than in node. So basically, your work is made easier using high level expressjs to low level nodejs. So expressjs is a child of node which has other frameworks built on it. Hope this makes sense?

1 Like

samnelly4u: 6:19am On Dec 05, 2018
maigemuu:
Programmers in the house. i need explanation on the purpose of this code: please what is the purpose of (!!) in javascript

timpd = (!!arr[i-1][j-1]?arr[i-1][j-1]:0)+(!!arr[i-1][j]?arr[i-1][j]:0);
arr[i].push(timpd);


i understand below is a "class".

.block:nth-child(even) {
background: red;
}

when do i use nth-child....

i searched google but still got confused


The JavaScript code gives you 2 dimensional array i.e array in array like nested if statement. It's to generate pascal triangle. say you input 3

the result would be
1
11
121
it will always initialize the first and last number to 1 and add the number directly above it together.
Suplexx: 5:11pm On Dec 05, 2018
Please what prior knowledge is needed to apply. I have only learnt HTML and partly CSS recently. What else do I have to learn to be able to apply and succeed?
Mekzy02(m): 5:55pm On Dec 05, 2018
Suplexx:
Please what prior knowledge is needed to apply. I have only learnt HTML and partly CSS recently. What else do I have to learn to be able to apply and succeed?
You need to learn JavaScript. Then some backend like node/express js.
Bro the most important thing required for you to apply is; ion and the ability to learn.
Good luck. I also applied too

1 Like

Mekzy02(m): 5:56pm On Dec 05, 2018
gentletalkaktiv:


I used to ask same question too till I discovered expressjs makes backend development in JavaScript easy. It's built on top of nodejs. For example writing a simple server in express Js is simpler with less lines of code than in node. So basically, your work is made easier using high level expressjs to low level nodejs. So expressjs is a child of node which has other frameworks built on it. Hope this makes sense?
Yes it does boss. Thanks.
Are you in Andela? Or yet to enter?
Mekzy02(m): 5:57pm On Dec 05, 2018
CuteMaro:
Just saw this for the first time after a friend of mine told me about Andela. How do i go about applying? Just started learning programming lately and i think this is a good opportunity for advancement.
I need a coding buddy tho. Learning too!
Suplexx: 6:55pm On Dec 05, 2018
Mekzy02:

You need to learn JavaScript. Then some backend like node/express js.
Bro the most important thing required for you to apply is; ion and the ability to learn.
Good luck. I also applied too

Thanks
CuteMaro(m): 8:14pm On Dec 05, 2018
Mekzy02:

I need a coding buddy tho. Learning too!
Nice.. So how far have u gone?
Mekzy02(m): 9:55pm On Dec 05, 2018
CuteMaro:

Nice.. So how far have u gone?
Currently learning JavaScript. Would soon enter node.js once I become comfortable solving basic JavaScript problems. So how bout you bro?
gentletalkaktiv: 2:13am On Dec 06, 2018
Mekzy02:

Yes it does boss. Thanks.
Are you in Andela? Or yet to enter?


Nice one bro. I'm yet to get in.
CuteMaro(m): 6:41am On Dec 06, 2018
Mekzy02:

Currently learning JavaScript. Would soon enter node.js once I become comfortable solving basic JavaScript problems. So how bout you bro?
u've gone far man.. Nice one. I'm still playing around css for now.. Can we talk on WhatsApp? If yes then my digits are on my signature. Looking forward to hearing from u.
Mekzy02(m): 9:48am On Dec 06, 2018
CuteMaro:

u've gone far man.. Nice one. I'm still playing around css for now.. Can we talk on WhatsApp? If yes then my digits are on my signature. Looking forward to hearing from u.
Okay thats cool. Hit u up later.
Mekzy02(m): 9:50am On Dec 06, 2018
gentletalkaktiv:



Nice one bro. I'm yet to get in.
OK you still in bootcamp or .... ?
minions(m): 11:47am On Dec 06, 2018
naijanoni:

Hi.
Fourth week you'll be using the Fetch API (which is very simple) not Ajax (except things have changed). What were u asked to use in the instructions?
I saw some Fetch API links shared in the previous page.
This is a short and simple tutorial on Fetch:
https://flaviocopes.com/fetch-api/

By the way, you might not even start challenge 4 in bootcamp. On the last day of bootcamp, we were only expected to have completed challenge 3 of the project.
Our defence on the last day was on the project up to challenge 3.
I just started my challenge 4 yesterday.
Next week, what you'll be doing mostly is modifying your challenge 1 and 2 work based on the s you'll receive from your LFA.
However, that might not be the case for all bootcamps (this was my first bootcamp, I dont know how other bootcamps are).
So its always good to be prepared for everything.

Na as you talk am e dey go. I never touch challenge 3.

1 Like

ainas247: 4:56am On Dec 08, 2018
41 Circle I received the test yesterday check your mail.
Mekzy02(m): 8:18am On Dec 08, 2018
ainas247:
41 Circle I received the test yesterday check your mail.

Yeah boss I've recieved mine too

1 Like

Anthonyfor12345: 10:24am On Dec 08, 2018
Please is there a watsap group link. I will like to be added. Pls can i get the link. Thanks.
Mekzy02(m): 11:48am On Dec 08, 2018
Anthonyfor12345:
Please is there a watsap group link. I will like to be added. Pls can i get the link. Thanks.
Men I was just thinking of this. It is a good idea!

1 Like

Anthonyfor12345: 4:21pm On Dec 08, 2018
Yes o
gentletalkaktiv: 8:17pm On Dec 08, 2018
Mekzy02:

OK you still in bootcamp or .... ?
Since i am not in bootcamp then ... Should be the appropriate response�
Yayaadu: 2:11am On Dec 09, 2018
Please do they provide accommodation during Bootcamp? I am not Lagos based and I don’t know any body there.
Luthercboi709(m): 2:34am On Dec 09, 2018
Are you looking for a photographer for street shots with any budget or do you wanna do a viral video, music video, covering of wedding, and shows etc
Please me via WhatsApp handle 07015421422
I work with every budget
Babadee30(m): 6:19am On Dec 09, 2018
Yayaadu:
Please do they provide accommodation during Bootcamp? I am not Lagos based and I don’t know any body there.
No.
Andela doesn't provide accommodation for bootcampers
Yayaadu: 12:05pm On Dec 09, 2018
Babadee30:

No.
Andela doesn't provide accommodation for bootcampers

Oh I see. Thank you
sheygz: 5:23pm On Dec 09, 2018
Please I need good tutorials on postgreSQL/TDD. cc isArray Guente Don Pickko Thanks in advance

Reply)

FIRS To Recruit 1,250 New Staff

(Go Up)

Sections: How To . 42
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or s on Nairaland.