• silasmariner@programming.dev
    link
    fedilink
    English
    arrow-up
    13
    ·
    8 days ago
    /* Calculates the levenshtein distance between two words
    * @param wordA: the first word to pass to the algorithm
    * @param wordB: the second word to pass to the algorithm
    */
    def levenschteinDistance(wordA: String, wordB: String): Int = ...
    

    – completely fucking pointless innit