0

Why devrant should have an inbuilt code editor
1. it can be easier to read than just reading code someone wrote in their rant
2. it would be way easier and indented plus added syntax highlighting should be good
please add a code editor to dev rant it would erase having the need to decipher everything in a chat xD

Comments
  • 5
    We had this discussion here a thousand times.

    My personal reason why I wouldn't like this...

    Have you looked at most projects with an integrated full blown crazy shit IDE editor?

    Look at their CVE page.

    It's _insane_ to get it right as there _will_ always be some update / function / library dependency / ... that fucks it up.

    And stored in a database means that when the issue is fixed you might now have fun to deal with the aftermath...

    Finding the entries that suddenly the new version doesn't accept and shit looks like poop.

    And this is just for the text editor.

    Don't get me started on highlighting and code parsing.
  • 1
    @IntrusionCM can’t they just have a highlighter ?
  • 1
    @killames yeah. Remote Execution loves highlighting.
  • 1
    @IntrusionCM lol I don’t mean execute code lol can’t you just entitiZe the text and store it like a normal person ?
    Personally I don’t see a point how many posts on here include code ?
  • 1
    Here's one the Internet prepared earlier, it even comes with unique urls to share with.

    https://Gist.GitHub.com
  • 2
    But if you must use code in a comment, it's not unheard off.

    You can call on our trusty highlighter - when it works....

    @highlight
    let x = "I'm a bot";
    console.log(x);
  • 3
    Hmm, I think @skayo broke it again 🙁
  • 2
    I can't remember the last time I saw actual code on devRant. It feels to me that it's 99.9% ramblings and rants.
  • 3
  • 3
    @kamen it's rare but there's some moments where you might need to to solve someone's problem, there's a fine line between "this belongs on SO", and asking for advice, but it happens.

    Some times, it's better to give examples but there's other means then devRant to share code snippets.

    Introducing such a feature here would remove the "rant" side of things and walk us down the "hey, I have no karma on SO, take a look at my shitty code" constantly.
  • 1
    No one cares about code editor. It's just a forum.
  • 2
    @kamen this place is exactly about ramblings and rants. It's not an affiliate of StackOverflow
  • 2
    Sorry to burst your bubble but I am not coming here to read code orhelp others. This place is for rants. You would be like a guy talking work ina relaxing gathering. This place’s purpose is in the name.
  • 3
    Basically what @C0D4 said. It's annoying, but there will always be people that fuck up this formatting and still publish their shitty code. What's also unfortunate is that introducing code blocks shall prove wrong, because it suggests that site is intended for sharing code.
  • 2
Add Comment