#...
54 messages · Page 1 of 1 (latest)
this is actually my first github repo ever, and I don't know much about licenses
It was actually AI written
have I done something wrong? someone gave a thumbs down
you can ask them (mouse over to see who) but possibly because... AI slop overdose?
getting thumbs down in this discord is crazy work
em dash detected opinion rejected
(ik its not a valid take but unless its literature, em dashes aint acceptable)
whats a em dash
vibe coding should never be acceptable unless you 100% understand above and beyond whatever you are trying to vibe code
which i damn as hell know you dont just looking at how properly you've setup the code
It is non OSS AI slop, of course you get thumbs down. Most people enjoy learning journeys, mistakes and best practice, not vibe coding.
just an example:
func throwError(err error) {
log.Fatal(err)
}
func ReadTextFile(path string) string {
bytes, err := os.ReadFile(path)
if err != nil {
throwError(err)
}
return string(bytes)
}
Why do you need a helpfer function, to use log.Fatal()? Why are you shipping binaries through an git repository, that is an anti pattern, Github knows Releases ....
Another example:
func is_value[T comparable](value T, values ...T) bool {
bool := slices.Contains(values, value)
return bool
}
And that is the slices.Contains upstream implementation:
// Contains reports whether v is present in s.
func Contains[S ~[]E, E comparable](s S, v E) bool {
return Index(s, v) >= 0
}
These are just two examples 🤷♂️
bool
bool := x()
return bool
is nice
You are right, didn’t note this horrible detail 🫠
Types are not keywords, so it only shadows an built in type.
Vibe Coding is well defined, and easy to google, in short: Using AI tools without any knowledge. You write a prompt, and keep whatever happens, without knowing what it does.
that's not what I did, I wrote this on my own from scratch
func is_value[T comparable](value T, values ...T) bool {
bool := slices.Contains(values, value)
return bool
}
Is nothing a human would do
whuhhh? is it the variable name?
you literally copied slices.Contains without doing any modification or generating a profit
wait, you're right
same for this throw error thingy you did
I never saw that. Well I've only had 2.5 months of go experience
your issue is not 2.5 months of go experience, but lack of clean code
that stays, i won't change that
func throwError(err error) {
log.Fatal(err)
}
premature abstraction is the root of all evil. What kind of issues does this solve?
in case I want to change how throwing an error works, believe me I have changed it a few times
however, I'm building the v0.2 that might be bytecode interpreted and AST interpreted at the same time. And thanks for the feedback
you should also remove binaries from git, github knows releases (and doesn't waste repos space)
hmm, thanks. I did think it was off
So am i getting a thumbs down because the tag of this post was vibe coding??
People hate reviewing AI generated code 🤷♂️
I don't make the rules, but I tend to agree.
Its not AI generated though. I didn't even know that that's what vibe coding meant and the server forced me to give it a tag
Maybe, but you also got guidance, like for your fancy error handling solution, and just didn't care about it
I'm not even sure what the use of https://github.com/ECMA-King87/ArachnoScript-Programming-Language/blob/main/source/maps.go is for, isn't https://pkg.go.dev/maps sufficient ?
Well it’s safe for parallelism
has() and get() in that code are ridiculous (iteration on a map… to find the key!!)
(and locking in get but not in has...)
I'm curious, is this language trying to be different for the sake of it or because there's actually a good reason to do so? I have never seen another language use spawn for var, immortal for const, or static... for const?```js
$ these variables cannot be changed in any way unless changed internally
static spawn completely_static = { yo: 20 };
The language is not too much different actually, the language works very closely to JS
...
deleting/erasing something that got 50 replies isn’t great