python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
What can I do to make my code more efficient and not use global variables
So today I built a very simple number guessing game and the below code is what I wrote. I understand that it's incredibly inefficient and I use global too much, which is generally known as a bad pract...
Ahmedh Aaqil Rifky
Votes: 0
Answers: 2
Any way to add custom type modifiers to either c# or c++?
I want to be able to use this syntax here:
public enclosed int num = {0, 5, 10};
this code would clamp the int num from 0 to 10, with a starting value of 5.
you could make a class that handles this, ...
Nathaniel Stauffer
Votes: 0
Answers: 2
Efficiente if_elif tree in python
I'm doing an interactive map and after reading on the Internet, I'm trying to develop my learn towards an efficient way of programming. I wonder, is there a way to write more efficient this kinds of i...
GonlinNocturno
Votes: 0
Answers: 2
How To Make a Loop Within A Loop In VBA More Efficient?
So I removed some of the defining variables and other details for simplicity sake. But I basically have a loop that loops through about 20 rows of populated data, then another loop inside of it that l...
David Fryt
Votes: 0
Answers: 2