1. writefn sprintf format - Too Many Options?

Derek, I couldn't find the thread where you explained the differences between printf() and writefn() (or whatever those functions were).

But now I see std/text.e:format() is also available!

Might we need to do a little consolidation, or are all these functions not as redundant as they might seem? Can you explain (again?sorry)?

new topic     » topic index » view message » categorize

2. Re: writefn sprintf format - Too Many Options?

euphoric said...

Derek, I couldn't find the thread where you explained the differences between printf() and writefn() (or whatever those functions were).

message:109887

euphoric said...

But now I see std/text.e:format() is also available!

Might we need to do a little consolidation, or are all these functions not as redundant as they might seem? Can you explain (again?sorry)?

The format() function implements the extended (new) formatting options. This returns a string of text. The writef() and writefln() functions simply call that formatter and sends the string to the console (by default) or any other file you specify. You might need to format stuff but not send to the file as a line of text, that's why format() exists as a separate function.

new topic     » goto parent     » topic index » view message » categorize

3. Re: writefn sprintf format - Too Many Options?

Hi

Just so that thousands of applications are not made immediately obsolete, could you just reassure the (non-dev) members, that printf() and sprintf() will not slip into obscurity any time in the near future. Or ever.

Havingamildpanicattack

Chris

new topic     » goto parent     » topic index » view message » categorize

4. Re: writefn sprintf format - Too Many Options?

ChrisB said...

Hi

Just so that thousands of applications are not made immediately obsolete, could you just reassure the (non-dev) members, that printf() and sprintf() will not slip into obscurity any time in the near future. Or ever.

Havingamildpanicattack

Chris

So when I said in message:109887, "printf is not going to go away as far as I can see", what did you think I meant?

new topic     » goto parent     » topic index » view message » categorize

5. Re: writefn sprintf format - Too Many Options?

ChrisB said...

Just so that thousands of applications are not made immediately obsolete, could you just reassure the (non-dev) members, that printf() and sprintf() will not slip into obscurity any time in the near future. Or ever.

Havingamildpanicattack

LOLZ! No, they're not going anywhere. smile

new topic     » goto parent     » topic index » view message » categorize

6. Re: writefn sprintf format - Too Many Options?

DerekParnell said...
ChrisB said...

Hi

Just so that thousands of applications are not made immediately obsolete, could you just reassure the (non-dev) members, that printf() and sprintf() will not slip into obscurity any time in the near future. Or ever.

Havingamildpanicattack

Chris

So when I said in message:109887, "printf is not going to go away as far as I can see", what did you think I meant?

Well, when Gordon Brown says the economy is picking up, what do you think he means? Was the pH a bit low there?

Chris

new topic     » goto parent     » topic index » view message » categorize

7. Re: writefn sprintf format - Too Many Options?

ChrisB said...
DerekParnell said...
ChrisB said...

Hi

Just so that thousands of applications are not made immediately obsolete, could you just reassure the (non-dev) members, that printf() and sprintf() will not slip into obscurity any time in the near future. Or ever.

Havingamildpanicattack

Chris

So when I said in message:109887, "printf is not going to go away as far as I can see", what did you think I meant?

Well, when Gordon Brown says the economy is picking up, what do you think he means? Was the pH a bit low there?

Chris

For what it's worth, I give my ironclad guarantee that printf and sprintf won't go away anytime in the near future. The printf() syntax is too ubiquitous (in C and also in shell scripts) to fade away anytime soon, which keeps it as a useful addition to Eu in general.

(I'm speaking only for myself here.)

new topic     » goto parent     » topic index » view message » categorize

8. Re: writefn sprintf format - Too Many Options?

ChrisB said...
DerekParnell said...
ChrisB said...

Hi

Just so that thousands of applications are not made immediately obsolete, could you just reassure the (non-dev) members, that printf() and sprintf() will not slip into obscurity any time in the near future. Or ever.

Havingamildpanicattack

Chris

So when I said in message:109887, "printf is not going to go away as far as I can see", what did you think I meant?

Well, when Gordon Brown says the economy is picking up, what do you think he means? Was the pH a bit low there?

He means that "the economy is picking up", and I don't see what acidity level has to do with anything?

I cannot give a firm guarantee on things that I do not control, so therefore I cannot say that printf will never disappear, but only that I believe that it will not be doing so.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu