473,545 Members | 2,779 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: Help with Iteration

Hendrik van Rooyen wrote:
Aaron Brady <cast...pigmail .comwrote:
>>while 1:
calculate_stuff ( )
if stuff < 0.00005:
break

The thought police will come and get you.

You are doing things by "side effect"!
You are using a global called "stuff"!
You are relying on an implementation
detail!

While their cudgels are bouncing off
your skull, they will scream the above three
lines into your swiftly swelling ears!
My manager doesn't know a thing about programming, and in fact he
failed the intro to critical thinking course at his college. He's
scared of truth tables. He's bored and picks fights. He spent my bonus
on a new VGA monitor for his second office. When I want to change my
syntax colors, he has to get permission from his bartender. He is
living proof that knowledge is not power. I'm impractically idealistic.
I have abstractions to reuse code if aliens abduct us. (They are
UFO_String and NonUFO_String.) I have macros for the number 1, because
'one' is easier to read. Some of my code has an accessor
method for the number 1, one(), just in case its value changes. We're
going to fire each other. In other news, I don't really have one.

If customers are stupid, should you sell stupid software?
Oct 19 '08 #1
2 858
On Oct 20, 6:10 am, Aaron Brady <castiro...@gma il.comwrote:

[snip]
If customers are stupid, should you sell stupid software?
That's a hypothetical question with which we need never concern
ourselves. After all, by definition customers are not stupid, but
"always right."

Oct 20 '08 #2
On Oct 19, 8:47*pm, Asun Friere <afri...@yahoo. co.ukwrote:
On Oct 20, 6:10 am, Aaron Brady <castiro...@gma il.comwrote:

[snip]
If customers are stupid, should you sell stupid software?

That's a hypothetical question with which we need never concern
ourselves. *After all, by definition customers are not stupid, but
"always right."
Only for the purposes of profit, and not even then necessarily. They
can be wrong about what they would buy, wrong about what their fellow
customers would buy, wrong about the product, wrong about the
competition, etc.

Regardless, I was asking about managers' priorities. I don't think
we'd always agree on what constituted a good interface, for example,
and he/she has final say over my job. I just don't want to reinvent
the wheel all the time.
Oct 20 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
3500
by: Laphan | last post by:
Hi All I'm using .getRows() with a local var array instead of doing a recursive loop so that I'm being a good ASP newvbie and closing my object i/o's (the recordset in this case) as quick as possible. My problem is that I can't seem to use this to complete good effect because the IsArray statement doesn't seem to work with a local var...
14
1830
by: Henk | last post by:
Hi Guys, (see actual code below) I wrote a little program that is supposed to read a file (input.txt) into memory (using a stack) and then reverse the file and display it to output. It works, but I still get some errors when i try to compile it: stack.c: In function 'reverseFile'
75
5559
by: Sathyaish | last post by:
Can every problem that has an iterative solution also be expressed in terms of a recursive solution? I tried one example, and am in the process of trying out more examples, increasing their complexity as I go. Here's a simple one I tried out: #include<stdio.h> /* To compare the the time and space cost of iteration against
4
17131
by: jj6849 | last post by:
I have been using the dom to add a row to my form for awhile now, but now I need to do some validation to make sure certain check boxes aren't checked with other check boxes. Now of course it works with the first row, but after I add a row, the Function does not work (no runtime error or anything). So first is my Function do the validation,...
5
4299
by: Jef Driesen | last post by:
I have a C DLL that I want to use from a C# project. The C header file contains these declarations: typedef void (*callback_t) (const unsigned char *data, unsigned int size, void *userdata); void myfunction (callback_t callback, void *userdata); How do I translate this to C#? I tried with:
0
7432
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7689
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7456
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7786
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6022
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1919
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1044
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
743
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.