Moses Oshokeh

904 posts

Moses Oshokeh banner
Moses Oshokeh

Moses Oshokeh

@techwithmomo

Python Programmer Author of DISCIPLINE ARCHITECTURE Founder @WeAreCognis

404 Katılım Haziran 2025
34 Takip Edilen26 Takipçiler
Sabitlenmiş Tweet
Moses Oshokeh
Moses Oshokeh@techwithmomo·
Tech is reserved for people like me. Okay? The freaks. The weirdos. The misfits. The geeks. The dweebs. The dorks!. Not you.
English
0
0
0
192
Moses Oshokeh
Moses Oshokeh@techwithmomo·
@aditiitwt It's not a matter of preference but One of use case. Which method will solve this current problem right now... This is best observed in JavaScript where you have at least 4 kinds of loops that handles the same task differently.
English
0
0
0
51
aditii
aditii@aditiitwt·
Guys, For loop or while loop ? Which one do you prefer ?
English
100
1
90
9K
Moses Oshokeh
Moses Oshokeh@techwithmomo·
@pamilhereen it's obvious you are a foodie, because what do you mean by snacks to lock in...
English
1
0
1
5
PAM PAM💙🌹
PAM PAM💙🌹@pamilhereen·
What's your go-to snack while coding? Or do you just lock in without snacks? 😂😂
PAM PAM💙🌹 tweet media
English
27
5
52
996
Moses Oshokeh
Moses Oshokeh@techwithmomo·
The irony of programming A programming language can be created in days, but the software built with it can take years. JavaScript took about 10 days to create. Python was created over a Christmas holiday Yet, building real-world software with these languages can take months...
English
0
0
0
10
Miro Pereira
Miro Pereira@MiropereiraB·
The stupidest thing about Python is that it treats a string as an array, but you can’t change a character as an element of such array. It’s an “immutable array”, the dumbest thing I’ve ever seen outside of Java.
Moses Oshokeh@techwithmomo

@PythonPr Before talking about the Len() you need to understand that python treats every string as an array of character. Yes. That means every char is its own individual string within a collection. So the Len() count this individual strings within the collection and return is length.

English
1
0
2
19
Moses Oshokeh
Moses Oshokeh@techwithmomo·
@Raynerdtech I love this... I don't help them because whatever I give them won't be good enough plus even if I could give them millions they will probably blow it up and end up back on the street...
English
1
0
1
30
Ray 👨🏽‍💻 website & app developer
Do we help a beggar because we genuinely want their life to improve, or because we believe that by helping them, God will bless us in return? If the latter is true, then who is really the beggar?
English
13
2
53
728
Moses Oshokeh
Moses Oshokeh@techwithmomo·
The bigger problem isn't memory, it's code quality. Unused variables make code harder to read, maintain, and debug. So if you should take anything from this tweet. You can declear variables without using them however for best practice don't do that.
English
0
0
0
7
Moses Oshokeh
Moses Oshokeh@techwithmomo·
In languages like JavaScript and Python, there is a tiny runtime cost because the interpreter tracks the variable, but for a single unused variable, the memory impact is usually negligible.
English
1
0
0
7
Moses Oshokeh
Moses Oshokeh@techwithmomo·
Have you ever wondered what happens when you declare a variable and never use it? Surprisingly, not much. In compiled languages like C, C++, and Rust, modern compilers are smart enough to detect unused variables and remove them during optimization.
English
1
0
0
24
Moses Oshokeh
Moses Oshokeh@techwithmomo·
That sweet sweet revenue money
English
0
0
0
8
Moses Oshokeh
Moses Oshokeh@techwithmomo·
@e_opore I would think you are ragebaiting because every language down there is better than python except. JavaScript
English
0
0
0
3
Dhanian 🗯️
Dhanian 🗯️@e_opore·
Name a programming language better than Python?
Dhanian 🗯️ tweet media
English
38
2
74
6.8K
Moses Oshokeh
Moses Oshokeh@techwithmomo·
What's the difference between a method and a function.
English
0
0
0
4
Moses Oshokeh
Moses Oshokeh@techwithmomo·
@PythonPr Sorry ran out of words there ... The Len() function returns the collective length of an object.
English
0
0
0
14
Moses Oshokeh
Moses Oshokeh@techwithmomo·
@PythonPr Before talking about the Len() you need to understand that python treats every string as an array of character. Yes. That means every char is its own individual string within a collection. So the Len() count this individual strings within the collection and return is length.
English
1
0
1
434
Python Programming
Python Programming@PythonPr·
Python Output Challenge 90% beginners give the wrong answer 🤔
Python Programming tweet media
English
27
9
83
14.2K
Moses Oshokeh
Moses Oshokeh@techwithmomo·
@CodeByNZ The second code snippet will throw an indentation error at runtime. This is specific to python as python depends on indentation to identify a code block. The first will run successful because it follows python syntax rule.
English
0
0
0
123
NZ ☄️
NZ ☄️@CodeByNZ·
Vibe coder may have tough time finding the bug here
NZ ☄️ tweet media
English
31
0
40
5.5K
Moses Oshokeh
Moses Oshokeh@techwithmomo·
@PythonPr Answer is A because the insert method takes two argument one is the location or index the other is the value to be inserted into that index
English
0
0
3
85
Nishant
Nishant@Nishanttt05·
Finally bought a brand new PS5. Now what should I do first?
Nishant tweet media
English
38
2
34
743
Taniya
Taniya@Taniyatweets_·
Which command do you use most in the terminal in 2026?
Taniya tweet media
English
74
2
100
3.3K
Python Developer
Python Developer@PythonDvz·
Only 90% of the beginners answer this correctly 🤯 Comment your answer 👇
Python Developer tweet media
English
15
13
33
4.9K