Please read. Significant change on the site that will affect compatibility [ Dismiss ]
Home ยป Forum ยป Author Hangout

Forum: Author Hangout

proper use of forward and back slashes

oldegrump ๐Ÿšซ

Good Evening,

I am having a small conundrum. What is the proper usage of the forward slash and the backslash.

When I was in school (shortly after the last ice age) we never used a forward slash.

Ernest Bywater ๐Ÿšซ
Updated:

@oldegrump

In general, you don't need them in ordinary text. However, if you are listing two different duties as a single job, or something similar, you do so as:

Cook/housekeeper - or - Cook / housekeeper

Gardener/handyman - or - Gardener / handyman

Some people teach to have no spacer while others teach to use spaces. I use spacers as it makes the wrap around of text between lines much easer.

edit to correct system deleting text of one style of slash - continues to fail so using the '*' to indicate the other type of slash not shown.

In regards to computer usage the '/' is often used to designate between folders or directories while the '*' is often used for internal locations, options, or commands.

As to backslash and forward slash, when I was in school back during the Jurassic Period the name was derived from the direction the line took in going from the bottom of the line to the top so '/' was a forward slash and '*' was a back slash. However, now days I often see them being named the other way with '/' being called a back slash and '*' being called a forward slash.

Replies:   Dominions Son  Remus2  Keet
Dominions Son ๐Ÿšซ

@Ernest Bywater

You backslash is showing up as an asterisk (*)

Replies:   Ernest Bywater
Ernest Bywater ๐Ÿšซ

@Dominions Son

You backslash is showing up as an asterisk (*)

please read the edit note I placed in the middle of the post.

Remus2 ๐Ÿšซ
Updated:

@Ernest Bywater

As I understand it;

'/' = forward slash

\ = back slash

Reading left to right (English), '/' is leaning in the direction of reading.

\ Is backward to normal reading progression.

That is my understanding. Right/wrong?

Someone care to tell me why the backslash keeps dissappearing?

Never mind, got it sorted.

Replies:   Grant
Grant ๐Ÿšซ

@Remus2

Someone care to tell me why the backslash keeps dissappearing?

This system is probably based on BBCode of some sort, and it doesn't like backslashes in postings.
Often they are just removed.

Replies:   Remus2  Not_a_ID
Remus2 ๐Ÿšซ
Updated:

@Grant

Thanks, inserted &#92 and it came up, then went away again. Lol

Had to reinsert it as &#92 dissappeared during edit.

Not_a_ID ๐Ÿšซ

@Grant

This system is probably based on BBCode of some sort, and it doesn't like backslashes in postings.
Often they are just removed.

Its can be used as an "escape code," of a sort that also is valid for PHP and other contexts such as SQL/mySQL as well. Easier to strip it from a post entirely than try to parse it out and open your code up to possible exploitation.

Keet ๐Ÿšซ

@Ernest Bywater

In regards to computer usage the '/' is often used to designate between folders or directories while the '*' is often used for internal locations, options, or commands.

That depends on the Operating System: Path (computing) (Wikipedia). DOS, Windows, and Symbian are among the OS's that (also) use backslashes.

Remus2 ๐Ÿšซ

http://www.yellowpipe.com/yis/tools/ASCII-HTML-Characters/
Seems like a handy cheat sheet for non-coding types like me.

Replies:   Keet
Keet ๐Ÿšซ
Updated:

@Remus2

http://www.yellowpipe.com/yis/tools/ASCII-HTML-Characters/

Seems like a handy cheat sheet for non-coding types like me.

I use this list because it includes a column with the "weird character" codes.
And of course there's the W3 html character reference card.

Replies:   Remus2
Remus2 ๐Ÿšซ

@Keet

Thanks, those do appear to be better illustrated.

Switch Blayde ๐Ÿšซ
Updated:

@oldegrump

What is the proper usage of the forward slash and the backslash.

The backslash is used with computers.

The forward slash? According to the Chicago Manual of Style:

- With fractions
- Between lines of quoted poetry
- In Internet addresses (URLs) and pathnames
- To signify or or and/or
- With two-year spans, e.g., 1991/92 (instead of an en dash)
- With dates (informal), e.g., 6/1/11
- In abbreviations, e.g., $7/hour (instead of per) and c/o (instead of a period)

Switch Blayde ๐Ÿšซ

@oldegrump

According to wikipedia:

Bob Bemer introduced the backslash character into ASCII on September 18, 1961, as the result of character frequency studies. In particular, the backslash was introduced so that the ALGOL boolean operators โˆง(and) and โˆจ(or) could be composed in ASCII with a forward slash/backslash and backslash/forward slash, respectively. Both these operators were included in early versions of the C programming language supplied with Unix V6, Unix V7 and more currently BSD 2.11.

oldegrump ๐Ÿšซ

OK the answers are clear as mud. I will just continue my confusion. I find that seeing the forward slash as not right

Replies:   Keet
Keet ๐Ÿšซ

@oldegrump

OK the answers are clear as mud. I will just continue my confusion. I find that seeing the forward slash as not right

You got those confusing answers because the 'correct' use of slashes depends on the field of interest in which they are used. Assuming that the field of interest you are inquiring about is story and book writing it's always a forward slash (/). But if a specific text-part represents something from another field of interest (for example a scientific formula) the rules for that field of interest apply.
Just to make it a little more confusing ;)

Maclir ๐Ÿšซ

When I did my CS degree (back in the mid 1970's), my Unix OS lecturer (Professor John Lions, author of the 'Lion's Book) called the backwards slash a 'slosh'. The exclaimation mark (!) was called a 'splat'.

awnlee jawking ๐Ÿšซ

I recommend you always slash forwards. Unless, for example, you're self-medicating a jellyfish sting ;)

AJ

Back to Top

Close
 

WARNING! ADULT CONTENT...

Storiesonline is for adult entertainment only. By accessing this site you declare that you are of legal age and that you agree with our Terms of Service and Privacy Policy.


Log In