Forever ForEver...

Everything else that doesn't fall into one of the other PB categories.

Change ForEver to Forever?

Yes
13
30%
No
18
41%
I'm confused.
13
30%
 
Total votes: 44

DarkDragon
Addict
Addict
Posts: 2348
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Forever ForEver...

Post by DarkDragon »

Hi, everybody!

In the german forums we've just found out, that ForEver is wrong because Forever is one word. It could misslead to a for-loop when a newbie is reading it. Maybe we should change this.

Here is the original topic:
http://www.purebasic.fr/german/viewtopi ... 843#234843

Or maybe the PureBasic Team could tell us why they've chosen "ForEver".

Regards,
Daniel
bye,
Daniel
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Post by Rings »

i prefer EVER for forever ForEVER, coz this looks Ever nicer For Forever and is IMHO more readable.

forever ForEver !!!
SPAMINATOR NR.1
User avatar
dobro
Enthusiast
Enthusiast
Posts: 766
Joined: Sun Oct 31, 2004 10:54 am
Location: France
Contact:

Post by dobro »

i prefer Do...............Loop !! for the infinite loop ;)

for Repeat in principe is only Repeat........ until :)
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/
DarkDragon
Addict
Addict
Posts: 2348
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

dobro wrote:i prefer Do...............Loop !! ;)
This is no option. We will keep the word "Forever" :lol: . We just discuss about the u/lcase of each letter.

Yes you are right with Until, but some people like to use Break instead of Until.
bye,
Daniel
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6175
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Nah, let's stay in pure PureBasic style (mind the caps :-)) and change the syntax a little. (Actually, I like Do..Loop best :-))
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

change only for all pb word, so

Code: Select all

EndEnumeration
is

Code: Select all

Endenumeration
:shock:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
DarkDragon
Addict
Addict
Posts: 2348
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

ts-soft wrote:change only for all pb word, so

Code: Select all

EndEnumeration
is

Code: Select all

Endenumeration
:shock:
No, Forever is one word, End Enumeration are 2 words.
bye,
Daniel
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

the word stems are for and ever!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

PureBasic is case insensitive, right?
User avatar
Michael Vogel
Addict
Addict
Posts: 2867
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Post by Michael Vogel »

DarkDragon wrote:
dobro wrote:i prefer Do...............Loop !! ;)
This is no option. We will keep the word "Forever" :lol: . We just discuss about the u/lcase of each letter.

Yes you are right with Until, but some people like to use Break instead of Until.
Maybe Do ... Loop is no option, but it would be cool (less chars to hack and no Up-/Lowcase discussions :lol:)

But I would see also other additions, a simple Exit If a>b seems to be easier than If a>b : BreaK : Endif

Michael
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

Michael Vogel wrote:... a simple Exit If a>b seems to be easier than If a>b : BreaK : Endif
according to PureBasic convention, it should be written ExitIf...
oh... and have a nice day.
eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

Post by eesau »

Michael Vogel wrote:But I would see also other additions, a simple Exit If a>b seems to be easier than If a>b : BreaK : Endif
BreakIf would be more consistent, but then we'd need ContinueIf as well, and things would get messy... I think what we need is a universal one-line if-construct, so I'll re-propose my idea for it: let's have Test, True and False -keywords, so that we can have nice one-line constructs like this:

Test Variable=1 True Variable-1 False Variable=1
Test ResultFromSomeProcedure() False ResultWasTrue=#False
Test BreakFlag True Break

The same with If/Else/EndIfs would take quite a few lines more... (Or you could use colons, but then it wouldn't be so sexy!)

*Edit* Maybe I'll just post it in feature requests...
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Forever ForEver...

Post by PB »

The correct English word is "Forever" with a lowercase E.
It's currently wrong but it's never bothered me so far.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

> The correct English word is "Forever" with a lowercase E.
yes, but the camel case word is ForEver :wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Camel case only applies to different words in the phrase, not words themselves.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply