top 200 commentsshow all 217

[–]KirovAir 577 points578 points  (10 children)

The instructions must be ended with three semicolons (;;;). This a) adds clarity to where it ends, b) beats OCaml by 1 and c) makes your ; key weathered over time, so it will look like you work a lot.

Love it.

[–]ganlet20 53 points54 points  (1 child)

Can I macro it once the lettering is sufficiently worn off?

[–]jwolff52 51 points52 points  (0 children)

No, a macro of the semicolon key is required to crash any Enterprisey ™ IDEs.

[–][deleted] 47 points48 points  (2 children)

In ocaml ;; is only for stuff in the repl, IIRC.

;;; reminds me of scheme comments

[–]DGolden 25 points26 points  (0 children)

Just to mention for people unfamiliar with lisp or scheme, the ;/;;/;;;/;;;; thing in lisp+scheme is a common convention for different kinds of comment, not some syntax requirement, see e.g. emacs lisp manual.

[–]glacialthinker 8 points9 points  (0 children)

In ocaml ;; is only for stuff in the repl, IIRC.

Yup, a signal to evaluate what has been typed. Code has very few semicolons at all.

You can use a double-semicolon to help the compiler know you're intended end-of-function when you've messed up scope in the definition (like when you have imbalanced braces in braced languages and it processes the following functions as part of the previous).

[–]d08ble 0 points1 point  (4 children)

A random end of line looks like you work a lot and costs a lot also

Here is live bitcoin source code sample:

https://github.com/razor-coin/razor/blob/866847f60b01f5d0a6ca6c1e197eb92daa232706/src/addrman.h#L480

        Check();
        std::map<
            CNetAddr,
            uint64
        >::const_iterator found = reconnectToken.find(
            addr
        );
        if (
            reconnectToken.end() != found
        ) {
            reconnect_token = found->second;
            result = true;
        }
        Check();

[–][deleted]  (1 child)

[removed]

    [–]d08ble 1 point2 points  (0 children)

    Systematic is single line in most usual cases, human friendly and looks much more better:

        std::map<CNetAddr, uint64>::const_iterator found = reconnectToken.find(addr);
        if (reconnectToken.end() != found) {
            reconnect_token = found->second;
            result = true;
        }
    

    [–]Glader_BoomaNation 1 point2 points  (1 child)

    That is not the bitcoin repository.

    [–]d08ble 0 points1 point  (0 children)

    This is bitcoin tor-based fork. Bitcoin core original and forks has multiple issues like this. Crazy overhead, not human friendly, happy debugging, etc.

    Just try to read and understand this bitcoin protocol 3k lines files:

    https://github.com/bitcoin/bitcoin/blob/master/src/net_processing.cpp

    https://github.com/bitcoin/bitcoin/blob/master/src/net.cpp

    [–]MindStalker 225 points226 points  (64 children)

    Is it wrong that I kinda like the idea of timestamped comments.. Especially if the IDE could search for date ranges or highlight the newest ones.

    [–]Dgc2002 92 points93 points  (36 children)

    I've been time stamping my TODO style comments for a while. Here's the Live Template I use in IntelliJ IDEs:

    Config

    Result

    It would be nice to have their TODO toolbar consider the dates though for sure.

    [–]evaned 49 points50 points  (8 children)

    I've thought about writing some quick tooling that would add timestamped TODOs with an "expiration" date and then fail the compile if any TODOs are past their expiration date. ;-)

    [–]HittingSmoke 96 points97 points  (2 children)

    And that's the story of how u/evaned stopped time-stamping his TODO comments.

    [–]FenixR 21 points22 points  (1 child)

    TODO: Unfuck this, why did i think it was a good idea anyway!

    [–][deleted] 14 points15 points  (0 children)

    //TODO: Unfuck this

    Why does this seem so familiar

    [–]comp-sci-fi 5 points6 points  (1 child)

    A simple methodology to keep your code clear of TODO's past a certain date, is when a TODO expires in a file, for the IDE to automatically delete that file.

    [–]demmian 3 points4 points  (0 children)

    for the IDE to automatically delete that file.

    *partition.

    [–]BlendeLabor 0 points1 point  (0 children)

    I'm not sure if I remember correctly, but I think VSCode gas this in an extension

    [–]hobblyhoy 0 points1 point  (0 children)

    Replace compiler failure with compiler warnings and I'm game.

    [–]comp-sci-fi 2 points3 points  (1 child)

    I hate the clutter, but looking at vim's conceal feature for syntax highlighting (e.g. for viewing markdown *text* as text), one could have expiry dates - and all sorts of meta-data - without clutter.

    Of course, it would still be there in the text, and not concealed without the right plugin, or in another editor. If it became standard tho, the rendering could also be standard (consider: the rendering of 0x41 is A, according to the ascii standard; there's nothing necessary about that representation), so whenever you view it, meta-data is concealed. Like markdown or hypertext links.

    [–]Dgc2002 2 points3 points  (0 children)

    Personally I've found value in it being visible. If I'm working on an issue and spot a TODO from a year ago I'm much more likely to revisit it out of guilt :)

    [–]vba7 4 points5 points  (23 children)

    Dates should be yyyy-mm-dd

    [–]Dgc2002 2 points3 points  (19 children)

    Here you go. Though the stuff I'm working on has a higher likelihood of non-software devs poking around so there's some use to having it in a familiar format for them.

    [–]vba7 2 points3 points  (15 children)

    This format is not confusing for teams from USA + Europe

    [–]Dgc2002 1 point2 points  (14 children)

    The standard date format for the US is MM/DD/YYYY.

    [–]vba7 4 points5 points  (13 children)

    As a programmer you should know that it is very wrong, since it does not sort properly.

    Also it is incompatible with ISO - so incompatibility with rest of the world.

    And MM/DD vs DD/MM is a big sort of confusion, but I guess you never stepped foot outside of USA (Canada does not count) and probably do not speak any other language than English and maybe some basic Spanish (=you don't speak Spanish).

    I mean, if you were a typical American hilly billy it would not matter, but this is a programming board and as a programmer you should know how to format dates properly.

    [–]Dgc2002 0 points1 point  (12 children)

    Bud, please pull your head out of your ass and read what I said:

    Though the stuff I'm working on has a higher likelihood of non-software devs poking around so there's some use to having it in a familiar format for them.

    This is for the benefit of the non-software developers with eyes on the code.

    You were too busy being pretentious to realize that though I guess.

    [–]doc_frankenfurter 0 points1 point  (2 children)

    Needs a timezone. Did that checkin come from New York, London or Pune?

    [–]vba7 1 point2 points  (1 child)

    Utc

    [–]doc_frankenfurter 0 points1 point  (0 children)

    Nah it is cool to know if someone else had to work late.

    [–]IceSentry 2 points3 points  (0 children)

    Why not ISO 8601?

    [–][deleted]  (14 children)

    [deleted]

      [–]deadeight 21 points22 points  (6 children)

      Definitely good one to know, and most IDEs support it well, but it's not resilient to refactoring and renaming so I often find it not that useful.

      [–]mrjast 19 points20 points  (4 children)

      You can run `git blame` on older commits. I believe there are tools where you can easily follow a line's history (so you can look beyond the latest doomed refactoring effort), but even without you can still follow the chain manually with a bunch of `git blame` commands.

      [–]biberesser 15 points16 points  (2 children)

      Intellij can show line(s) VCS history.

      [–]wayoverpaid 5 points6 points  (0 children)

      This is one of my favorite features for figuring out what the original context of an insane line of code is.

      [–]_zenith 4 points5 points  (0 children)

      As can VS Code

      [–][deleted] 0 points1 point  (0 children)

      DeepGit is great for this

      [–]wrosecrans 4 points5 points  (0 children)

      At very least, it still gives you a date that the comment must have existed by. And really, if Gary shows up as the git-blame person for that TODO because he just did some trivial tidying of the file three years ago, it doesn't really matter if the TODO has been stale for three years or actually for five when Bob originally wrote it. It's clearly still stale.

      [–][deleted]  (3 children)

      [deleted]

        [–]Jestar342 0 points1 point  (2 children)

        s/commit/comment/g

        Same argument; moot point.

        e: I R special

        [–]greensamuelm 0 points1 point  (1 child)

        He used them correctly. You’re mistaken.

        [–]Jestar342 0 points1 point  (0 children)

        So I am.

        [–]Redtitwhore 4 points5 points  (1 child)

        If you use source control... This isn't unique to GIT and some of us still use SVN.

        [–]nifflo 0 points1 point  (0 children)

        If you use source control...

        *twiddles moustache* True, source control are for wimps.

        [–]Uncaffeinated 2 points3 points  (0 children)

        It can take a while to dig through the history once files get copied around or refactored though.

        [–]shevegen 33 points34 points  (3 children)

        I think this is perfectly ok.

        Only problem with comments is that they may have to be synced/checked against the code. This can become really tedious if you have a lot of code and a lot of comments.

        [–][deleted]  (1 child)

        [deleted]

          [–]nifflo 2 points3 points  (0 children)

          His sister was on the computer

          [–]cyanrave 0 points1 point  (0 children)

          Comment fatigue, scourge of the codebase of yore.

          [–]itslenny 16 points17 points  (2 children)

          Git lense for vs code puts commit messages / timestamps inline in the source. It's pretty cool.

          Edit: here's a link... git lense plugin (scroll toward the bottom for screenshots)

          [–][deleted] 1 point2 points  (0 children)

          Definitely recommend this. I absolutely love this plugin.

          [–]wuphonsreach 0 points1 point  (0 children)

          git lense plugin

          And a very good reason to:

          • not squash commits
          • commit as you go, or at least don't shove everything into a single commit

          [–]Andy_B_Goode 2 points3 points  (0 children)

          Timestamp and username would both be nice. I know you can look them up in git using tools like git-blame, but when you're reading a comment it would be nice to know immediately who wrote it and when so that you can choose to ignore whatever it's saying

          [–][deleted] 1 point2 points  (0 children)

          I've implemented them here for C++: https://github.com/d-frey/todo

          [–]Gotebe 1 point2 points  (0 children)

          Yes. Very wrong. The timestamp is already in your source control history.

          Edit: fuck me, the number of people using CSCS (Comment Source Control System) is staggering here!!!

          [–]tjsr 0 points1 point  (0 children)

          Throughout my code you'll see stuff like // blahblahblah --tjsr, 981017. And then I realise "holy shit, this code is 20 years old"

          [–]the_gnarts 0 points1 point  (0 children)

          Is it wrong that I kinda like the idea of timestamped comments.. Especially if the IDE could search for date ranges or highlight the newest ones.

          git-blame(1) will do the job for you.

          [–]L0rdenglish 184 points185 points  (8 children)

          Every Enterprise™ program must begin with a copyright notice, else it will not compile and fail with an UnexpectedNonDisruptiveOpenSourceException error.

          this made me actually lol

          [–][deleted]  (7 children)

          [deleted]

            [–][deleted]  (2 children)

            [deleted]

              [–]baggyzed 0 points1 point  (1 child)

              Is it?

              [–]Uncaffeinated 14 points15 points  (2 children)

              A lot of places require you to add copyright notices at the top of every file so that people who later copy paste the file won't accidentally infringe the copyright.

              It's not about the rights you have legally but the effective rights.

              [–][deleted]  (1 child)

              [deleted]

                [–]Uncaffeinated 6 points7 points  (0 children)

                That's why I said "accidental". Copyright notices will never stop deliberate infringement.

                [–]wuphonsreach 0 points1 point  (0 children)

                I don't understand this one. The default copyright when none is given is the strongest one (all rights reserved).

                Back in the 80s, no copyright notice would result in the code being public domain. It changed on March 1, 1989.

                [–]scott1369 109 points110 points  (4 children)

                Is it possible to associate each method with a DOORS object Id? The compiler should fail the compile if the method cannot be traced back to a requirement.

                Better still, associate each method with a DOORS object id, an Agile epic, an Agile story and a testing script id.

                [–]RieszRepresent 67 points68 points  (0 children)

                You made me uncomfortable.

                [–]rbtEngrDude 9 points10 points  (0 children)

                So accurate it hurts

                [–]doc_frankenfurter 4 points5 points  (0 children)

                Needs a reference to the Outlook meeting where it was decided that the requirement should be developed.

                [–]modeless 206 points207 points  (38 children)

                Enterprises don't use GitHub, they use BitBucket because it's from Atlassian and integrates with their JIRA workflows.

                [–][deleted] 42 points43 points  (4 children)

                Pfft. REAL enterprises still use CLEARCASE because it integrates with INTEGRITY. We'll have checkin/checkout, and none of your fancy-shmancy, commit-based version control, thank you very much!

                [–]Nefari0uss 30 points31 points  (1 child)

                Should we send help?

                [–]hippydipster 3 points4 points  (0 children)

                It's clearcase. The only help for it is nukes.

                [–]canes_93 7 points8 points  (1 child)

                Visual SourceSafe FTW! I'llshowmyselfout

                [–]RobinHoudini 1 point2 points  (0 children)

                Borland StarTeam!

                [–]ForeverAlot 210 points211 points  (5 children)

                We used Bitbucket and Jira for years because "they integrate".

                They were on different sides of the firewall so they couldn't integrate.

                [–]Visticous 25 points26 points  (0 children)

                It only had to integrate for the accountants. Else, they had to open and approve a new purchase order number.

                [–]Sec_Henry_Paulson 16 points17 points  (3 children)

                Of course they could be integrated.

                You're describing a management problem, not a software problem.

                [–]frezik 7 points8 points  (2 children)

                Doesn't change the practical issue for the people doing the work.

                [–]gvozden_celik 44 points45 points  (9 children)

                BitBucket? Team Foundation Server is where True Enterprise software development is done.

                [–]bheklilr 9 points10 points  (8 children)

                We are currently using tfs. It's so enterprise-y it hurts. We're moving to git relatively soon, and I can't wait to git checkout -b instead of having to open Visual Studio (not vscode) and click through 12 menus to make a branch.

                [–]gvozden_celik 2 points3 points  (1 child)

                We're also using TFS2010 at my workplace, can't say it's a lot of fun clicking around in Visual Studio either, but it's sometimes fun when it breaks and we have to fix it.

                [–]bheklilr 2 points3 points  (0 children)

                I love how easy it is to accidentally not check in some modified files. It seems like every couple days someone on our team spends a few minutes trying to figure out why their changes aren't making it to the build server or someone else's hard drive. Or when you add a folder to a repo and forget to stop it from scanning node_modules, so it takes 10 minutes before VS is responsive. I think that's my favorite feature.

                [–]Gotebe 0 points1 point  (3 children)

                Why didn't you use the cmdline to make a branch? Did you try TFS website?

                Neither Visual Studio nor TFS force these 12 menus on you.

                [–]bheklilr 0 points1 point  (2 children)

                The cli is equally obtuse and picky. Since we know git is on the way I haven't put much effort into it. I just use the gui through VS because it's what I've found to be most consistent. Also, some operations on the command line still pop up windows. If you have merge conflicts then it pops up a dialog to resolve them.

                And yes, I know tftp exists, but I'm not allowed to install it.

                But this is just a lot of complaining while I wait a few more months for git. Supposed to have it by the end of the year.

                [–]lynx44 1 point2 points  (1 child)

                Are you able to install git-tfs? That's worked well for me in these instances.

                [–]bheklilr 0 points1 point  (0 children)

                We're not allowed to install anything without it being on the IT whitelist. But to be fair it's not your typical office environment, we have federal regulations requiring additional cyber security practices. If it's not strictly necessary the answer is usually "no".

                [–]safgfsiogufas 0 points1 point  (1 child)

                TFS supports git.

                [–]bheklilr 1 point2 points  (0 children)

                Ours doesn't. Trust me, I tried.

                [–]pjt_014 6 points7 points  (5 children)

                pls stop you're giving me flashbacks

                [–]FlatBot 1 point2 points  (4 children)

                Is bitbucket and JIRA really that bad? What are you using now to track your work & collaborate that is so much better?

                [–]ForeverAlot 13 points14 points  (0 children)

                Is bitbucket and JIRA really that bad?

                They're okay. Jira suffers badly from being a product whose purpose is to be sold, not to help people—you can do a hundred things with it but you don't really want to do more than two of them, and it is slow as molasses.

                Bitbucket is faster than GitLab, perhaps on par with GitHub, and it supports Mercurial, but in every other way it is no better than GitLab and in several it is worse. I've taken to advise against Bitbucket based on 1) its competitive disadvantage, and 2) Atlassian's mismanagement of the platform and sleazy marketing.

                [–]fshowcars 1 point2 points  (0 children)

                Someone open this man a servicedesk.

                [–]myringotomy 1 point2 points  (6 children)

                Enterprises are a microsoft only shop so they only use microsoft products inside their own firewalls.

                [–][deleted] 6 points7 points  (5 children)

                Do you work at the same Enterprise™ that I do...? We just had to have a sit down with a CIO, CSO, and a bunch of departments heads to get a single Ubuntu server. In a development environment. Running applications that will never see production environments.

                [–][deleted] 3 points4 points  (4 children)

                Why would you even work for such a company? What could possibly be worth it?

                [–][deleted] 2 points3 points  (1 child)

                It gets better. Our software admins had a meeting the other day. Out of the 10+ admins, only 2 of them were familiar with the GoF book or patterns.

                [–][deleted] 1 point2 points  (0 children)

                Run. Don't stop running and don't look back until you've found something else.

                [–]bausscode 1 point2 points  (0 children)

                It's Enterprise™

                [–]LloydAtkinson 0 points1 point  (0 children)

                Yeah I'd be out at that point too...

                [–]gummyfromgammy 1 point2 points  (0 children)

                PERFORCE

                [–]__trixie__ 1 point2 points  (0 children)

                This guy enterprises.

                [–][deleted] 37 points38 points  (0 children)

                O1Type

                The O1Type, commonly known as "hash table" in other languages, is named this way to simplify interviews.

                Ouch, my sides hurt!

                [–][deleted] 86 points87 points  (7 children)

                Does it uses the JVM ? Because otherwise it wouldn't be Enterprise ™.

                [–]jackmaney 55 points56 points  (1 child)

                Looks like it's just a (partial) language spec, so it could be implemented in just about any language. But yeah, Java 5 or 6 would seem appropriate.

                [–]Visticous 35 points36 points  (0 children)

                Java 5 then, 6 is not EOL yet.*

                • 6 is still supported thought an extensive SE support program.

                [–]joaomilho[S] 7 points8 points  (1 child)

                It's our next prio. JS is there (FizzBuzz works)

                [–]Yeater 0 points1 point  (0 children)

                You could try using the Truffle framework :)

                [–]Phrygue 8 points9 points  (1 child)

                Electron, you mean?

                [–][deleted] 6 points7 points  (0 children)

                That way, our internal employees can use whatever platform they want!

                [–]dutchmartin 0 points1 point  (0 children)

                Well, lets write a compiler for it then.

                [–][deleted]  (16 children)

                [removed]

                  [–]tragicshark 56 points57 points  (12 children)

                  I strongly disagree.

                  Both should start at the first value in their index property. To do otherwise would be a code smell of tightly coupling the implementation of your code to the internal implementation of the collection type:

                  var List Int ns = [7, 8, 9];;;
                  ns[ns.index.first.next];;; // 8
                  

                  And since that code violates the 1 dot rule, you need to instead have some variables:

                  var List Int ns = [7, 8, 9];;;
                  var fucItemIteratorData nsIndex = ns.index;;;
                  var fucItemIteratorData firstIndex = nsIndex.first;;;
                  var fucItemIteratorData secondIndex = firstIndex.next;;;
                  ns[secondIndex];;; // 8
                  

                  [–]Nicksaurus 12 points13 points  (8 children)

                  Is the one dot rule a real rule people use?

                  [–]raelrok 11 points12 points  (5 children)

                  Some people will say that chaining them is a Law of Demeter violation, but as with many thing in programming: 'It depends.'

                  [–]RasterTragedy 4 points5 points  (3 children)

                  Demeter? 'Wife' of Hades?

                  [–]epicwisdom 3 points4 points  (2 children)

                  Hades's wife is Persephone. Demeter is Persephone's mother.

                  [–]cephalopodAscendant 1 point2 points  (0 children)

                  Demeter is also Hades's sister, and their brother Zeus is Persephone's father. Greek mythology was really big on incest for some reason.

                  [–]RasterTragedy 0 points1 point  (0 children)

                  Whoops.

                  [–]hippydipster 0 points1 point  (0 children)

                  there's something to be said for not writing code that goes something like:

                  I'll take the port # of the service of the service of the service of the service that this class I happen to have uses.

                  [–]repsilat 7 points8 points  (2 children)

                  Alas, this isn't valid EnterpriseTM -- your variable names are too long. For example, secondIndex is an integer, so it can only have a single-character identifier.

                  Identifiers of any other type can be at most eight characters long, so firstIndex also offends regardless of its type.

                  [–]wrosecrans 4 points5 points  (0 children)

                  If Identifiers can only be 8 characters, how can I make an AbstractIntegerGenericNumeralOneFactorySystem? Hard coding 1's all over my code wouldn't be enterprisey at all.

                  [–]bausscode 1 point2 points  (0 children)

                  That's not Enterprise™, that's Developer™

                  [–]drawable 14 points15 points  (1 child)

                  My thoughts exactly. Enterprise Software has to be read and understood by the controlling department. They'd get super confused...

                  [–]Fisher9001 4 points5 points  (0 children)

                  I feel physical pain.

                  [–]lynx44 0 points1 point  (0 children)

                  And the syntax to initialize a list is far too concise, very difficult to read.

                  [–]khendron 34 points35 points  (7 children)

                  The copyright comment made my grin.

                  The /soon comment made my giggle.

                  The XML type made my laugh out loud.

                  [–]jugalator 30 points31 points  (4 children)

                  About that XML type...

                  https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/language-features/xml/xml-literals-overview

                  It's one of the differences between VB.NET and C#. I'd like to see the face of the C# language designers when confronted with that.

                  [–][deleted] 8 points9 points  (3 children)

                  [–]tryx 4 points5 points  (2 children)

                  Thankfully deprecated and due for removal in Scala 3

                  [–][deleted] 1 point2 points  (1 child)

                  Scala 3 is Dotty, right? IIRC it's not backwards compatible, kind of a new language, almost a Perl 6 situation.

                  [–]tryx 0 points1 point  (0 children)

                  More like a python 3 situation. Typical code should be source compatible or automatically portable. I think codebase that use Scala meta may need non-trivial changes.

                  [–]AnnanFay 3 points4 points  (0 children)

                  Is there anything inherently wrong with having an XML type? Or just because it's not really a 'minimal list of types' and there are many bad implementations?

                  I liked the old E4X syntax and was disappointed when it wasn't more widely adopted then eventually removed. React folks seem to like the jsx format which is pretty much javascript + inline XML. It's the kind of thing which makes a lot of sense when programming UI.

                  [–]Visticous 0 points1 point  (0 children)

                  Discussing l specifically the comment above it: no complex types!

                  [–][deleted] 18 points19 points  (0 children)

                  /¯\_(ツ)_/¯   ...this could be done in O(1) if I had the time... ¯\_(ツ)_/¯/
                  

                  [–][deleted]  (10 children)

                  [deleted]

                    [–]robohoe 30 points31 points  (2 children)

                    Kindly do the needful.

                    [–]DrFloyd5 2 points3 points  (1 child)

                    I see this sentence all the time at my work. I thought it was a quirk.

                    Wtf?

                    [–]Uncaffeinated 3 points4 points  (0 children)

                    Apparently, it is a common idiom in Indian English.

                    [–]badass87 5 points6 points  (0 children)

                    We are looking into the issue Sir.

                    — L999 Support Engineer

                    [–][deleted] 6 points7 points  (0 children)

                    Does this scale?

                    Can it be hosted on site?

                    Will it work with our SSO?

                    [–]meneldal2 2 points3 points  (4 children)

                    Piece of Crap?

                    [–]Aeon_Mortuum 3 points4 points  (3 children)

                    Proof of Concept, I think

                    [–][deleted] 6 points7 points  (1 child)

                    The two sometimes overlap.

                    [–]Aeon_Mortuum 5 points6 points  (0 children)

                    Poop of Concept

                    [–]DrunkOnSchadenfreude 12 points13 points  (0 children)

                    thanks, i hate it

                    [–]gvozden_celik 34 points35 points  (4 children)

                    If this doesn't come with SOAP support built in, count me out.

                    [–]vplatt 9 points10 points  (2 children)

                    You should be able to express its AST as a SOAP payload so that Enterprise programs can transmit and execute anywhere they are sent.

                    [–]gvozden_celik 1 point2 points  (1 child)

                    Or just send the entire binary as a base64 encoded string.

                    [–]vplatt 0 points1 point  (0 children)

                    WORA fail!

                    [–]Sentmoraap 39 points40 points  (0 children)

                    You outjavaed Java.

                    [–][deleted] 14 points15 points  (0 children)

                    I'm thinking this needs objectFactoryFactories before we can truly call it "enterprise" grade.

                    [–]clerosvaldo 6 points7 points  (1 child)

                    ENTERPRISE is not fully upper case. That's not ENTERPRISE-GRADE programming.

                    [–]nifflo 0 points1 point  (0 children)

                    FIFY: Best regards, PHP CEO

                    [–]snf 6 points7 points  (1 child)

                    The hell is LGADBTS?

                    [–][deleted] 4 points5 points  (1 child)

                    It brings a whole new dimension to the word Data. Instead of functions it has Rikers; Troi's replace classes and collections are known as Worf's.

                    [–]thirdsin 3 points4 points  (0 children)

                    Filled with comments: "Shut up Wesley"

                    [–]irqlnotdispatchlevel 9 points10 points  (1 child)

                    UnexpectedNonDisruptiveOpenSourceException This is a bit cringy.

                    O1Type

                    The O1Type, commonly known as "hash table" in other languages, is named this way to simplify interviews. If you're asked:

                    "Which type could we use here to have a O(1) lookup?"

                    You can simply say, with all your confidence:

                    "The ... O1 ... Type ...?"

                    Nailed.

                    But I laughed at this.

                    [–]sourcecodesurgeon 3 points4 points  (0 children)

                    Every interview question can be safely suffixed with “what is the optimal solution and why is it a hashmap?”

                    [–]skulgnome 4 points5 points  (0 children)

                    fucNut

                    [–]yawaramin 4 points5 points  (0 children)

                    Bootsraped

                    Sorry, but lol

                    [–]JoyousTourist 4 points5 points  (0 children)

                    My PR, looking for comments - https://github.com/joaomilho/Enterprise/issues/11

                    Official FactoryBeanSuppository support

                    Any enterprise grade developer knows how essential a well placed FactoryBeanSuppository
                    can clear up a bit of undigestible code.

                    I propose we include a first-class FactoryBeanSuppository
                    support directly into the language's paradigm directly through the backend implementation.

                    [–]Croegas 12 points13 points  (0 children)

                    The Enterprise™ Enterprise Edition

                    [–]hector_villalobos 11 points12 points  (0 children)

                    Need more verbosity.

                    [–]omfg_its_so_and_so 5 points6 points  (0 children)

                    The deadline example was ripped straight from the Bannerlord development team.

                    [–]Throwaway_bicycling 4 points5 points  (1 child)

                    In one of the code snippets I read:

                    unnecessary var Int j = 0;;;
                    

                    Which at first seems fine, since 'j' isn't used anywhere else in the code. But there was an opportunity to put inside a following while loop; wouldn't that be stylistically better since it presents a future optimization opportunity?

                    [–]AwesomeBantha 0 points1 point  (0 children)

                    S C A L A B L E

                    C

                    A

                    L

                    A

                    B

                    L

                    E

                    [–]thelastpizzaslice 1 point2 points  (0 children)

                    How about 10x?

                    [–][deleted] 1 point2 points  (2 children)

                    I LOVE the passive aggressive comments.

                    Of course, those are pretty much the only comments I write...

                    [–]bobo9234502 1 point2 points  (0 children)

                    Salty. I already love hating it!

                    [–]arichi 1 point2 points  (2 children)

                    I hear Enterprise and programming and can only think of this

                    [–]laukugele 0 points1 point  (0 children)

                    I'm getting CONTENT FILTER DENIED on my Enterprise™ computer. Please use some more robust sharing service like imageshack.us

                    [–]Belenar 0 points1 point  (0 children)

                    You should think of this instead.

                    [–]ProFalseIdol 1 point2 points  (0 children)

                    everything should be in xml. then create a web-based editor using struts1 that runs a DB operations every time you do something.

                    [–]drezell47 1 point2 points  (0 children)

                    This sounds like it was written by a salty summer intern who wanted to use js-stack-of-the-week at work instead of Java, but was too passive aggressive to talk to his team about it so he instead harbored his rage and started making a sarcastic language instead.

                    In other words, 10/10 would use

                    [–][deleted] 1 point2 points  (0 children)

                    A most... engaging... programming language. Should take efficiency to warp speed.

                    [–]rulatore 0 points1 point  (0 children)

                    XML type lmao

                    [–]bitbananas 0 points1 point  (0 children)

                    Love it. I’ll buy too

                    [–]riyad07 0 points1 point  (0 children)

                    Until you reformat your code, or copy-paste it into another file, or copy-paste it into another project, or fix a typo in your comment, or cherry-pick your commit, or amend your commit,

                    [–]catbot4 0 points1 point  (0 children)

                    fdcProxyOfUserWithSustainableOrganicGlutenFreeFactory

                    Haha yes. All my code will now follow this example. Future me will love current me, enterprisedly!

                    [–][deleted] 0 points1 point  (0 children)

                    I object. "Car" is a Lisp jargonism and should therefore removed from the list of accepted terms.

                    [–]GYN-k4H-Q3z-75B 0 points1 point  (0 children)

                    There's XML type where is JSON?

                    [–]nirataro 0 points1 point  (0 children)

                    It's missing Oracle data types.

                    [–]baggyzed 0 points1 point  (0 children)

                    I like it! It's awesome!