Monkey code
not to be confused with code monkey is referring to programming code
that isn't optimized for CPU, memory, and data communication usage.
Using the same though that 'Infinite monkey theorem' “Given enough
time, a hypothetical monkey typing at random would, as part of its
output, almost
surely produce all of Shakespeare's
plays.”
Monkey coder is a person that writes
monkey code, or non-optimized programming code.
Typical monkey code or coder wouldn't
do the following:
- Think.
Analyze everything you code. - Work smarter to not harder.
- Start at the beginning or the end, but not in the middle.
- It is the little things that make all the difference.
- Think out side the box.
Glass half full, half empty, or etc.
The glass is full, because the the glass is half filled with water, and half filled with air.
The glass is 99.99% nothing, because atoms are 99.99% nothing. - Chris's first rule: Computers are dump.
Computers will only do what they are told within their physical and virtual environmental limitations. - Keep It Simple Stupid (KISS)
- Use the Right Tool for the Job
A hammer is a great tool for hitting nails, but it sucks at hitting screws. - Current/Modern Computer Design.
Current computer design has input, process, and output in that order.
Modern computer design has input, data communication from input to process, process, data communication from process to output, and output. - Use the closest system to the data to do your query filtering/calculations.
- Use asynchronous objects as much as possible instead of synchronized object for better performance, and know the difference between them, know when and where to use synchronized objects.
- Follow my Programming and Language Best Practices.(Will be discussed later)
- Remember there are three main part of a computer:
- CPU
- Memory
- Communication/Data transfer
No comments:
Post a Comment