|
No semicolons! Hooray! No visual clutter or hard to remember things to place! ..Except if you want to go to a newline use uhhh... oh, an arrow! "->". Oh and operators too I guess need them. So make operators work the same as an arrow. But only if you end the line with them. Oh and what about function declarations.. eh who cares just put a slash on the end. Huh? Scopes without a statement in front of them? Whatever just shove more slashes in!!! Easy to remember! Simple rules!
|
# ? May 9, 2014 05:40 |
|
|
# ? May 16, 2024 13:50 |
|
Basically when people claim that randomly shuffling around punctuation marks makes a language clearer or simpler they should lose keyboard privileges.
|
# ? May 9, 2014 05:49 |
|
I just realised in the code sample they posted: Example for their language: C++ code:
C++ code:
C++ code:
Jewel fucked around with this message at 05:59 on May 9, 2014 |
# ? May 9, 2014 05:53 |
|
I just wish people used the auto keyword responsibly.
|
# ? May 9, 2014 05:57 |
|
Jewel posted:Edit: vvv Oh yeah, they have an "auto" return type. That's absolutely garbage.
|
# ? May 9, 2014 06:14 |
|
Zemyla posted:That's actually a feature being added to C++14. It works if every return is the same type. Yes, I didn't mean "their language" has the return type, I meant "their code". It's garbage. "Auto" return is horrifying from a code perspective imo since you can't tell what a function returns without working out the return type (and if the return type is another method that returns auto, have fun!), and I wouldn't think any code reviewers would let anyone use it in professional code.
|
# ? May 9, 2014 07:07 |
|
Harik posted:Anyway, I tried rxvt-unicode but it can't handle (╯°□°)╯︵ ┻━┻ properly, and as an IRC native that just wouldn't do. Works for me. :-/ quote:Also the font-support is weird, if I specified multiple fonts it put them in huge boxes: Fontconfig giveth and fontconfig taketh away.
|
# ? May 9, 2014 07:24 |
|
Can I add everything with the word "delightful" in its GitHub description to this thread?Internet Janitor posted:It does preserve the directory you were in, but the other stuff kinda sucks. Where is this secret switch located? I'm always dumped back at ~.
|
# ? May 9, 2014 07:41 |
|
Jewel posted:Yes, I didn't mean "their language" has the return type, I meant "their code". It's garbage. "Auto" return is horrifying from a code perspective imo since you can't tell what a function returns without working out the return type (and if the return type is another method that returns auto, have fun!), and I wouldn't think any code reviewers would let anyone use it in professional code. The horror is coming from inside the house! If you aren't using an IDE or editor that gives you realtime intellisense feedback about auto/var types then you're using the wrong one. Every argument I've ever heard against compiler inferred types has turned out to be a non-issue in my experience.
|
# ? May 9, 2014 07:52 |
|
Ender.uNF posted:The horror is coming from inside the house! Yeah, if you can't mouse over a variable and get something reasonable like std::unordered_map<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::basic_string<char, std::char_traits<char>, std::allocator<char>>>, you should switch to something else.
|
# ? May 9, 2014 08:09 |
|
pokeyman posted:Can I add everything with the word "delightful" in its GitHub description to this thread?
|
# ? May 9, 2014 08:09 |
|
pokeyman posted:Can I add everything with the word "delightful" in its GitHub description to this thread? pokeyman posted:Where is this secret switch located? I'm always dumped back at ~.
|
# ? May 9, 2014 09:20 |
|
I'm just gonna leave this here and let you pick your own horrorscode:
|
# ? May 9, 2014 09:25 |
|
het posted:I've never had to do anything that I can recall, each tab is restored in the same directory. Oh, it's my fault (surprise) for using zsh.
|
# ? May 9, 2014 09:28 |
|
chippy posted:I'm just gonna leave this here and let you pick your own horrors That can't be real.
|
# ? May 9, 2014 11:51 |
|
Hmm I wonder what album he was listening to when writing that monstrosity.
|
# ? May 9, 2014 13:21 |
|
Voted Worst Mom posted:http://cpprocks.com/what-if-c-looked-more-like-python-or-coffeescript/ The worst part of this is the horrendously inconsistent indentation
|
# ? May 9, 2014 14:28 |
|
Ender.uNF posted:The horror is coming from inside the house! Stop saying this for dumb arguments.
|
# ? May 9, 2014 14:55 |
|
pokeyman posted:Oh, it's my fault (surprise) for using zsh.
|
# ? May 9, 2014 16:01 |
|
Westie posted:That can't be real. Sadly it is not only real but it is part of a much larger project which is equally bad throughout and which I have to maintain and extend. And I only get enough time to hastily bolt stuff on rather than doing any sort of meaningful refactoring or restructuring. Although I have at least managed to squeeze in a DAL/ORM-lite using Dapper in the areas I've worked on. And this is my first real dev job (I used to be in testing and test automation) and I haven't done WinForms stuff before so don't necessarily know the right way of doing things myself, only that this is horrible. And I have sole responsibility for it now. Luckily the other main thing I work on is a ASP.NET MVC application in C# and, more importantly, is written by a relatively sane person who is a proper developer. The difference really is night and day. chippy fucked around with this message at 16:07 on May 9, 2014 |
# ? May 9, 2014 16:04 |
|
chippy posted:I'm just gonna leave this here and let you pick your own horrors chippy posted:And this is my first real dev job.
|
# ? May 9, 2014 16:54 |
|
In all fairness, the guy who wrote it is aware that it's terrible, doesn't consider himself a coder, and has nothing to do with our dev work any more so at least I can take the piss out of him for it and he's quite happy for me to rip out and replace his stuff (when I have the time). On the other hand, this thing is actually running a factory and of course I take the flak for anything that goes wrong with it. And I'm not that experienced so there's probably some horrors of my own in there, but at least I know I can only be improving the average.
|
# ? May 9, 2014 17:59 |
|
Code that makes me laugh, just cause I like saying it out loud:Objective-C code:
|
# ? May 9, 2014 19:51 |
|
lord funk posted:Code that makes me laugh, just cause I like saying it out loud: Don't hate the layer, hate the game.
|
# ? May 9, 2014 20:06 |
|
I swear to god read aloud that's the intro to YYZ.
|
# ? May 9, 2014 20:34 |
|
gently caress them posted:I swear to god read aloud that's the intro to YYZ.
|
# ? May 9, 2014 20:46 |
Here's the song that matches the lyrics: https://www.youtube.com/watch?v=UhQue5DpYoU (probably due to pole dancing and lovely dubstep)
|
|
# ? May 9, 2014 21:32 |
|
chippy posted:I'm just gonna leave this here and let you pick your own horrors No words. Should have sent a poet.
|
# ? May 9, 2014 22:12 |
chippy posted:I'm just gonna leave this here and let you pick your own horrors Put in your two years and .
|
|
# ? May 9, 2014 22:20 |
|
chippy posted:In all fairness, the guy who wrote it is aware that it's terrible, doesn't consider himself a coder, and has nothing to do with our dev work any more so at least I can take the piss out of him for it and he's quite happy for me to rip out and replace his stuff (when I have the time). Don't stand too close to the machines!
|
# ? May 10, 2014 01:15 |
|
Flak in this case is not actually a metaphor.
|
# ? May 10, 2014 01:43 |
|
chippy posted:On the other hand, this thing is actually running a factory and of course I take the flak for anything that goes wrong with it. Are the error messages great? I bet the error messages are really great.
|
# ? May 10, 2014 01:50 |
|
The guy I have to work with got upset again because I dared put in a PR that changes a "unique" function to actually uniquify an object instead of doing nothing.
|
# ? May 10, 2014 02:43 |
|
Not really a "coding horror" per se, but I found out today that our hardware tracking system has entries for a bunch of random bash scripts, thinks like "test.sh" and "my_script.sh", no file paths or where the script is hosted or even a description of what the script does. It's like layer upon layer of bad practices. I bet that if we ever find and open these scripts they'll be full of all sorts of stupid poo pooPlorkyeran posted:I'm always sort of amused by the fact that OS X has better terminal emulators than Linux. That's because the terminal that comes with OS X is garbage, whereas most Linux terminals are pretty good by default
|
# ? May 10, 2014 07:18 |
|
Here's my contribution from a wee while back (don't think I've posted it yet). This was written by an end user over the course of several years, who left the company a week after I joined for some temp work. If this system breaks, the whole site goes down. There is no naming convention logic I can find, and there are literally hundreds of these scripts in the system, all arranged like this.
|
# ? May 10, 2014 12:32 |
|
Ego Trip posted:Put in your two years and . Think I could get away with one?
|
# ? May 10, 2014 14:11 |
|
pokeyman posted:Oh, it's my fault (surprise) for using zsh. You probably need to hook up the escape sequences that let Terminal.app know what the current directory is for any given tab. My .zshrc has the following: code:
|
# ? May 10, 2014 14:23 |
|
Fullets posted:You probably need to hook up the escape sequences that let Terminal.app know what the current directory is for any given tab. That does it!
|
# ? May 11, 2014 00:16 |
chippy posted:Think I could get away with one? If this was an internal move from T&A, then you can go now. No need to tell anyone when you became a dev. If not, then ehhhh. Two years is just my benchmark for when you look less like a job hopper and more like someone that found themselves ready to move on.
|
|
# ? May 11, 2014 00:23 |
|
|
# ? May 16, 2024 13:50 |
|
Ego Trip posted:If this was an internal move from T&A, then you can go now. Excuse me?
|
# ? May 11, 2014 02:23 |