Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,444,041 members, 5,502,896 topics. Date: Wednesday, 01 April 2020 at 03:05 AM

What Made You Pick Interest In Programming - Programming (12) - Nairaland

Nairaland Forum / Science/Technology / Programming / What Made You Pick Interest In Programming (27570 Views)

Differences Between Testing And Debugging In Programming Of Software Application / You Pick It, We Get It Done. / Which Programming Language Is Used In Programming Sim Cards? (2) (3) (4)

(1) (2) (3) ... (9) (10) (11) (12) (13) (Reply) (Go Down)

Re: What Made You Pick Interest In Programming by incogni2o: 11:30pm On Jan 12
Maskyy:
someone should check out this my js code. ERROR: instead of 3 iteration output, it output 9 iterations. just bordering me since.


let z = [
{id : 1 , age : 20},
{id : 2 , age : 15},
{id : 3 , age : 30}
]

let Obj = {
oder1:{
id : 1,
name : 'Ben',
club : 'chelsea',
food : 'pie',
stat : 500
},
oder2:{
id : 4,
name : 'Bolu',
club : 'ManU',
food : 'saws',
stat : 700
},

oder3:{
id : 2,
name : 'Julie',
club : 'ManU',
food : 'saws',
stat : 700
}

}

z.filter(value => {
for (const key in Obj) {
if (Obj.hasOwnProperty(key)) {
const element = Obj[key];
value.id===element.id ? console.log(`hi ${element.name}. Id is correct`) : console.log(`invalid Id ${!String()}`);
}
}});

Your use of filter seems wrong here, as the name implies , it is used to filter out items in an areay that meet a specific condition.

The reason you are getting 9 iterations is because the filter iterates thrice and also the for i
Loop inside the filter iterates thrice.

3x3 = 9.

Let me know if you have other ?s

1 Like

Re: What Made You Pick Interest In Programming by incogni2o: 11:31pm On Jan 12
zeestone99:
Who will tutor me on programing now. Html Css Javascript. Ejo edakun
Where do you stay?
Do you have a Laptop?
Re: What Made You Pick Interest In Programming by ambitiouschap: 5:00am On Jan 13
incogni2o:

Are you still interested and consider yourself smart?
Buzz me 0.8.0.6.5.7.0.1.4.9.3
yes, boss
Re: What Made You Pick Interest In Programming by zeestone99(m): 8:23am On Jan 13
incogni2o:

Where do you stay?
Do you have a Laptop?
Lagos..

You?
Re: What Made You Pick Interest In Programming by incogni2o: 9:10am On Jan 13
zeestone99:

Lagos..

You?

Same, Let me know if you are interested
Re: What Made You Pick Interest In Programming by derahhh(m): 7:18am On Jan 14
philip0906:

1. Visit learnpython dot org and start with the basics--- start with HTML, CSS & bootstrap then move to Python and Ruby. You can also checkout freecodecamp dot org.

2. Use Youtube tutorials for visuals; Search for "learn python/HTML/CSS full course for beginners" any of the languages you want to learn...You can also check out & subscribe to Freecodecamp youtube channel

3. Sign up on meetup dot com...And select your city of residence. You will join over 5,000 Nigerians who are learning how to code with different bootcamps and learning events organised throughout the year.

4. Immerse yourself in this daily for 8 months...Then apply for Andela's learner or volunteer programs next year April/May

5. If you don't get the opportunity to join Andela, there will be other doors that will open for you (One of the pros of been a programmer)

6. Give yourself this time next year, you will be a self taught programming guru (You need atleast 11 months of intense self learning to be ready to take on very tasking jobs)

7. You will be spoilt for choice of jobs, no matter how little for a start (freelance, remote, contract or salary)...That's a guarantee


God bless you for this comment of yours

4 Likes 1 Share

Re: What Made You Pick Interest In Programming by PrinceCEE(m): 12:03pm On Jan 14
Red2C:

You're supposed to assume the number to be prime initially, with isPrime = true.
Then inside the if statement, if a factor is found, you set isPrime to false.


What efficiency does it bring by doing it your way?


Did you run the code and it produced a wrong answer?

I never ran it anyway, I typed with my phone, but that code doesn't have a bug!
Re: What Made You Pick Interest In Programming by PrinceCEE(m): 12:05pm On Jan 14
Red2C:
A faster way is to use Math.floor(Math.sqrt(x))


It doesn't make it faster
Re: What Made You Pick Interest In Programming by PrinceCEE(m): 12:06pm On Jan 14
Red2C:
Also, the initial value of i cannot be 1, as any number % 1 = 0. This means no number will pass the test. Therefore, i should be initialized to 2 at the start of the loop.


Yeah! This is a bug... I never run the code.
Re: What Made You Pick Interest In Programming by Red2C(m): 8:56am On Jan 15
PrinceCEE:



What efficiency does it bring by doing it your way?


Did you run the code and it produced a wrong answer?

I never ran it anyway, I typed with my phone, but that code doesn't have a bug!
grin grin. Sorry o, since external review of code is considered an attack to the author. I'll keep my mouth shut from now. Sorry once again. lipsrsealed
Re: What Made You Pick Interest In Programming by Red2C(m): 8:59am On Jan 15
PrinceCEE:



It doesn't make it faster
The current time complexity is O(n), by taking the square root the time complexity becomes O(n^0.5) which is faster.

1 Like

Re: What Made You Pick Interest In Programming by Vsammi1: 11:06pm On Jan 18
Do you need any of Udacity's nanodegree videos?

Chat 0802_798_9375 on whatsApp to get it for a token.

**WhatsApp only please

Re: What Made You Pick Interest In Programming by Theflint1(m): 11:28am On Jan 20
Hello, what sites can I get code templates?
Maskyy:
Wow lots of aspirer programmers and experience ones... I "hello world" you all.

Following the trend from the start till now, have been reading some comments on *YouTube* video as a form of learning for beginners. Nope, this is not right. Don't learn from YouTube, you will hardly see the mistake, which is part of the code learning, sometimes called BUGS.

As a beginner in programming, learn by theory. I repeat it, learn by theory. Read that book until you fall and rise from that mistake, and later you'll understand the "why's" and "how's" of the code.

To all my boss here, Am a software developer, front end precisely. ******No details*****

You love web right, start from here......

1. https://developer.mozilla.org/en-US/docs/Learn/ (start from HTML, CSS , JavaScript...... At this point you can choose your part yourself)

2. **Google search w3school site( cool for everyone and there explanations are superb)

3. Open a github account and Try to understand how github work for a start. Not hard at all but leave it aside if you don't get it easily. That will be later.

4. Get yourself a codepen account. (If you don't know what to do with, leave it aside, later on you will).

5. Get yourself a LinkedIn account if you can. Start building your portfolio from the start. Don't leave it aside. Get use to the network. It's not a social network like fb, instag, its a professional platform.

6. After few training, register with codewar.... Learn by coding. You must code. Yes you must for a better understanding.

7. Freecodecamp is nice. Check it. It may work for you.

Yap... I will recommend these books...
1. Jon duckett HTML and CSS
2. Jon duckett JavaScript and jquery.
3. Eloquent JavaScript (new edition)

Pls afford a premium lesson, either online or offline. There's a greater merit in having a strong tutor.

Also join platform and community that talk about what you do. Either on fb or elsewhere. Try to get to those better than you.

You can find some free books on pdfdrive site (I wish to have such an online library too)

What else friends... Pls feel free to work with templates. Download lots of free templates and check there codes. With that you will learn more.

This should be the first, I don't why I place it here... Algorithm, data structure (some said it's a compt. Science school package. Whatever for non compt. Scie., get books online and understand the little you can at least for a start).

To end the whole talk... Once you embark on this journey, you won't stop learning ooooo. Maybe until you have something to rest on (not deaths but rich enjoyment i.e money$$$). Don't worry, there's too much money in the industry....

If you can trust your ability apply for Andela code competition or internship.

Also apply for site like codewar monthly competition.

Again, I greet all my Seniors here.

1 Like 1 Share

Re: What Made You Pick Interest In Programming by Brymo4all(m): 9:05pm On Jan 24
I want to learn programming.
Please what kind of laptop should I get?
Re: What Made You Pick Interest In Programming by crownedrookie(m): 12:12pm On Jan 30
PrinceCEE:



Lol...

Truth is, not everybody needs mathematics to be better programmers, but when you want to take programming to a whole new level, then you'd be needing mathematics and algorithms.

For prime numbers, you'll have to iterate through the numbers less than or equal to half the number, and check if they divide the number.

So, Using javascript

let isPrime = false;
let num = x; //choose the number yourself
for(let i = 1; i < Math.floor(x/2); i++) { //you can still use parseInt(x/2), it casts it to an integer
if(x % i == 0) {
isPrime = true;
break;
}
}


You can try and run this code. I didn't run it, 'cause I just typed with my phone.
God frigging damn it I read the challenge as "odd" number not prime. Feel so stupid *facepalm*
Re: What Made You Pick Interest In Programming by BeboNGN: 12:38am On Feb 02
Hello all,

I need a team of great minds, starters, people with great vision and insight to implement some great tech project with me from the scratch.

If you know you are interested in devoting some part of your time in getting a StartUp started from the scratch and working to make this work please contact me via whatsapp by reffering to this message +2348079423245

Please am not promising you riches or get rich quick scheme, am only interested in people who are dexterous to form a formidable team that are ready to innovate and make great change. Let's walk this walk together.

Peace!
Re: What Made You Pick Interest In Programming by sitokings(m): 10:19pm On Feb 04
Urgent Job Opening.
A good software Developer needed.
Kindly use the email on the Ad

1 Like

Re: What Made You Pick Interest In Programming by american11: 3:09pm On Feb 05
Re: What Made You Pick Interest In Programming by Zepher528(f): 1:55pm On Feb 07
Any coder/ programmer around owode onirin, weigh bridge and irawo axis? Lets meet up
Re: What Made You Pick Interest In Programming by kayfeez(m): 7:33am On Feb 08
airsaylongcon:


Funny thing is my first language of competence was and still is Pascal. Learnt Pascal just when OOP was about to become the defacto programming mindset

I remember walking into the final exam from CSC108 (Programming I) straight from a nightclub and still made an A

Shout out to then Dr Katerina Papanicolaou who taught me Programming I and Mr Koufopavlou who taught Programming II and Data Structures. Best experience ever


Hello sir can I have ur contact?
Re: What Made You Pick Interest In Programming by humanity1491: 6:59pm On Feb 09
,,,
Re: What Made You Pick Interest In Programming by franugo(m): 2:34pm On Feb 12
philip0906:

1. Visit learnpython dot org and start with the basics--- start with HTML, CSS & bootstrap then move to Python and Ruby. You can also checkout freecodecamp dot org.

2. Use Youtube tutorials for visuals; Search for "learn python/HTML/CSS full course for beginners" any of the languages you want to learn...You can also check out & subscribe to Freecodecamp youtube channel

3. Sign up on meetup dot com...And select your city of residence. You will join over 5,000 Nigerians who are learning how to code with different bootcamps and learning events organised throughout the year.

4. Immerse yourself in this daily for 8 months...Then apply for Andela's learner or volunteer programs next year April/May

5. If you don't get the opportunity to join Andela, there will be other doors that will open for you (One of the pros of been a programmer)

6. Give yourself this time next year, you will be a self taught programming guru (You need atleast 11 months of intense self learning to be ready to take on very tasking jobs)

7. You will be spoilt for choice of jobs, no matter how little for a start (freelance, remote, contract or salary)...That's a guarantee

Saved cool
Re: What Made You Pick Interest In Programming by Dorlarphor10: 12:27pm On Feb 21
Please, which textbook is the best to practice python for a starter. And do you have to cram syntax to know how to code.
Re: What Made You Pick Interest In Programming by Maskyy(m): 1:54am On Feb 24
Dorlarphor10:
Please, which textbook is the best to practice python for a starter. And do you have to cram syntax to know how to code.

I have the complete material on python. Check my digit on my profile. @giveaway price

1 Like

Re: What Made You Pick Interest In Programming by voicecollector: 7:20am On Feb 24
Hello, Nigeria friends,
My name is Alex Yang from an IT company based in Beijing, China. We are developing an Automatic Speech Recognition (ASR) program. ASR is technology that converts spoken words into text. For your more specific understanding, we are developing a Hausa language recognition program. Hausa is the largest ethnic group in Nigeria and Hausa is a beautiful language. I hope that Hausa friends are delighted to hear this news. Imagine one day in the future you hold a conversation with a foreigner, say Chines, in your proudly Hausa Language, but through ASR technology we can understand your Hausa language. At present, we are taking voice and text samples for our program. We need record voice samples from 150 Hausa native speakers. We also need Hausa language specialist to proof the Hausa text and voice recording. We will pay appropriate fee for your work.
If you are interested in our program, for more information please contact me via wechat app. My wechat ID is 909701941 or email me at 909701941@qq.com.
Thanks

1 Like

Re: What Made You Pick Interest In Programming by hairbyuj(f): 10:42pm On Mar 01
Can we have a group of developers to come together and let starts up something.

Like a firm n decide on what services to render and be sef employed.

If it a good idea. Let relate on WhatsApp

1 Like

(1) (2) (3) ... (9) (10) (11) (12) (13) (Reply)

Game Development: Next Gen 3d PC Game Team / Development Agencies The Best Magento Marketplace Multi Vendor Module - Magebay. / Want To Start A Mobile Social Network Like 2go

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 130
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.