Why not remove the [code] tag?
Since the code tag doesn't allow scrolling and it takes a huge amount of the page when using longer codes, and people tell that user to use php tag instead, why not simply remove it, or even better - make it work like the php tag, aka replace it? There's literally no point of having a non-scrollable code block when we already have a better version which is used by everyone who isn't new around here.
|
Re: Why not remove the [code] tag?
Or it's always nice to
Spoiler
|
Re: Why not remove the [code] tag?
Remove the [code] tag. Can't scroll and doesn't highlight.
Remove the [php] tag. Almost no one is pasting actual PHP code compared to Pawn or Sourcepawn code. Remove the [pawn] tag. Highlighting is mediocre and it breaks when quoting, editing. |
Re: Why not remove the [code] tag?
Quote:
Almost (if not) all boards has the CODE tag. Not all boards have the PHP tag. In fact, AM is the only board I've seen where there appear to be more for "PHP" (or other tags) than the "CODE" tags. So if you ask me, it would make sense to ditch the PHP tag, and only to keep the CODE tag. In regards to highlighting and other things, there are occasionally board specific things, such as things only available here on AM, as well as for other boards something only available there. With most boards out there, pull requests could possibly be sent towards the upstream of such boards to include syntax highlighting also for Pawn/SourcePawn, as well as other coding/scripting languages. There could be done so many things in regards to different things, but life is never simple, is it? You live yours, I live mine. You have your opinions, I have mine.... In the end, it all turns out that we might go in different directions. But you're "literally" correct: Everything would indeed be much easier if we all had the same opinions and thoughts. ;-) |
Re: Why not remove the [code] tag?
Quote:
PHP Code:
|
Re: Why not remove the [code] tag?
Wat there is a pawn tag?!
Didnt know that! Code:
|
Re: Why not remove the [code] tag?
Code:
|
Re: Why not remove the [code] tag?
Quote:
|
Re: Why not remove the [code] tag?
If I remember correctly, in some cases it removes all new lines from the pawn tag once you quote someone. May be dependent on which text area style you use? I don't know why, but I've seen it happen. That could be the reason why people avoid it.
|
Re: Why not remove the [code] tag?
Try it with the WHYRYT (idk how it's called) post option enabled and see what happens when you edit a post that contains a pawn tag.
@arne1288 - this is not about different opinions, it's about what's wrong and what's right. Why would you want to see and scroll 5000 lines of code just to read all comments in the thread instead of scrolling pass the code block? I don't think that anyone cares what kind of content is used within the tag, people simply prefer to see the code in some colors rather than in pain black. Here's a simple example that demonstrates the difference between the two tags and why the first one should be removed OR enhanced: Code:
Can your scroll wheel handle this? PHP Code:
|
All times are GMT -4. The time now is 19:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.