Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,712,574 members, 6,407,927 topics. Date: Tuesday, 27 July 2021 at 06:51 PM

Programmers Chat Room. - Programming (2) - Nairaland

Nairaland Forum / Science/Technology / Programming / Programmers Chat Room. (2189 Views)

How To Make A Chat Room With Python / Nigerian Programmers Are Great / Programmers, Please Recommend A Good Laptop For Me. (2) (3) (4)

(1) (2) (Reply) (Go Down)

Re: Programmers Chat Room. by iCode2: 8:13pm On May 18, 2020
Grandlord:
No dey whine me smiley

Where did you get the exercises from, please?
Lol.

Automate the boring stuff.

2 Likes 1 Share

Re: Programmers Chat Room. by crownedrookie(m): 10:12am On May 19, 2020
If num is passed as a parameter into either of the functions or both, it logs 1. But if I remove it logs two. Cans someone help me explain in a way that makes me understand the fundamental concept behind this?
Cc codeigniter
Lordpeckxy

Re: Programmers Chat Room. by ToyinDipo(m): 10:33pm On May 19, 2020
crownedrookie:
If num is passed as a parameter into either of the functions or both, it logs 1. But if I remove it logs two. Cans someone help me explain in a way that makes me understand the fundamental concept behind this?

Not sure your question is clear, but I hope you understand what you are trying to describe

let num = 0;

function a(num) {
num = 1;
}

function b() {
num = 2;
a(num);
console.log(num);
}

b()

This will always log 2, because generally in compiler, a function captures the closest scope of a variable definition to it. Which means function a will capture num passed to it, and not the 'global' num defined by let keyword

let num = 0;

function a() {
num = 1;
}

function b() {
num = 2;
a();
console.log(num);
}

b()

This will always log 1, because here, function a captures the 'global' num variable declared by let, and as such modifies its value to 1;

1 Like

Re: Programmers Chat Room. by iCode2: 8:02pm On May 28, 2020
Grandlord

Have you seen the book 'Invent your own computer game with Python' by AI Sweigart?
Re: Programmers Chat Room. by kingoftech: 8:17pm On May 28, 2020
crownedrookie:
If num is passed as a parameter into either of the functions or both, it logs 1. But if I remove it logs two. Cans someone help me explain in a way that makes me understand the fundamental concept behind this?
Cc codeigniter
Lordpeckxy
Hahahahaha hahahahaha hahahahaha
Lol lol lol

1 Like

Re: Programmers Chat Room. by Grandlord: 11:08pm On May 28, 2020
iCode2:
Grandlord

Have you seen the book 'Invent your own computer game with Python' by AI Sweigart?
No bro. I haven't. How's it like?

1 Like

Re: Programmers Chat Room. by tollyboy5(m): 12:42am On May 29, 2020
following...
Re: Programmers Chat Room. by iCode2: 8:03am On May 29, 2020
Grandlord:
No bro. I haven't. How's it like?
I'm yet to use it sha. I saw someone on twitter upload a video of a game she created through the book.
Re: Programmers Chat Room. by Grandlord: 8:15am On May 29, 2020
iCode2:
I'm yet to use it sha. I saw someone on twitter upload a video of a game she created through the book.
I've looked at it. I think it's a great and engaging way to learn programming concepts by building games.

I'm building a 2D Android game app right now on Android studio. It's engaging, stimulating and fun. It's more fun than web development and data science. Lol.

1 Like 1 Share

Re: Programmers Chat Room. by Lordpeckxy(m): 9:36am On May 29, 2020
is like I have missed a lot?
Re: Programmers Chat Room. by Brukx(m): 10:12am On May 29, 2020
Grandlord:
I've looked at it. I think it's a great and engaging way to learn programming concepts by building games.

I'm building a 2D Android game app right now on Android studio. It's engaging, stimulating and fun. It's more fun than web development and data science. Lol.
This Android studio I've been hearing of. Is it some kind of tool or high level language?
Re: Programmers Chat Room. by Grandlord: 10:50am On May 29, 2020
Brukx:

This Android studio I've been hearing of. Is it some kind of tool or high level language?
It's a tool not a high level language. Lol

It's an IDE(like pycharm, VS code etc) specifically made for developing Android apps. Compatible with Java, Kotlin and maybe C++. Also comes with an emulator, like a virtual Android phone where you can test run your app while developing it.

It requires a large memory space, so it won't run, or would be painfully slow on a 4gb laptop. Except, maybe you want to use your Android phone for testing and ditch the emulator. But the emulator is great for testing your app on different Android versions.
Re: Programmers Chat Room. by iCode2: 11:40am On May 29, 2020
Grandlord:
I've looked at it. I think it's a great and engaging way to learn programming concepts by building games.

I'm building a 2D Android game app right now on Android studio. It's engaging, stimulating and fun. It's more fun than web development and data science. Lol.
Yea, I think so too. You get to use what you're learning which makes it exciting.

You're building an android game? That's great! You got your hands on java? Or can you build on android studio with Python?

1 Like 1 Share

Re: Programmers Chat Room. by InfinityFabric: 12:00pm On May 29, 2020
crownedrookie:
If num is passed as a parameter into either of the functions or both, it logs 1. But if I remove it logs two. Cans someone help me explain in a way that makes me understand the fundamental concept behind this?
Cc codeigniter
Lordpeckxy
Ogbeni use screenshot app. Both Pc and Smart Phones have it.
You can also use https://pastebin.com/, stop punishing our eyes pls.
Re: Programmers Chat Room. by Grandlord: 12:10pm On May 29, 2020
iCode2:
Yea, I think so too. You get to use what you're learning which makes it exciting.

You're building an android game? That's great! You got your hands on java? Or can you build on android studio with Python?
You know, I considered building an app for fun and it led me to learning Java. So I'm basically learning Java and Android, while building the app.

I know I might come across as a bit of a scatterbraincheesy but bro, at this stage in my life I just want to do something I enjoysmiley I had thought that would be web dev but turns out I find solace and satisfaction in mobileembarassed Looking to go from Android to iOS but one step at a time cool

I still use python at work though. How's it going at your end?
Re: Programmers Chat Room. by iCode2: 12:22pm On May 29, 2020
Grandlord:

You know, I considered building an app for fun and it led me to learning Java. So I'm basically learning Java and Android, while building the app.

I know I might come across as a bit of a scatterbraincheesy but bro, at this stage in my life I just want to do something I enjoysmiley I had thought that would be web dev but turns out I find solace and satisfaction in mobileembarassed Looking to go from Android to iOS but one step at a time cool

I still use python for work though. How's it going at your end?
@ Bolded grin grin grin grin
Well, thank God you found the path you enjoy. That zest keeps you going.

I haven't done coding for a week + now though I'm almost done with basics. I had some difficulty with Functions especially when answering some exercise questions. Did it give you a tough time?
Re: Programmers Chat Room. by crownedrookie(m): 12:48pm On May 29, 2020
InfinityFabric:

Ogbeni use screenshot app. Both Pc and Smart Phones have it.
You can also use https://pastebin.com/, stop punishing our eyes pls.
K

1 Like

Re: Programmers Chat Room. by Grandlord: 1:37pm On May 29, 2020
iCode2:
@ Bolded grin grin grin grin
Well, thank God you found the path you enjoy. That zest keeps you going.

I haven't done coding for a week + now though I'm almost done with basics. I had some difficulty with Functions especially when answering some exercise questions. Did it give you a tough time?
Functions can look a bit confusing but it's simple. Think of it like a packaging for codes you'd like to use several times. Just keep at it, you'll get the hang of it in no time cool
Re: Programmers Chat Room. by iCode2: 2:13pm On May 29, 2020
Grandlord:
Functions can look a bit confusing but it's simple. Think of it like a packaging for codes you'd like to use several times. Just keep at it, you'll get the hang of it in no time cool


Yea, true that..

1 Like

Re: Programmers Chat Room. by KingTayo37(m): 7:04pm On Jun 07, 2020
Please anyone into android development with java please key me know ,its urgent wink
Re: Programmers Chat Room. by crownedrookie(m): 12:19am On Jun 29, 2020
Thread dead?
Re: Programmers Chat Room. by iCode2: 3:58pm On Jul 03, 2020
Anyone currently learning data science libraries here? Holla

1 Like

Re: Programmers Chat Room. by waleecity: 12:12am On Jul 06, 2020
iCode2:
Anyone currently learning data science libraries here? Holla

Pls any one know how to access my Telegram Account on Telegram cloud. Thank you
Re: Programmers Chat Room. by waleecity: 12:13am On Jul 06, 2020
waleecity:


Pls any one know how to access my Telegram Account on Telegram cloud. Thank you

Pls any one know how to access my Telegram Account on Telegram cloud. Thank you
Re: Programmers Chat Room. by waleecity: 12:14am On Jul 06, 2020
waleecity:


Pls any one know how to access my Telegram Account on Telegram cloud. Thank you

Pls any one know how to access my Telegram Account on Telegram cloud. Thank you
Re: Programmers Chat Room. by Omar09(m): 7:56pm On Jul 06, 2020
iCode2:
Thank you sir. grin

Na python you deh learn?
Re: Programmers Chat Room. by iCode2: 4:06pm On Jul 07, 2020
Omar09:


Na python you deh learn?
Yea?
Re: Programmers Chat Room. by Omar09(m): 7:05pm On Jul 07, 2020
iCode2:
Yea?

Na im I deh learn.
Re: Programmers Chat Room. by omoluabiguy: 9:43am On Jul 08, 2020
Have you considered learning C# which is a top and highly demanded technology of the Microsoft .Net framework?

Subscribe to my channel and learn everything for free from the scratch till you become a pro. Follow me on a journey to create fullstack software engineers.
On top of that, I would also be making vlogs about life as a software engineer and things to expect in the software industry.

I’m a software industry veteran with years of experience and derive joy in teaching students and aspiring engineers how to go about their craft.

Subscribe to my YouTube channel and watch my videos. You can thank me later by subscribing

https://www.youtube.com/channel/UCwNrlP_X_VV4vg00P2QmDnw

You can as well join our Facebook community where we answer questions, discuss and share ideas about technologies
https://www.facebook.com/groups/738709033333419/?ref=share
Re: Programmers Chat Room. by frenchkisser(m): 8:00pm On Jul 09, 2020
I know html5 and CSS3 well oh, the problem now is I feel lazy whenever I open my system to start learning reactjs. For two days now I'm still on “functions and components” I seem to be lacking motivation.

(1) (2) (Reply)

Hash Analytic Internship (A Possible Scam) / Web Development Opportunity In Python And Django / Can One Install Sql Server 2005 Enterprise Edition On Window 7 Ultimate.

(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 - 2021 Oluwaseun Osewa. All rights reserved. See How To Advertise. 111
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.