Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
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. -
killames5733y@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 ? -
C0D4681383yHere's one the Internet prepared earlier, it even comes with unique urls to share with.
https://Gist.GitHub.com -
C0D4681383yBut 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); -
kamen69963yI can't remember the last time I saw actual code on devRant. It feels to me that it's 99.9% ramblings and rants.
-
C0D4681383y@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. -
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.
-
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.
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
rant