AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   Why not remove the [code] tag? (https://forums.alliedmods.net/showthread.php?t=296599)

OciXCrom 04-24-2017 18:29

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.

sneaK 04-24-2017 18:40

Re: Why not remove the [code] tag?
 
Or it's always nice to

Spoiler

psychonic 04-24-2017 20:33

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.

DarkDeviL 04-25-2017 01:35

Re: Why not remove the [code] tag?
 
Quote:

Originally Posted by OciXCrom (Post 2514962)
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.

Why not simply remove the PHP tag?

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. ;-)

sneaK 04-25-2017 02:22

Re: Why not remove the [code] tag?
 
Quote:

Originally Posted by arne1288 (Post 2515023)
Why not simply remove the PHP tag?

PHP Code:

#Because
"I like" the fancy colors

Kind of a nice visual aid when viewing on the forum, versus the CODE tag.

Timocop 04-25-2017 04:15

Re: Why not remove the [code] tag?
 
Wat there is a pawn tag?!
Didnt know that!

Code:
new String:hello[] = "world\" bye bye"; #emit halt #define HelloDef "My god yes" int myInt = 1; // daw

ish12321 04-25-2017 08:00

Re: Why not remove the [code] tag?
 
Code:
for(new i = 0; i < num; i++) {    client_print(0, print_chat, "I too didn't knew it"); }

gabuch2 04-25-2017 08:14

Re: Why not remove the [code] tag?
 
Quote:

Originally Posted by ish12321 (Post 2515094)
Code:
for(new i = 0; i < num; i++) {    client_print(0, print_chat, "I too didn't knew it"); }

what do psychonic means it breaks on quoting/editing?

klippy 04-25-2017 09:20

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.

OciXCrom 04-25-2017 09:22

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?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?

PHP Code:

 Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this?
Can your scroll wheel handle this



All times are GMT -4. The time now is 19:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.