Bex is cool, but seems really redundant. Go has a built-in templating language that lets you call out to functions that could do all of this (I use it for dynamic server-side rendering).
23:00 storing bytecode in the DB is a pretty interesting idea, although it might add some backward compatibility difficulties, since if you change the bytecode format then it might invalidate the old compiled commands. But then you could store all the commands in separate Bex source files, then regenerate them and repopulate the DB whenever needed, so maybe the compatibility issue isn't a problem.
I think people miss the point of Go. People hate it because its opinionated and restrictive and often there's really only one way to solve a problem and one way to write the code... but those are exactly what you want on a team of mixed skill levels and backgrounds working toward a common solution. Sure you can be more expressive in c, but do you want to deal with a junior's c code when you are trying to meet a deadline? Its not a developers language to use for fun, it's a simple no brainer language for completing projects and solving business needs quite well, quickly, and just about any skill level dev can use it without too much trouble.
@@merthyr1831 I was really enjoying the Porth dev vids too because it was so different to most other languages. And I'd never seen a Forthlike language with static types...
57:20 Exhaustive switch cases means you are REQUIRED to handle them all, which is pain if you add more values and need to handle these in several places. By NOT REQUIRING, it's much easier to add new cases, and each switch case can focus on the ones it cares about. You also have default case which can deal with those not handled. Also, handling every possible case can lead to cluttered, hard-to-read code with many irrelevant cases. Thinking Go is bad because of lack of exhaustive switch case tells me you haven't really thought this through. And as you can see, there are tools if you really need this.
Funny thing is, Go is the only language I've outright rejected to use, and it has nothing to do with Google being the creators of it. Of course I would certainly drop it now if I had been using it because of the telemetry BS, because even proposing adding it, opt-in or not, it's a no go from me. In fact, the reason I rejected it was to do with the language design itself, the issue with semicolons is annoying, but the forced error when using Allman style bracing is just offensive. That's actually one of the reasons I hate Rust programmers because they nearly always use K&R style, but why I haven't outright rejected Rust itself because it allows Allman style. Yes, I fully acknowledge that I'm weird.
@@Lemon_Inspector I wouldn't say trigger, but I definitely hate it. Indentation being used for scoping is an utterly braindead decision considering how much worse the war is between tabs versus spaces and how much of either.
When I learned go I read somewhere that "GO is a modern C". And then I learned C and have concluded C is a better GO. 1. No authoritarian telling you how to format your code. 2. No dumb ass semi-colon injection. 3. No game-hitching garbage collector.
@@KANJICODER I think the best way for a language to have GC is for it to be tunable to the point where you can turn it off if so desired. Part of why I still mostly write code in C is because it is so flexible. Not many are aware, but if someone wants it, even in C, they can still have it. I just don't happen to want it.
I think because he does not need to add new command conditions in the source code every time he wants to add new args to the initial command. Could be wrong.
Never before heard of 'Jai' ... will be checking that out :P
Thats why they call it Go
It stands for GLOWIE
Bex is cool, but seems really redundant. Go has a built-in templating language that lets you call out to functions that could do all of this (I use it for dynamic server-side rendering).
23:00 storing bytecode in the DB is a pretty interesting idea, although it might add some backward compatibility difficulties, since if you change the bytecode format then it might invalidate the old compiled commands. But then you could store all the commands in separate Bex source files, then regenerate them and repopulate the DB whenever needed, so maybe the compatibility issue isn't a problem.
I think people miss the point of Go. People hate it because its opinionated and restrictive and often there's really only one way to solve a problem and one way to write the code... but those are exactly what you want on a team of mixed skill levels and backgrounds working toward a common solution. Sure you can be more expressive in c, but do you want to deal with a junior's c code when you are trying to meet a deadline? Its not a developers language to use for fun, it's a simple no brainer language for completing projects and solving business needs quite well, quickly, and just about any skill level dev can use it without too much trouble.
Odin, Zig, Porth, and Jai not spying on me or being bloated is a huge win
Would love to see more porth content on here :^)
NIM asks you when you install it.
Lol @jai
Sure maybe it doesn't spy but are we really going to wait another decade for it to get a public release. Blow is a joke these days.
zig: is so unbloated that it doesn't even have a dependency manager the last time I checked
@@merthyr1831 I was really enjoying the Porth dev vids too because it was so different to most other languages. And I'd never seen a Forthlike language with static types...
2:13:00 было неожиданно
:D
как же я его понимаю
Lol
Russian loanwords in English, such as "Sputnik" and "Vodka", should be supplemented with new words from the Tsoding guy.
You need to specifically make telemetry on go otherwise it is disabled
luckily the GO maintainers decided to respect the devs
The telemetry is opt-in tho, so you arent getting spyed until you consent it.
Will you still say that when they make it opt-out in the next version?
@@anon_y_mousse no? They never claimed it would be opt-out.
@@miguelborges7913 The question was a hypothetical. However, Google being Google, it's far more likely that they'll make that change than not.
@@anon_y_mousse The whole toolchain is open source. If such thing happens, a fork telemetry free would release.
@@miguelborges7913 That'll work if you only do open source, not so much if we're talking about jobs which might even require the telemetry.
After receiving feedback from the community, they make it opt out by default.
》(almost) made a language
》don't use it
Chat-bot in porth when?
Try Odin it’s go like but with manual mem......would love to see a few streams
do stuff in Jai on the channel more :)
Let's Go
Get in Position and wait for my go.
very nice video
Holy sheeit, I recently got obsessed with Go. I am making a MUD engine in Go. Are you spying on me?
If he isn't, Google certainly is.
This BeX looks exactly like the go templating engine
Nice!
Check if switch statement is complete? what does that even mean.
I don't understand why you needed to use a scripting language instead of Go for the dynamic commands.
hello зозин :)
How do you zoom into your desktop 😮
I think he made it himself but not sure
he uses a program he made called zoomer
@@reinhold1616 Found it. You meant boomer right?
This guys livestreams are like motivational videos but for developers
@@marcempunkt9737 oh yea, boomer. and true
@@marcempunkt9737 If you used KDE it's built-in functionality. I've got the shortcut setup as Win+ which might also be the default.
Tem BR em todo lugar mesmo kkk não é possível
oi
tmj
yep
That's insane... fuck google, especially concerning that it's opt-out😖
I know nothing about go, but I thought this would be solved with a dlopen of a new library.
Now you need to add a database to be able to add functions to Box without modifieing the implementation 😂
Bex*
57:20 Exhaustive switch cases means you are REQUIRED to handle them all, which is pain if you add more values and need to handle these in several places. By NOT REQUIRING, it's much easier to add new cases, and each switch case can focus on the ones it cares about. You also have default case which can deal with those not handled. Also, handling every possible case can lead to cluttered, hard-to-read code with many irrelevant cases. Thinking Go is bad because of lack of exhaustive switch case tells me you haven't really thought this through. And as you can see, there are tools if you really need this.
Funny thing is, Go is the only language I've outright rejected to use, and it has nothing to do with Google being the creators of it. Of course I would certainly drop it now if I had been using it because of the telemetry BS, because even proposing adding it, opt-in or not, it's a no go from me. In fact, the reason I rejected it was to do with the language design itself, the issue with semicolons is annoying, but the forced error when using Allman style bracing is just offensive. That's actually one of the reasons I hate Rust programmers because they nearly always use K&R style, but why I haven't outright rejected Rust itself because it allows Allman style. Yes, I fully acknowledge that I'm weird.
So does Python trigger you or not?
@@Lemon_Inspector I wouldn't say trigger, but I definitely hate it. Indentation being used for scoping is an utterly braindead decision considering how much worse the war is between tabs versus spaces and how much of either.
Allman style ftw
When I learned go I read somewhere that "GO is a modern C".
And then I learned C and have concluded C is a better GO.
1. No authoritarian telling you how to format your code.
2. No dumb ass semi-colon injection.
3. No game-hitching garbage collector.
@@KANJICODER I think the best way for a language to have GC is for it to be tunable to the point where you can turn it off if so desired. Part of why I still mostly write code in C is because it is so flexible. Not many are aware, but if someone wants it, even in C, they can still have it. I just don't happen to want it.
Rust since forever would put hidden folders on your root
It would be nice if you could re-rewrite your chatbot. Maybe zig or jai or v.
But why?
Which linux distro are you using?
debian as far as i know. also i don't think it matters too much for him.
@@myfavouritecolorisgreen yes distro doesn't matter that much, but desktop environment he uses interesting for me. Which environment is this?
@@mbicc i3 window manager
Make a video about odin pls. It's like jai but open source.
How long you have ben coding? you realy smart
Can someone explain to me why Bex is necessary? Why can’t you just make the http request while the bot is running with the command args?
I think because he does not need to add new command conditions in the source code every time he wants to add new args to the initial command. Could be wrong.
@@darksoul.0x7you are god damm right
Why not use Haskell? Rust and Jai, Zig are fine. But golang smells like shit(just like java).
Rust!