Ok, Lemmy, let’s play a game!

Post how many languages in which you can count to ten, including your native language. If you like, provide which languages. I’m going to make a guess; after you’ve replied, come back and open the spoiler. If I’m right: upvote; if I’m wrong: downvote!

My guess, and my answer...

My guess is that it’s more than the number of languages you speak, read, and/or write.

Do you feel cheated because I didn’t pick a number? Vote how you want to, or don’t vote! I’m just interested in the count.

I can count to ten in five languages, but I only speak two. I can read a third, and I once was able to converse in a fourth, but have long since lost that skill. I know only some pick-up/borrow words from the 5th, including counting to 10.

  1. My native language is English
  2. I lived in Germany for a couple of years; because I never took classes, I can’t write in German, but I spoke fluently by the time I left.
  3. I studied French in college for three years; I can read French, but I’ve yet to meet a French person who can understand what I’m trying to say, and I have a hard time comprehending it.
  4. I taught myself Esperanto a couple of decades ago, and used to hang out in Esperanto chat rooms. I haven’t kept up.
  5. I can count to ten in Japanese because I took Aikido classes for a decade or so, and my instructor counted out loud in Japanese, and the various movements are numbered.

I can almost count to ten in Spanish, because I grew up in mid-California and there was a lot of Spanish thrown around. But French interferes, and I start in Spanish and find myself switching to French in the middle, so I’m not sure I could really do it.

Bonus question: do you ever do your counting in a non-native language, just to make it more interesting?

  • Tuukka R@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    3 months ago

    Finnish, Swedish, Estonian, Latvian, Lithuanian, Ukrainian, German, Dutch, French, Spanish, Russian, English. Plus, Polish and Norwegian would go mostly right.

    So, apparently 12.

    However, I can say “I am am apple” in 30 languages. Much more useful.

  • luluu@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    1. Python

    for i in range(11):
        print(i)
    

    2. R

    for (i in 0:10) {
      print(i)
    }
    

    3. C/C++

    #include <iostream>
    
    int main() {
      for (int i = 0; i <= 10; ++i) {
        std::cout << i << std::endl;
      }
      return 0;
    }
    

    4. Java

    public class CountToTen {
      public static void main(String[] args) {
        for (int i = 0; i <= 10; i++) {
          System.out.println(i);
        }
      }
    }
    

    5. Lua

    for i = 0, 10 do
      print(i)
    end
    

    6. Bash (Shell Script)

    for i in $(seq 0 10); do
      echo $i
    done
    

    7. Batch (Windows Command Script)

    @echo off
    for /l %%i in (0,1,10) do (
      echo %%i
    )
    

    8. Go

    package main
    
    import "fmt"
    
    func main() {
      for i := 0; i <= 10; i++ {
        fmt.Println(i)
      }
    }
    

    9. Rust

    fn main() {
      for i in 0..=10 {  // 0..=10 includes 10
        println!("{}", i);
      }
    }
    

    10. Zig

    const std = @import("std");
    
    pub fn main() !void {
        var i: i32 = 0;
        while (i <= 10) {
            std.debug.print("{}\n", .{i});
            i += 1;
        }
    }
    

    11. Scala

    for (i <- 0 to 10) {
      println(i)
    }
    

    12. Fortran

    program count_to_ten
      implicit none
      integer :: i
    
      do i = 0, 10
        print *, i
      end do
    
    end program count_to_ten
    

    13. Haskell

    main :: IO ()
    main = mapM_ print [0..10]
    

    14. Julia

    for i in 0:10
        println(i)
    end
    
      • luluu@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        7 months ago

        Yes I cheated. To be fair, I used each of those languages at one point and knew how to do it but was to lazy to look it up again.

        Edit: except Fortran

      • sp3ctr4l@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 months ago

        It is astonishingly easy to get basically any LLM to output a simple iteration from one to ten function in all of those languages, and more.

        Here’s Assembly:

            newline db 0xA  ; Newline character
        
        section .bss
            number resb 1  ; Reserve a byte for the number
        
        section .text
            global _start
        
        _start:
            mov ecx, 1  ; Start with 1
            mov edx, 10 ; End with 10
        
        loop_start:
            cmp ecx, edx  ; Compare ecx with edx
            jg loop_end   ; If ecx > edx, jump to loop_end
        
            ; Convert number to ASCII
            add ecx, '0'  ; Convert number to ASCII
            mov [number], ecx  ; Store the ASCII value in number
        
            ; Print the number
            mov eax, 4        ; sys_write system call
            mov ebx, 1        ; File descriptor 1 is stdout
            mov ecx, number   ; Pointer to the number
            mov edx, 1        ; Number of bytes to write
            int 0x80          ; Call kernel
        
            ; Print newline
            mov eax, 4        ; sys_write system call
            mov ebx, 1        ; File descriptor 1 is stdout
            mov ecx, newline  ; Pointer to the newline character
            mov edx, 1        ; Number of bytes to write
            int 0x80          ; Call kernel
        
            sub ecx, '0'  ; Convert ASCII back to number
            inc ecx        ; Increment the number
            jmp loop_start  ; Jump back to the start of the loop
        
        loop_end:
            ; Exit the program
            mov eax, 1        ; sys_exit system call
            xor ebx, ebx      ; Exit code 0
            int 0x80          ; Call kernel
        

        Here’s FORTRAN

        program iterate_from_one_to_ten
            implicit none
            integer :: i
        
            ! Loop from 1 to 10
            do i = 1, 10
                print *, i
            end do
        end program iterate_from_one_to_ten
        

        Here’s COBOL

        PROGRAM-ID. IterateFromOneToTen.
        
        ENVIRONMENT DIVISION.
        
        DATA DIVISION.
        WORKING-STORAGE SECTION.
            01  WS-Counter PIC 9(2) VALUE 1.
        
        PROCEDURE DIVISION.
            PERFORM VARYING WS-Counter FROM 1 BY 1 UNTIL WS-Counter > 10
                DISPLAY WS-Counter
            END-PERFORM.
        
            STOP RUN.
        
  • ℕ𝕖𝕞𝕠@slrpnk.net
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    Replying opened the spoiler for me, but:

    1. English (native)
    2. Spanish (school)
    3. Esperanto (self-taught)
    4. Latin (university)

    I can also count to five in German, and I used to know 1-10 in Swahili, but now only remember that “moja means one”

  • Old Jimmy Twodicks@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    English:

    1 2 3 4 5 6 7 8 9 10

    Spanish:

    1 2 3 4 5 6 7 8 9 10

    French:

    1 2 3 4 5 6 7 8 9 10

    German:

    1 2 3 4 5 6 7 8 9 10

    Italian:

    1 2 3 4 5 6 7 8 9 10

    Greek:

    1 2 3 4 5 6 7 8 9 10

    Mongolian:

    ᠐ ᠑ ᠒ ᠓ ᠔ ᠕ ᠖ ᠗ ᠘ ᠙ ᠑᠐

  • nargis@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    8 months ago

    Four. English, Hindi, Marathi (native) and Kannada. Sanskrit as well, but it’s a dead language, and I can’t speak Sanskrit because the grammar is extremely complicated. Had it in school for 3 years. So 5, if you’re counting Sanskrit.

    I generally count in English, unless I am using another language with my friends (excluding Sanskrit).

    • Sanskrit is so interesting, and an unusual one! It reminds me that I haven’t seen anyone mention Latin yet, which is odd because it’s relatively more common and you’d expect some lawyers and doctors on Lemmy.

      I use Esperanto as my utility counting language, and I usually count in dozenal (with help-words for 10 & 11). Any time I’m doing any activity requiring me to tally, it’s usually also mind-numbingly dull so adding mental gymnastics helps. Do you ever use Sanskrit this way? I think I would, if I knew any Sanskrit.

  • MoreFPSmorebetter@lemmy.zip
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    8 months ago

    …3? English, Spanish and German.

    Though as I say this I am struggling to remember how to say 10 Spanish (I failed Spanish 3 times in highschool).

    So let’s calling it 2.9 lol