Programming
Re: Programming
TunaBot alarm could be improved.
Any chance of a picture to pop-up with Capt. Kirk and his crew demanding the bot return to its owner?
or Harrison Ford from BladeRunner asking one of the questions they ask a robot.
Any chance of a picture to pop-up with Capt. Kirk and his crew demanding the bot return to its owner?
or Harrison Ford from BladeRunner asking one of the questions they ask a robot.
Re: Programming
A programmer walks into a bar and orders 1.000000119 root beers.
The bartender says, "I'm gonna have to charge you extra; that's a root beer float".
The programmer says, "Well in that case make it a double".
The bartender says, "I'm gonna have to charge you extra; that's a root beer float".
The programmer says, "Well in that case make it a double".
Re: Programming
Laws of Computer Programming
Any given program, when running, is obsolete
If a program is useless, it will have to be documented
If a program is useful, it will have to be changed
Any program will expand to fill any available memory
The value of a program is proportional to the weight of its output
Program complexity grows until it exceeds the capability of the programmer to maintain it
Make it possible for programmers to write in English and you will find out that programmers cannot write in English
Weinberg's Law
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization
Hare's Law of Large Programs
Inside every large program is a small program struggling to get out
Troutman's Programming Laws
If a test installation functions perfectly, all subsequent systems will malfunction
Not until a program has been in production for at least six months will the most harmful error then be discovered
Job control cards that cannot be arranged in an improper order will be.
Interchangable tapes won't.
If the input editor has been designed to reject all bad input, an ingenious idiot will discover a method to get bad data past it
Machines work, people should think
Golub's Laws of Computerdom
A carelessly planned project takes three times longer to complete than expected. A carefully planned project will only take twice as long
The effort required to correct the error increases geometrically with time.
Any given program, when running, is obsolete
If a program is useless, it will have to be documented
If a program is useful, it will have to be changed
Any program will expand to fill any available memory
The value of a program is proportional to the weight of its output
Program complexity grows until it exceeds the capability of the programmer to maintain it
Make it possible for programmers to write in English and you will find out that programmers cannot write in English
Weinberg's Law
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization
Hare's Law of Large Programs
Inside every large program is a small program struggling to get out
Troutman's Programming Laws
If a test installation functions perfectly, all subsequent systems will malfunction
Not until a program has been in production for at least six months will the most harmful error then be discovered
Job control cards that cannot be arranged in an improper order will be.
Interchangable tapes won't.
If the input editor has been designed to reject all bad input, an ingenious idiot will discover a method to get bad data past it
Machines work, people should think
Golub's Laws of Computerdom
A carelessly planned project takes three times longer to complete than expected. A carefully planned project will only take twice as long
The effort required to correct the error increases geometrically with time.
Re: Programming
Saw this else where:
HelloWorld(“print”)
If switched with some of the programming examples one sees, I wonder how much head scratching would occur.Re: Programming
using System;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
string clArg = "Hello World";
if (args.Length > 0){
clArg = args[0];
}
Console.WriteLine("HelloWorld ver 0.dd\r\n(C)Pigeon Propulsion 2018\r\n");
Console.WriteLine(clArg);
Console.ReadLine();
}
}
}
>HelloWorld
HelloWorld ver 0.dd
(C)2018 Pigeon Propulsion Lab
Hello World
>helloworld print
HelloWorld ver 0.dd
(C)2018 Pigeon Propulsion Lab
print
Re: Programming
How I feel when I edit the one character in the code that makes the entire program work:
Re: Programming
Possible solution: bolt cutter