subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | jbob133 | fidol1w | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>This made me cry so hard I almost dropped my phone.<|eor|><|eols|><|endoftext|> | 33 |
programminghorror | Retarded_Baboon | fie9n5r | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>Some (old) teachers just want a .pdf of the code, so monochrome, in word. It look as awful as it sounds<|eor|><|eols|><|endoftext|> | 33 |
programminghorror | requ1tas | fiekrrj | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>N . O . P . E<|eor|><|sor|>[deleted]<|eor|><|sor|>Never on planet earth<|eor|><|eols|><|endoftext|> | 28 |
programminghorror | dontcallmesurely007 | fif9cpx | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>Some (old) teachers just want a .pdf of the code, so monochrome, in word. It look as awful as it sounds<|eor|><|sor|>I usually write it in a real IDE and then break out the ol' CTRl+C CTRL+V.<|eor|><|eols|><|endoftext|> | 21 |
programminghorror | j_curic_5 | fiemyh9 | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>N . O . P . E<|eor|><|sor|>[deleted]<|eor|><|sor|>Never on planet earth<|eor|><|sor|>Technicall it's Never on planet E<|eor|><|eols|><|endoftext|> | 19 |
programminghorror | lylesback2 | fidw61r | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>My eyes... Make it stop!<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | schimini | figm7om | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>In college, I TA'd the introductory programming class offered at my school. I met one student who began every project by typing a bunch of code for possible ways to solve the problem into a OneNote notebook, then copy-pasted eac... | 15 |
programminghorror | sebamestre | fievb2r | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>Rust reads easy enough that you don't even need color coding or anything. What a marvel of engineering :')<|eor|><|sor|>This. Why would you use any other language in the age of Rust?
- Zero cost abstractions
- Type inference
... | 12 |
programminghorror | meanwhileinvermont | fieee3d | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>We have Notepad++ and VS Code now. I've no idea why anyone uses anything that isn't one of those.
Except people who like vi, which is an abomination. Back in my university days a very dull professor spent three months teaching... | 12 |
programminghorror | choose_what_username | fifjlz0 | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>The thing that infuriates me the most isn't the fact that you're writing code in a word processor. It's that you're running LO in dark mode with light mode icons. You can barely see those things!<|eor|><|eols|><|endoftext|> | 11 |
programminghorror | McSinyx | fif1b1s | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>Microsoft Word is still the best Text Editor for programming<|eor|><|sor|>LibreOffice (as used by OP) is better because it's libre software.<|eor|><|eols|><|endoftext|> | 11 |
programminghorror | ArtemisBowYou | fieopfc | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>I have seen students in university doing programing projects in word so xD<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | McSinyx | fif1kru | <|sols|><|sot|>Best IDE ever.<|eot|><|sol|>https://i.redd.it/f15pc6zdlei41.png<|eol|><|sor|>[deleted]<|eor|><|sor|>FreeOffice, despite its name, is not free software.<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | SnowdensOfYesteryear | 7jplgc | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|eols|><|endoftext|> | 841 |
programminghorror | teruma | dr8f8lb | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>What an oddly specific number...<|eor|><|eols|><|endoftext|> | 251 |
programminghorror | BorgiaCamarones | dr8k02b | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>What an oddly specific number...<|eor|><|sor|>Weird... it's also some sort of limit in Whatsapp..
Conspiracy anyone? What are the tech giants hiding behind these cryptic codes?<|eor|><... | 173 |
programminghorror | outadoc | dr8teko | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>What an oddly specific number...<|eor|><|sor|>Weird... it's also some sort of limit in Whatsapp..
Conspiracy anyone? What are the tech giants hiding behind these cryptic codes?<|eor|><... | 163 |
programminghorror | hiimbob000 | dr8binl | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>Doubtfully a tiny microprocessor, any webserver able to handle requests and such like that is going to have support for integers larger than 1 byte. Rpi could be adequate even. Sounds l... | 70 |
programminghorror | weedtese | dr8joy5 | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>`uint8_t`<|eor|><|eols|><|endoftext|> | 61 |
programminghorror | Ericisbalanced | dr8djue | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>I dont get it. Is it something to do with 8 bit integers?
Edit: Sorry, I was genuinely asking. Guess Im out of the loop.<|eor|><|sor|>Storing money as an 8 bit integer is woefully wron... | 61 |
programminghorror | glemnar | dr8igg3 | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>Doubtfully a tiny microprocessor, any webserver able to handle requests and such like that is going to have support for integers larger than 1 byte. Rpi could be adequate even. Sounds l... | 40 |
programminghorror | SnowdensOfYesteryear | dr8cepf | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>Doubtfully a tiny microprocessor, any webserver able to handle requests and such like that is going to have support for integers larger than 1 byte. Rpi could be adequate even. Sounds l... | 29 |
programminghorror | Everspace | dr8bt3r | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>I dont get it. Is it something to do with 8 bit integers?
Edit: Sorry, I was genuinely asking. Guess Im out of the loop.<|eor|><|sor|>Storing money as an 8 bit integer is woefully wron... | 28 |
programminghorror | SOADNICK | dr8vy52 | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>What an oddly specific number...<|eor|><|sor|>Weird... it's also some sort of limit in Whatsapp..
Conspiracy anyone? What are the tech giants hiding behind these cryptic codes?<|eor|><... | 23 |
programminghorror | Techrocket9 | dr8n5cs | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|> CREATE TABLE [dbo].[TripDeductions]
(
[UserID] [BIGINT] NOT NULL,
[CashValue] [TINYINT] NOT NULL,
[AutoLoad] [BIT] NOT NULL
)<|eor|><|eols|><|endofte... | 16 |
programminghorror | suspiciously_calm | dr9j88y | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>`uint8_t`<|eor|><|sor|>`std::numeric_limits<std::uint8_t>::max()`<|eor|><|eols|><|endoftext|> | 14 |
programminghorror | RareKazDewMelon | dr8ohgi | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>Clipper card?<|eor|><|sor|>It says Clipper in the screenshot...<|eor|><|sor|>They were probably asking what a clipper card was<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | UsablePizza | dr9wut2 | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>Hmmm, try topping up $-1<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | Various_Pickles | dr9vr8l | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>When I had the possibility I always crunched the numbers to predict how long or how big inputs will be and set the limits accordingly in a schema. Now I just use default values and ever... | 9 |
programminghorror | bajuh | dr8jhks | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>When I had the possibility I always crunched the numbers to predict how long or how big inputs will be and set the limits accordingly in a schema. Now I just use default values and ever... | 8 |
programminghorror | tossoneout | dr8rsg1 | <|sols|><|sot|>I wonder if the server is running on a microcontroller...<|eot|><|sol|>https://i.redd.it/80al8sz0rt301.png<|eol|><|sor|>Clipper card?<|eor|><|sor|>It says Clipper in the screenshot...<|eor|><|sor|>They were probably asking what a clipper card was<|eor|><|sor|>For payment on clipper ships, using clipper c... | 8 |
programminghorror | Nitoxym | k7hpii | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|eols|><|endoftext|> | 844 |
programminghorror | im-not-really-real | geqz50i | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>This is pretty horrible. Why in the world wouldn't you use a switch to check for the possible commands, and then have this as the default case? Bar that, use an if else chain!<|eor|><|eols|><|endoftext|> | 153 |
programminghorror | mcottingham | geqzj6p | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>If only there were a design pattern to solve this problem.. <|eor|><|eols|><|endoftext|> | 125 |
programminghorror | showcontroller | ger28t4 | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>Real question, is there a better way to add commands other than switch cases?<|eor|><|sor|>For loop and some kind of data structure. Lua doesnt have switch statements, so its common to have a table of functions with the... | 53 |
programminghorror | Ethanol-10 | geqzxs2 | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>Real question, is there a better way to add commands other than switch cases?<|eor|><|eols|><|endoftext|> | 42 |
programminghorror | wikipedia_answer_bot | geryoj6 | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>If only there were a design pattern to solve this problem.. <|eor|><|sor|>What design pattern?<|eor|><|sor|>What's a design pattern?<|eor|><|sor|>A design pattern is the re-usable form of a solution to a design problem.... | 39 |
programminghorror | nuclearslug | ger324f | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>Real question, is there a better way to add commands other than switch cases?<|eor|><|sor|>Sure, there are tons of different approaches. I prefer to use a dictionary/hashmap to store the conditions and test against the... | 20 |
programminghorror | rotenKleber | gesffsv | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>This is pretty horrible. Why in the world wouldn't you use a switch to check for the possible commands, and then have this as the default case? Bar that, use an if else chain!<|eor|><|sor|>It looks like if you took a ha... | 18 |
programminghorror | ILuvMazes | ges7pq6 | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>If only there were a design pattern to solve this problem.. <|eor|><|sor|>What design pattern?<|eor|><|sor|>What's a design pattern?<|eor|><|sor|>A design pattern is the re-usable form of a solution to a design problem.... | 18 |
programminghorror | tjf314 | geqyqi2 | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>hang on wait MY friend has a discord bot that would fit here<|eor|><|eols|><|endoftext|> | 14 |
programminghorror | jasekiw | geryngl | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>If only there were a design pattern to solve this problem.. <|eor|><|sor|>What design pattern?<|eor|><|sor|>What's a design pattern?<|eor|><|eols|><|endoftext|> | 14 |
programminghorror | moomoomoo309 | ger48k6 | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>Real question, is there a better way to add commands other than switch cases?<|eor|><|sor|>For loop and some kind of data structure. Lua doesnt have switch statements, so its common to have a table of functions with the... | 13 |
programminghorror | lokvanjiz | ger19ys | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>Not that bad compared to a bot that a server owner I was mod on made, I helped him but some commands said he didn't need help. The worst is something like this(for a meme command)
meme = random.choice[link, link2, link2... | 12 |
programminghorror | B0tRank | ges7qmb | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>If only there were a design pattern to solve this problem.. <|eor|><|sor|>What design pattern?<|eor|><|sor|>What's a design pattern?<|eor|><|sor|>A design pattern is the re-usable form of a solution to a design problem.... | 11 |
programminghorror | tiNsLeY799 | ger6jx4 | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>yikes and i thought mine was bad<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | Command-Master | getcy12 | <|sols|><|sot|>My friend's Discord bot<|eot|><|sol|>https://i.redd.it/58yc59a78g361.png<|eol|><|sor|>This is pretty horrible. Why in the world wouldn't you use a switch to check for the possible commands, and then have this as the default case? Bar that, use an if else chain!<|eor|><|sor|>Use an array reduce! You shoul... | 9 |
programminghorror | DawidIzydor | d9ht3g | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|eols|><|endoftext|> | 846 |
programminghorror | DawidIzydor | f1hjniv | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Sometimes you just have to be sure!<|eor|><|soopr|>I wonder if there's a line like this:
if (Null != null)
{
// we really fucked somethi... | 215 |
programminghorror | arbenowskee | f1hjipx | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Sometimes you just have to be sure!<|eor|><|eols|><|endoftext|> | 167 |
programminghorror | ShetlandJames | f1hm4p7 | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Sometimes you just have to be sure!<|eor|><|soopr|>I wonder if there's a line like this:
if (Null != null)
{
// we really fucked somethi... | 75 |
programminghorror | flubba86 | f1hqv6q | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Sometimes you just have to be sure!<|eor|><|soopr|>I wonder if there's a line like this:
if (Null != null)
{
// we really fucked somethi... | 59 |
programminghorror | DawidIzydor | f1hqbhv | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>And then a ticket in the future `"Program doing weird things randomly. Please fix it."`<|eoopr|><|eols|><|endoftext|> | 58 |
programminghorror | undifini | f1hvab3 | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>hmm
yes
the null here is made of null<|eor|><|eols|><|endoftext|> | 48 |
programminghorror | NatoBoram | f1hvfq3 | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Sometimes you just have to be sure!<|eor|><|soopr|>I wonder if there's a line like this:
if (Null != null)
{
// we really fucked somethi... | 37 |
programminghorror | WarpedHaiku | f1jl6mu | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Meanwhile in Objective-C, we have NSNull.null, a legitimate "feature" baked into Foundation.
It's not even null. It contains an instance of NSNull - T... | 29 |
programminghorror | jimgagnon | f1i6r9t | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Sometimes you just have to be sure!<|eor|><|soopr|>I wonder if there's a line like this:
if (Null != null)
{
// we really fucked somethi... | 18 |
programminghorror | alternatetwo | f1ihn25 | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Sometimes you just have to be sure!<|eor|><|soopr|>I wonder if there's a line like this:
if (Null != null)
{
// we really fucked somethi... | 18 |
programminghorror | Bit5keptical | f1i76d0 | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>[deleted]<|eor|><|sor|>RNG Roulette.<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | precocious_pakoda | f1hnrq8 | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Oh god imagine someone changes th value on this configuration<|eor|><|eols|><|endoftext|> | 11 |
programminghorror | LeJoker | f1i6wbx | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Ridiculous.
Everyone knows the null property should always be set to NaN<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | ejbaum | f1j0yol | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>It's named well, at least.<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | Skipachu | f1huxwx | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Sometimes you just have to be sure!<|eor|><|soopr|>I wonder if there's a line like this:
if (Null != null)
{
// we really fucked somethi... | 7 |
programminghorror | YourMJK | f1kxm3u | <|sols|><|sot|>In a project I'm working on there's a object with a "Null" property set to always be null<|eot|><|sol|>https://i.redd.it/ulxeir0x1xo31.png<|eol|><|sor|>Meanwhile in Objective-C, we have NSNull.null, a legitimate "feature" baked into Foundation.
It's not even null. It contains an instance of NSNull - T... | 6 |
programminghorror | qevlarr | binvhy | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|eols|><|endoftext|> | 838 |
programminghorror | qevlarr | em1vtsn | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>That's fine, you can just get another job.<|eoopr|><|eols|><|endoftext|> | 252 |
programminghorror | theboxislost | em1sxio | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>When you used to be a print editor before moving to programming.<|eor|><|eols|><|endoftext|> | 155 |
programminghorror | dev_rs3 | em1rl17 | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>clang-format: hold my beer.<|eor|><|eols|><|endoftext|> | 101 |
programminghorror | ciknay | em1u0or | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>Easy to fix.
1. Select All
2. Ctrl+K+F
3. Ctrl+S
Good job. You've formatted the code in VS.<|eor|><|eols|><|endoftext|> | 54 |
programminghorror | qevlarr | em1z0dy | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>[deleted]<|eor|><|sor|>I don't like the long lines, but I do like that it all fits on one screen.
Sometimes I miss having separate header and implementation files... (we a es6, ruby, php shop :( )... | 48 |
programminghorror | schwerpunk | em1xxk2 | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>[deleted]<|eor|><|sor|>I don't like the long lines, but I do like that it all fits on one screen.
Sometimes I miss having separate header and implementation files... (we a es6, ruby, php shop :( )... | 40 |
programminghorror | qevlarr | em1urqz | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>I sometimes do this when defining several variables (all of the same type and with the same specifier) in Java. Is it really that bad. On occasion Id like to think it makes it more readable. But in... | 27 |
programminghorror | hasselbeast | em235xv | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>Easy to fix.
1. Select All
2. Ctrl+K+F
3. Ctrl+S
Good job. You've formatted the code in VS.<|eor|><|sor|>Even easier:
1. Ctrl + A
2. Delete
3. Ctrl + S<|eor|><|sor|>Even easier:
1. windows butto... | 26 |
programminghorror | schwerpunk | em1y51v | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>This is not bad code. Everything is clear. Just formatted in an unusual way.<|eor|><|sor|>I'd argue formatting is part of the code, even if it's only for humans.<|eor|><|eols|><|endoftext|> | 22 |
programminghorror | dewakaputo | em1vx2p | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>The reason I hate it is because when something has to be changed unrelated lines of code have to be touched as well, it fucks up the history of the project and subsequent merges by causing conflict... | 21 |
programminghorror | vancity- | em24pdg | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>Easy to fix.
1. Select All
2. Ctrl+K+F
3. Ctrl+S
Good job. You've formatted the code in VS.<|eor|><|sor|>Even easier:
1. Ctrl + A
2. Delete
3. Ctrl + S<|eor|><|sor|>Even easier:
1. windows butto... | 20 |
programminghorror | yousefzoq | em1wjej | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>I'm no expert and would like to learn so this question is genuine: why is this so bad?
I read comments about the history being messed up, which I agree with. But I've recently started my first job... | 19 |
programminghorror | qevlarr | em1ys9f | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>I'm no expert and would like to learn so this question is genuine: why is this so bad?
I read comments about the history being messed up, which I agree with. But I've recently started my first job... | 19 |
programminghorror | lucianonooijen | em28xgy | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>Easy to fix.
1. Select All
2. Ctrl+K+F
3. Ctrl+S
Good job. You've formatted the code in VS.<|eor|><|sor|>Even easier:
1. Ctrl + A
2. Delete
3. Ctrl + S<|eor|><|sor|>Even easier:
1. windows butto... | 19 |
programminghorror | DXPower | em23ip7 | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Honestly it's not that bad, and it clearly separates each of the C++ repetitive-definitions into clearly defined categories. The one-line parts aren't THAT good but it's all ... | 16 |
programminghorror | z500 | em25kuj | <|sols|><|sot|>Ahhh, nicely aligned code... (please kill me)<|eot|><|sol|>https://i.redd.it/rg2cgxh8j6v21.png<|eol|><|sor|>[deleted]<|eor|><|sor|>I don't like the long lines, but I do like that it all fits on one screen.
Sometimes I miss having separate header and implementation files... (we a es6, ruby, php shop :( )... | 16 |
programminghorror | _Stego27 | h7x7ch | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|eols|><|endoftext|> | 835 |
programminghorror | McPqndq | funr0dz | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>why does this have a java flair? and this just looks like some fairly normal minified js, but with some spaces added. definitely not written by a human. I had never seen the use of commas inside the parens for an if sta... | 195 |
programminghorror | IrishWilly | funxpf3 | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>Posting minified code is like opening a compiled bytecode in your text editor and pretending it is a bad programming. C'mon.<|eor|><|eols|><|endoftext|> | 129 |
programminghorror | PrincessRTFM | funs7r0 | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>why does this have a java flair? and this just looks like some fairly normal minified js, but with some spaces added. definitely not written by a human. I had never seen the use of commas inside the parens for an if sta... | 77 |
programminghorror | hemaris_thysbe | fuoei2u | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>Posting minified code is like opening a compiled bytecode in your text editor and pretending it is a bad programming. C'mon.<|eor|><|sor|>I think the horror here is that this is a mousepad. I dont think I could look at ... | 47 |
programminghorror | off_me_head_pal | funsw8a | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>Right click. Format code<|eor|><|eols|><|endoftext|> | 42 |
programminghorror | thelights0123 | fuodohl | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>why does this have a java flair? and this just looks like some fairly normal minified js, but with some spaces added. definitely not written by a human. I had never seen the use of commas inside the parens for an if sta... | 41 |
programminghorror | shadeyg56 | funz1fl | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>this isn't Java<|eor|><|eols|><|endoftext|> | 27 |
programminghorror | TomNa | fup0whf | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>why does this have a java flair? and this just looks like some fairly normal minified js, but with some spaces added. definitely not written by a human. I had never seen the use of commas inside the parens for an if sta... | 19 |
programminghorror | jordanbtucker | fuo8yag | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>Low effort post.<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | ElonsDrugDealer | funtthq | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>Good ol JavaScript. Minified for your viewing pleasure.<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | DB6 | fuorh96 | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>why does this have a java flair? and this just looks like some fairly normal minified js, but with some spaces added. definitely not written by a human. I had never seen the use of commas inside the parens for an if sta... | 13 |
programminghorror | PrincessRTFM | funuc1z | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>why does this have a java flair? and this just looks like some fairly normal minified js, but with some spaces added. definitely not written by a human. I had never seen the use of commas inside the parens for an if sta... | 12 |
programminghorror | moarsecode | fuozf46 | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>why does this have a java flair? and this just looks like some fairly normal minified js, but with some spaces added. definitely not written by a human. I had never seen the use of commas inside the parens for an if sta... | 9 |
programminghorror | Bit5keptical | fuotbvs | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>why does this have a java flair? and this just looks like some fairly normal minified js, but with some spaces added. definitely not written by a human. I had never seen the use of commas inside the parens for an if sta... | 8 |
programminghorror | BimphyRedixler | fuodsgu | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>Low effort post.<|eor|><|sor|>If they got this mousepad as a gift, this is sharing something notable straight from real life? I don't think this is very low effort.<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | iliekcats- | fup8n1j | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>JAVA IS TO JAVASCRIPT AS HAM IS TO HAMSTER<|eor|><|eols|><|endoftext|> | 7 |
programminghorror | talbenari1 | fuo47x1 | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>why does this have a java flair? and this just looks like some fairly normal minified js, but with some spaces added. definitely not written by a human. I had never seen the use of commas inside the parens for an if sta... | 7 |
programminghorror | McPqndq | funtd53 | <|sols|><|sot|>Birthday present I received<|eot|><|sol|>https://i.imgur.com/Ezy98PE.jpg<|eol|><|sor|>why does this have a java flair? and this just looks like some fairly normal minified js, but with some spaces added. definitely not written by a human. I had never seen the use of commas inside the parens for an if sta... | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.