![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
|
why do so many designers use 2 spaces instead of tab in HTML?
Is that a Dreamweaver thing?
When trying to edit it everything gets misaligned. Plus spaces don't play well with most text editor indentation tools. I have to reformat all the HTML I get delivered just so I can modify it and add code to it. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
just use your editor (if it supports it) to replace two spaces with a tab (\t)
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
probably because there is no tab in html.
You'd have to use span or pre |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
I thought he was talking about misaligned code... double spaces won't do anything in html either, you'd have to type
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Dec 2001
Location: AZ
Posts: 7,697
|
umm no two spaces exsist in html
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
hi
Industry Role:
Join Date: Jun 2002
Posts: 16,731
|
there's no such thing as tab
__________________
M3Server - NATS Hosting |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
|
I'm talking about indentation not spaces actually showing up on the rendered page.
Substituting 2 spaces with \t will work for most cases though. I'll give that a try. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
|
I am. Thought it was obvious from the context of talking about indentation and text editors.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
You're the first self-proclaimed programmer I've ever seen to bitch about spaces vs tabs in favor of tabs. The first. I've been doing this for over 15 years, and HTML beautifying for about 12. Congratulations!
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Quote:
I found this tidbit when I got bitched at by the 18th warez-trillian-0.4 owner who said my sentences kept having &jibberish. I double space my sentences; it's more legible that way.
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
best designer on GFY
Join Date: Mar 2003
Location: IALIEN.COM - High Definition Video and Photographic Productions -ICQ 78943384
Posts: 30,307
|
I have found that sometimes white space can break layouts from time to time, but the reason I am posting is, why are you paying for a web coder that does that kind of thing?
__________________
![]() ![]() NAKED HOSTING FTW!11 I'm On The INSANE PLAN $9.95/mo! | The Alien Blog Adult News Worth Reading Updated Daily | Content For Sale! 641 PICS 216 MINUTES OF VIDEO $350.00 |ICQ: 78943384 | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
|
Quote:
Why do you think they invented the tab key in the first place? For indentation. What's the space key for? For separating words and sentences (tokens in code parlance). Try changing the indentation on a block of code when it has spaces instead of tabs. Both vi and Textmate don't like it very much. I hate 2 spaces. What are you still using DOS with an 80x25 character display? Change your screen resolution and font size. 2 spaces is like a few millimeters. Barely even noticeable that it's indented. If you use tabs you can let the user control tab sizes, thus letting the user choose their preference. Congratulations for making it really difficult for me to notice the indentation. Gee, let me hit space 4 times to indent instead of tab once. Want to go back, now I have to hit delete multiple times. Congratulations for wasting my time. If I'm editing HTML code and I hit enter to create a new line and then hit tab to indent... well it indents different distance from the code below that should be at the same indentation level. Congratulations for fucking up my indentation. If I want to change the indentation and highlight a block and tell it to unindent, guess what, it only goes to the left 1 space instead of 1 indentation level. Congratulations for wasting my time yet again. BTW, I used to use spaces about 15 years ago when I programmed in DOS. It made sense back then because 8 spaces for tab was huge. But that's not the case anymore. Almost nobody uses 8 spaces for tab and screen resolutions are much higher now. A wise UNIX teacher taught me to use tabs and that was some of the best advice I have ever been given. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
Fucks spaces AND tabs.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
I need a beer
![]() Industry Role:
Join Date: Jun 2002
Location: ♠ Toiletville ♠
Posts: 133,940
|
Format C
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Join Date: Oct 2005
Posts: 165
|
I never use html tricks for designing a page. It's perfect possible with css alone.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
|
Two spaces is the proper space between a sentence for a paragraph.
__________________
![]() ![]() ![]() It's all disambiguation ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Join Date: Jul 2007
Posts: 7,687
|
no tab at all
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Join Date: Sep 2006
Location: underground
Posts: 1,212
|
Quote:
![]()
__________________
![]() ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Join Date: Oct 2007
Posts: 102
|
most everyone that I've seen that does that is using dreamweaver with its out of the box settings
__________________
If you have sites with creampie gangbangs, gang bangs, or creampies please submit them to my new site: http://creampiegangbang.org/add.php http://creampiegangbang.org/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Industry Role:
Join Date: Mar 2003
Location: Miami, FL
Posts: 2,090
|
Then it must be a new-school thing to use Tabs over spaces. Every young programmer here uses tabs, older guys use dual-spacing. Must be something theyre are teaching now... Im self-taught and prefer tabs.
__________________
GetSCORECash.com | In the Biz Since 1991
Big Tits | Granny & MILFs | Amateurs | Big Booty | Foot Fetish | BBW | Teens Hosted Embeds | MP4s | RSS Feeds | FHGs | Model Directory |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Too lazy to set a custom title
Join Date: Dec 2006
Posts: 23,400
|
Just html code formatting? Who cares
![]()
__________________
i like waffles |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
|
Actually about 15 years ago it WAS better to use spaces than tabs. I hinted on a few reasons for that earlier but now they don't apply anymore IMO. Also, text editors work well with tabs, they don't work well with spaces.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Confirmed User
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
|
tryre adingadocume ntthatisnotf ormattedcorrec tlyanddo esnotfol lowanygo odrulestom akeite as ytoreadan dtheny outellme formatt ingdoe snot ma tter.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
Confirmed User
Join Date: Oct 2007
Posts: 102
|
Sadly, I read that just fine.
__________________
If you have sites with creampie gangbangs, gang bangs, or creampies please submit them to my new site: http://creampiegangbang.org/add.php http://creampiegangbang.org/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
So Fucking Banned
Join Date: Oct 2005
Posts: 3,710
|
Its easier
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
Quote:
So... *PHP syntax doesn't meet your standards *Dreamweaver doesn't cut the mustard *30+ years as a fulltime programmer With all that experience have you ever considered creating your own tools or contributing to any open source projects? ![]()
__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
haha, only amongst programmers can this frikking argument occur!!!
personally, I'm a tab man, and as soon as I see code with spaces for indentation, be it 2 or 4 or whatever, I find what is the tab equivalent and search all/replace. Each to their own. Now should opening braces go on a new line or follow on the same line of the code they open? That is worth an argument...... I personally open braces on the same line that they open as I treat them as a colon or semi colon - they are following on from what was just said, but is in a new context. Those poooofters that just open braces on a new line can't follow the code and so need to visualise where they've opened a brace to be able to close it. :P
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 |
Confirmed User
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
|
I have but finances don't allow me to right now. I used to write tutorials on operating system development back when I was in high school. Loved it. I also have some ideas for new development methodologies that I want to prototype and experiment with but needing to work and pay the bills keeps me away from them. Probably for the better right now. I find myself ignoring everything else and spending a whole week reading arcane computer science papers if I don't watch myself. Eventually I want to write my own language / environment focused on web application development. I haven't decided if I will open source it though. I've thought of doing some open source work with factor, parrot or rubinius to get me some experience in the field when I have more time.
|
![]() |
![]() ![]() ![]() ![]() ![]() |