The TTRPG network
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 1 年前

More confusion for recruiters

sh.itjust.works

message-square
86
link
fedilink
844

More confusion for recruiters

sh.itjust.works

alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 1 年前
message-square
86
link
fedilink
alert-triangle
You must log in or # to comment.
  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    arrow-up
    199
    ·
    1 年前

    all lines not terminated by a single space are comments

    • tabarnaski@sh.itjust.works
      link
      fedilink
      arrow-up
      81
      ·
      1 年前

      There’s a special place in hell for you

    • Ziglin (it/they)@lemmy.world
      link
      fedilink
      arrow-up
      49
      ·
      1 年前

      Also each line starts with a semicolon and you have to escape spaces in strings using a double forward slash

      • TurboWafflz@lemmy.world
        link
        fedilink
        arrow-up
        44
        ·
        1 年前

        I realized a while ago that there’s nothing stopping me from writing rust like this

        ;println!("This is great")
        ;println!("I think everyone should write rust like this")
        ;println!("Probably works in most languages that use semicolons")
        ;
        
        • mining (they/them)@lemmy.ml
          link
          fedilink
          arrow-up
          13
          ·
          1 年前

          Also a spicial place in hell for you

          • rovingnothing29@lemmy.world
            link
            fedilink
            arrow-up
            7
            ·
            1 年前

            Can we add the comefrom function too?

        • Ziglin (it/they)@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          1 年前

          Nasm programmers probably think that is old code that you commented out.

        • AVincentInSpace@pawb.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 年前

          hope you don’t forget the semicolon on a line by itself at the end (except in functions where you want to return the value of the last expression)

  • Manucode@infosec.pub
    link
    fedilink
    arrow-up
    115
    ·
    1 年前

    It uses XML-like syntax:

    <fun>
      <name>sum</name>
      <in>
        <int>foo</int>
        <int>bar=0</int>
      </in>
      <out><int>foo+bar</int></out>
    </fun>
    
    • kameecoding@lemmy.world
      link
      fedilink
      arrow-up
      59
      ·
      1 年前

      This deserves to be added to the list of human rights violations

    • VitaminF@feddit.org
      link
      fedilink
      arrow-up
      42
      ·
      1 年前
      <fun>
        <name>sum</name>
        <in>
          <int>
            <name>foo</name>
          </int>
          <int>
            <name>bar</name>
            <default_value>
              <int>0</int>
            </default_value>
          </int>
        </in>
        <out>
          <int>
            <calculation>
              <numerical_operation>
                <operator_plus>
                  <operand>
                    <var>foo</var>
                  </operand>
                  <operand>
                    <var>bar</var>
                  </operand>
                </operator_plus>
              </numerical_operation>
            </calculation>
          </int>
        </out>
      </fun>
      
      • Manucode@infosec.pub
        link
        fedilink
        arrow-up
        13
        ·
        1 年前

        How did you come up with such a ****ingly stupid syntax?!

        • hedgehog
          link
          fedilink
          arrow-up
          17
          ·
          1 年前

          They probably have experience with Spring

          • VitaminF@feddit.org
            link
            fedilink
            arrow-up
            8
            ·
            1 年前

            I imagined what an Elasticsearch query style Python XML syntax would look like.You must share my pain.

            • luciferofastora@lemmy.zip
              link
              fedilink
              arrow-up
              7
              ·
              1 年前

              That’s grotesque and you have my condolences

        • Lightfire228@pawb.social
          link
          fedilink
          arrow-up
          4
          ·
          1 年前

          It haunts me in my dreams

          • VitaminF@feddit.org
            link
            fedilink
            arrow-up
            4
            ·
            1 年前

            Thanks, I hate it.

      • pingveno@lemmy.ml
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 年前

        Welcome to the world of abusing the shit out of Ant. My first full time job was developing Ant in unholy ways. Tens of thousands of lines of Ant at least, doing significant logic. If-then-else, for loops, math, procedures, date-time math.

        • deathmetal27@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 年前

          Thankfully we have Gradle now.

    • _stranger_@lemmy.world
      link
      fedilink
      arrow-up
      29
      ·
      1 年前

      The whitespace is not only required, but it must be tabs and spaces.

      • TheRealJefe@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        1 年前

        Calm down, Satan

      • kewko@sh.itjust.works
        link
        fedilink
        arrow-up
        8
        ·
        1 年前

        Compiler rolls the dice if your only required indentation is accepted as space or tab. Per line.

        • reinei@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 年前

          But stores this information as a metadata file, which gets invalidated when a new file is added/removed from the program muhahaha!

    • Pilon23@feddit.dk
      link
      fedilink
      arrow-up
      18
      ·
      1 年前

      Can you please link to a medium article on how this will help utilize AI blockchain so i can show it to management on Monday?

    • notabot@lemm.ee
      link
      fedilink
      arrow-up
      18
      ·
      1 年前

      I like it, this is clearly very enterprisey and solution focused, but I would like to suggest a couple of amendments if I may?

      • Namespaces We should make full use of namespaces. Make the structural tags be in a language specific namespace (to be referenced in every function spec, obviously) but change the in an out params to use the parameter name as the tag, namespaced to the function they’re for, with a type attribute.

      • In memory message queues Have all function invocations be marshaled as xml documents posted to an in memory message queue. Said documents should use a schema that validates the structure and a function specific schema to validate the types of arguments being passed. Namespace everything.

      I reckon we could power a medium sided country if we could generate energy from the programmers despair.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 年前

      Make sure to make ample use of mixed content elements.

      <statement><var>bar</var> = <int>0</int></statement>
      
      • A Phlaming Phoenix@lemm.ee
        link
        fedilink
        arrow-up
        5
        ·
        1 年前
        statement: 
          comparison:
            - kind: libcompare.EQUALS
              comparators:
                - foo
                - bar
              whentrue:
                statement: 
                  streaming: 
                    - kind: libstreams.PRINT
                       content: foo equals bar
              whenfalse:
                statement: 
                  streaming: 
                    - kind: libstreams.PRINT
                       content: foo does not equal bar
        
        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 年前

          God I hate it

          • A Phlaming Phoenix@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            1 年前

            Lol, I’m sorry

            • JackbyDev@programming.dev
              link
              fedilink
              English
              arrow-up
              3
              ·
              1 年前

              Don’t apologize, it’s beautiful in its horribleness

    • Anony Moose@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 年前

      You monster

    • gravitas_deficiency@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 年前

      Who hurt you :(

    • breakcore@discuss.tchncs.de
      link
      fedilink
      arrow-up
      5
      ·
      1 年前

      Oh my, I feel woozy …

    • EffortlessEffluvium@lemm.ee
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      1 年前

      The tag indentation is a required part of the syntax and don’t forget colons at the end of the tag

    • A_Very_Big_Fan@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 年前

      I took every coding class my highschool offered, and the only thing that drove me more crazy than this syntax was trying to use CSS.

      • fibojoly@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        1 年前

        That’s because you didn’t try our lord and savior SASS. Vanilla CSS should be illegal at this stage.

    • ZILtoid1991@lemmy.worldBanned from community
      link
      fedilink
      arrow-up
      2
      ·
      1 年前

      I almost did similar with SDLang as I was very desperate for a scripting language, but now I have a wasmtime API for D.

    • lone_faerie@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 年前

      That’s basically how the Android app Tasker works. You do the programming through its UI, but when you export/share your tasks, they’re saved as xml

  • bottleofchips@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    98
    arrow-down
    1
    ·
    1 年前

    …and it’s compiled

    • lurch (he/him)@sh.itjust.works
      link
      fedilink
      arrow-up
      67
      ·
      1 年前

      …but intended for web, but you can also misuse it for apps and system services

    • qaz@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      1 年前

      …to an intermediate set of instructions for a virtual machine…

      …called the brainfuck interpreter

      • enleeten@discuss.online
        link
        fedilink
        arrow-up
        10
        ·
        1 年前

        Brainfuck.NET Interpreter that uses modified Java bytecode instructions.

        • qaz@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          1 年前

          Yes brainfuck with some Java Bytecode instructions for syscalls.

  • MIDItheKID@lemmy.world
    link
    fedilink
    arrow-up
    47
    ·
    1 年前

    Confusion like this got me my current job. They were looking for somebody with experience in “Microsoft Endpoint Configuration Manager”, and I look that up and I’m like “Oh, that’s SCCM, I do that”. Go through the interview process they keep asking me if I know Endpoint Configuration Manager and I’m like “yeah, for sure”. I get the job. Day one, the other systems engineer is like “here is the link to our Endpoint Manager Tenant”, and I’m like “oh… Shit I have never ever used this”

    Well… Ends up Endpoint Configuration Manager and Endpoint Manager are two different things. Fortunately for me they are pretty similar in function and rely on knowledge of Windows and Powershell, which I know.

    So my first 2 weeks of work was taking a shitload of courses in Endpoint Manager and watching a lot of videos and learning it inside and out.

    2 years later and I’m an Endpoint Manager/Intune pro.

    • BambiDiego@lemmy.world
      link
      fedilink
      arrow-up
      55
      ·
      1 年前

      90% of IT and software jobs are “I have common sense, know how to look up information, and my boss is intimidated by my work so they don’t question it.”

  • DumbAceDragon@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    29
    ·
    1 年前

    Make it completely untyped. Everything’s just a string.

    • AdamEatsAss@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      1 年前

      I think white space should be used to represent basic functions too. For example 3 spaces can be used to sum two values while 4 spaces can be used to subtract.

      • nicolauz@feddit.de
        link
        fedilink
        arrow-up
        2
        ·
        1 年前

        Yes, however indentation still defines block and the operator (white space in same cases) has to come right after the white space for the indent

  • 𝕸𝖔𝖘𝖘@infosec.pub
    link
    fedilink
    English
    arrow-up
    27
    ·
    1 年前

    And its syntax is nothing like python haha

  • mcmodknower@programming.dev
    link
    fedilink
    arrow-up
    27
    ·
    1 年前

    Or make a language named everything so you can say “i program in everything”

    • Sparky@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      4
      ·
      1 年前

      This is so cursed wtf

      • mcmodknower@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 年前

        Ps: i haven’t documented all the cursedness yet.

  • Sunoc@sh.itjust.works
    link
    fedilink
    arrow-up
    24
    ·
    1 年前

    Make it purely functional, lisp based with reversed Polish notation and APL symboles, I dare you mf

    • Akatsuki Levi@lemmy.world
      link
      fedilink
      English
      arrow-up
      23
      ·
      1 年前

      Make it completely ignore indentation

  • Australis13@fedia.io
    link
    fedilink
    arrow-up
    18
    ·
    1 年前

    Make sure it’s not whitespace sensitive and requires explicit typing, just to mess with everyone.

  • mogoh@lemmy.ml
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    1 年前

    Relevant commitstrip: https://www.commitstrip.com/en/2019/02/25/pythonscript/

  • Dandroid@sh.itjust.works
    link
    fedilink
    arrow-up
    14
    ·
    1 年前

    Make it so the capitalization affects the scope.

    Oh wait.

    (Sorry, I recently had to switch to golang for work, and I’m just not used to it yet, and I’m getting annoyed by some of these design decisions)

  • sasquash@sopuli.xyz
    link
    fedilink
    arrow-up
    13
    ·
    1 年前

    There is a Tiger Jyhton version for the web https://www.tigerjython.ch/en

    But at least just for educational purposes😅

  • Mio@feddit.nu
    link
    fedilink
    arrow-up
    13
    ·
    1 年前

    Just call it Script.

  • Rose@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    1 年前

    Just today I heard someone whining about how in LinkedIn and other recruitment sites there’s like five bazillion profile tag options for RDMBSes and various dialects of SQL… when in actuality the recruiters are probably only concerned if the developer can do a bloody SELECT and stuff.

    • Akatsuki Levi@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 年前

      Oh boy, make Pythonscript a dialect of SQL but for frontend

  • Colonel Panic@lemm.ee
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    2
    ·
    1 年前

    PythonSharp Script Java Edition

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 156 users / day
  • 618 users / week
  • 1.59K users / month
  • 7.1K users / 6 months
  • 100 local subscribers
  • 39.6K subscribers
  • 1.95K Posts
  • 40.6K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org