That's from the klingon rules of coding: "Maybe it is a good day to die. I say we ship it!"The way I learned it vibe coding is when you don't understand the code and put it in a product anyway.
That's from the klingon rules of coding: "Maybe it is a good day to die. I say we ship it!"The way I learned it vibe coding is when you don't understand the code and put it in a product anyway.
was it called "Stack overflow" coding before ?
Unfortunate but true.Aint nobody got time to learn all that BS required to get anything done.
Are you just trying to inflate your post count? Not to be mean, but one word posts are a very Reddit thing to do.starship
Are you getting useful things out of LLMs (AI chatbots)?
Is vibe coding specific to using AI assistance? I figured vibe coding to be just coding naturally or how one feels code should be, vs strict style.If you do vibe coding anyway
Is vibe coding specific to using AI assistance? I figured vibe coding to be just coding naturally or how one feels code should be, vs strict style.
```lisp
(defun fib (n)
"Return the n-th Fibonacci number."
(labels ((fib-iter (a b count)
(if (= count 0)
a
(fib-iter b (+ a b) (- count 1)))))
(fib-iter 0 1 n)))
Which ones are the best ones, in your opinion?Note , i have :
ollama list | grep qwen
```lisp
(ql:quickload :check)
```
Now, here is the complete code including unit tests:
```lisp
;; fibonacci.lisp
;; Load the check library
(ql:quickload :check)
(defpackage :fibonacci-tests (:use :common-lisp :check))
(in-package :fibonacci-tests)
;; Function to calculate the n-th Fibonacci number
(defun fib (n)
"Return the n-th Fibonacci number."
(labels ((fib-iter (a b count)
(if (= count 0)
a
(fib-iter b (+ a b) (- count 1)))))
(fib-iter 0 1 n)))
;; Test cases for the fib function
(defun test-fib ()
"Run tests to verify the correctness of the fib function."
(is (equalp (fib 0) 0))
(is (equalp (fib 1) 1))
(is (equalp (fib 2) 1))
(is (equalp (fib 3) 2))
(is (equalp (fib 4) 3))
(is (equalp (fib 5) 5))
(is (equalp (fib 6) 8))
(is (equalp (fib 7) 13)))
;; Run the tests
(run-tests :fibonacci-tests)
```
To run these unit tests, you can save this code in a file called `fibonacci.lisp`, and then execute the following command in SBCL:
```lisp
(load "fibonacci.lisp")
(test-fibonacci-tests)
```
This might depend on how much ram you have on your pc. For me it is "qwen2.5-coder:3b"Which ones are the best ones, in your opinion?