Your Next Backend Should Be Written In...

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ย. 2024
  • Recorded live on twitch, GET IN
    Reviewed Video
    • Your backend is too co...
    By: Isaac Harris-Holt | / @isaacharrisholt
    My Stream
    / theprimeagen
    Best Way To Support Me
    Become a backend engineer. Its my favorite site
    boot.dev/?prom...
    This is also the best way to support me is to support yourself becoming a better backend engineer.
    MY MAIN YT CHANNEL: Has well edited engineering videos
    / theprimeagen
    Discord
    / discord
    Have something for me to read or react to?: / theprimeagenreact
    Kinesis Advantage 360: bit.ly/Prime-K...
    Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
    turso.tech/dee...

ความคิดเห็น • 617

  • @rodjenihm
    @rodjenihm 4 หลายเดือนก่อน +534

    In JDSL, of course.

    • @airkami
      @airkami 4 หลายเดือนก่อน +31

      Genius detected

    • @Sw3d15h_F1s4
      @Sw3d15h_F1s4 4 หลายเดือนก่อน +27

      ask Tom, he's a genius!

    • @noahtah1511
      @noahtah1511 4 หลายเดือนก่อน +9

      Read it for the first time yesterday perfect timing

    • @vincentnthomas1
      @vincentnthomas1 4 หลายเดือนก่อน +11

      TOMS A GENIUS!!!!

    • @johnkost2514
      @johnkost2514 4 หลายเดือนก่อน +5

      Hands down, JDSL is SOTA ..

  • @tuftman6092
    @tuftman6092 4 หลายเดือนก่อน +178

    I love how every video an alert goes off and you're like "my bad forgot to turn alerts off"

    • @cacophonic7
      @cacophonic7 4 หลายเดือนก่อน +2

      He is guaranteed to get those donations doing it.

    • @wooviee
      @wooviee 4 หลายเดือนก่อน +1

      And I'm loving every minute of it.

    • @jellyfish1772
      @jellyfish1772 3 หลายเดือนก่อน

      I love THIS notification btw

  • @klevidervishi148
    @klevidervishi148 4 หลายเดือนก่อน +219

    my backend is in scratch

    • @andyk2181
      @andyk2181 4 หลายเดือนก่อน +11

      meow 🐈

    • @spkim0921
      @spkim0921 4 หลายเดือนก่อน

      nice

    • @window.location
      @window.location 4 หลายเดือนก่อน +13

      What's the project name, back-scratcher?

    • @JoyousUnicorn
      @JoyousUnicorn 4 หลายเดือนก่อน +1

      goat

    • @PGDJ88
      @PGDJ88 2 หลายเดือนก่อน

      You scratch my backend I scratch yours

  • @solitaryfox69
    @solitaryfox69 4 หลายเดือนก่อน +199

    In RISC-V ASM, of course.

    • @DataToTheZero
      @DataToTheZero 4 หลายเดือนก่อน +25

      Pfft, weak. VHDL on an FPGA, hook your network transceiver straight up no driver chip. Anything less and your leaving performance on the table. Plan to go straight to custom asics as soon you hit version 1.1

    • @JohnDoe-np7do
      @JohnDoe-np7do 4 หลายเดือนก่อน

      Insanity 😂

  • @BaptistPiano
    @BaptistPiano 4 หลายเดือนก่อน +195

    “We’re completely off the *rails*” I see what you did there

    • @KerchumA222
      @KerchumA222 4 หลายเดือนก่อน +1

      came here to say just this.

  • @sarabwt
    @sarabwt 4 หลายเดือนก่อน +63

    One of the most impressive demos I have seen was with Erlang (beam VM). The guy introduced a while true bug, that took 100% of the CPU, however, the server still responded normally. Not only that, he then connected to the server, found out the process that was causing trouble, and killed it, making the server run normal again.

    • @ihemanrawr
      @ihemanrawr 4 หลายเดือนก่อน

      th-cam.com/video/JvBT4XBdoUE/w-d-xo.html this is that video

    • @rodjenihm
      @rodjenihm 4 หลายเดือนก่อน +20

      You can even fix the bug and hot reload it in production

    • @Deemo_codes
      @Deemo_codes 4 หลายเดือนก่อน +18

      The soul of erlang and elixir by sasa juric. Fantastic talk and a fantastic demo

    • @y00t00b3r
      @y00t00b3r 4 หลายเดือนก่อน

      @@Deemo_codes you win the internet today. reason: providing search terms which IMMEDIATELY took me to the relevant blog post / video. Everyone: LEARN FROM THIS PERSON!

    • @kawo666
      @kawo666 4 หลายเดือนก่อน +1

      And then you could build NIFs in Rust that would run computation heavy tasks within Erlang/Elixir backend if required (normally these would be coded in C, but Rust seems a safer choice)

  • @AlexanderJonesYoutube
    @AlexanderJonesYoutube 4 หลายเดือนก่อน +87

    Microservice Take:
    Write a monolith out of modules, the modules should talk between one another using a defined interface, and they shouldn't share DB tables.
    If you need to you can always spin these modules off to be microservices. However, imo, you probably won't need to.

    • @y00t00b3r
      @y00t00b3r 4 หลายเดือนก่อน +19

      wisdom. You can have microservice-able architecture without actual microservices.

    • @BrunoArrais1
      @BrunoArrais1 4 หลายเดือนก่อน

      It's called Umbrella app on Phoenix/elixir ecosystem. It's a clever idea but most devs create a spaghetti codebase out of this so it's hard to recommend

    • @real_ouss
      @real_ouss 4 หลายเดือนก่อน +9

      You should watch a talk named Networkless HTTP by Matteo Collina, I think you would like it

    • @anb1142
      @anb1142 4 หลายเดือนก่อน +1

      Hey Could you give me some resources to learn more about this

    • @fueledbycoffee583
      @fueledbycoffee583 4 หลายเดือนก่อน +2

      i do this buy why not share DB tables? sometimes some services need to touch the same set of data and i avoid inter service comunication

  • @jsonkody
    @jsonkody 4 หลายเดือนก่อน +10

    All that is true about the actor model in Gleam is also the same in Erlang and Elixir - it's just the BEAM VM.
    By the way, it is named Gleam because it rhymes with BEAM.

  • @blenderpanzi
    @blenderpanzi 4 หลายเดือนก่อน +19

    Sometimes when Prime talks a lot and seemingly with a lot of conviction about something I feel like what is actually happening is that he's trying to convince himself about what he is saying.

    • @haniffaris8917
      @haniffaris8917 4 หลายเดือนก่อน +2

      Nah, it's your insecurities poking their noses. Projecting your own uncertainties with his convictions being a sign of his lack of confidence.
      And in my humble opinion, him talking a lot might just be a sign of him being a streamer, just a thought, I'm not really sure. But boy he does sure looks like someone who would stream.

    • @TehKarmalizer
      @TehKarmalizer 4 หลายเดือนก่อน +2

      Expressing your understanding of something is an exploration of why you understand it.

    • @AloisMahdal
      @AloisMahdal 4 หลายเดือนก่อน +1

      He does seem to think aloud a lot (and a lot aloud)...

  • @DumblyDorr
    @DumblyDorr 4 หลายเดือนก่อน +9

    Re: "Early Return" - mapping and flatMapping monads does that. If your result type is a monad, you just map or flatMap the success case. That mapping will never execute if the result isn't a success, so it's equivalent to an early return. Several functional languages have special syntax to avoid nesting for sequential flatMapping (e.g. Haskell's do-notation, Scala's for-comprehension) - gleam's "use"-expressions do a version of the same kind of thing: avoid nesting when handling result types.

    • @y00t00b3r
      @y00t00b3r 4 หลายเดือนก่อน

      where can we learn more?

    • @y00t00b3r
      @y00t00b3r 4 หลายเดือนก่อน +1

      C'MON, MAN! Don't leave me hanging!!!

    • @dylan_the_wizard
      @dylan_the_wizard 4 หลายเดือนก่อน

      This does not necessarily solve the same problem - without an early return, you basically have to keep nesting code in your if/else chain (or case, or whatever gleam uses). Early return is usually just an easy way to break out of the function early without having to keep nesting and indenting logic branches.

    • @DumblyDorr
      @DumblyDorr 4 หลายเดือนก่อน

      @@dylan_the_wizard I'm not sure I understand. An early return by definition is inside some form of conditional - you still write code after that (that's what makes it "early").
      When it comes to avoiding having to nest code to handle (computations returning) results - that's exactly what Haskell's do-notation and scala's for-comprehension do for monads.

    • @dylan_the_wizard
      @dylan_the_wizard 4 หลายเดือนก่อน

      @@DumblyDorrthis isn’t Haskell. If you don’t have early return you need to keep nesting cases. Early return lets you just add more cases underneath instead of indenting to the right.

  • @blinking_dodo
    @blinking_dodo 4 หลายเดือนก่อน +37

    Java...
    To be precise: a JAR file with the www resources and config file embedded inside.
    You'll end up with a single file that's your entire web package, and it runs on any system.

    • @thapr0digy
      @thapr0digy 4 หลายเดือนก่อน +7

      And it's garbage collected and a memory hog

    • @CaptTerrific
      @CaptTerrific 4 หลายเดือนก่อน +16

      @@thapr0digy Overstated problem. You shouldn't be throwing nearly enough errors to the point where that becomes a processing or memory bottleneck. If it is, that's a skill issue

    • @1130MarsV
      @1130MarsV 4 หลายเดือนก่อน +12

      ​@@thapr0digy enterprises have no problem with it, doubt a startup would

    • @EvileDik
      @EvileDik 4 หลายเดือนก่อน +12

      This is the way.
      Too many millennial code fashonistas who's only language goal is the latest shiny.

    • @blinking_dodo
      @blinking_dodo 4 หลายเดือนก่อน +3

      @@EvileDik I once made a HTML live chat without JavaScript. The java server would keep the Sockets open to send new messages, and browsers just happily append the latest bytes to their DOM. A side-discovery was that as long as you don't close the connection for the main page, the webdev tools would be mostly unusable.

  • @tauiin
    @tauiin 4 หลายเดือนก่อน +72

    GLEAM MENTIONED

  • @bity-bite
    @bity-bite 4 หลายเดือนก่อน +41

    In C#; Why would I go into the hassle of learning a new language when I can write my next backend in C# and have it perform faster & better, hmm.

    • @donateus6743
      @donateus6743 4 หลายเดือนก่อน

      csharp runtime sucks, ton of legacy stuff, btv microsoft is looking for rust devs, to rewrite some stuff from csharp😅

    • @ltardioli
      @ltardioli 4 หลายเดือนก่อน +18

      C# is my comfort language. All the time the I'm struggling with some problem in any other language I just switch to C# and it feels like home.

    • @doriancerutti5331
      @doriancerutti5331 4 หลายเดือนก่อน

      I second this, C# makes my life so much easier. You can do anything with it and it makes my nips happy

    • @bitcrusherNOOP
      @bitcrusherNOOP 4 หลายเดือนก่อน +3

      i mean you could and still use actors with Microsoft Orleans or akka but the BEAM is goated and first class in those family of languages.

    • @md.redwanhossain6288
      @md.redwanhossain6288 4 หลายเดือนก่อน

      ​@@d_6963 which language can outperform C#? Rust, Golang have the capability. But they are not comparable with C# because they are suitable for more Lower level stuffs.

  • @andybank
    @andybank 4 หลายเดือนก่อน +4

    @28:01 bricks are actually layed that way and it's called a header course. It's used to tie the stretcher courses (the normal orientation bricks) together for structural rigidity

  • @opposite342
    @opposite342 4 หลายเดือนก่อน +7

    I think we tend to gravitate towards languages that tries to fix languages we've been using, while still be familiar enough with it.
    I started of coding in Python 6-7 years ago, and even though I have studied Java, C, Haskell in actual classes and even written one or two Rust and Go projects, it never felt "home". I got too accustomed to indentations and multi-paradigm concepts in Python. Recently, I started to use and like nim, and I think it's because it fixes some problems of Python while still being similar enough (at least on the surface, the language has so much more flexibility because of metaprogramming and its ease in making a c wrapper).
    Anyway that's probably why people switched to JS to TS (without actually switching much) as well... they are used to it and wanted to use something that's better.

    • @ForChiddlers
      @ForChiddlers 4 หลายเดือนก่อน +2

      Try harder with java, you'll notice. And you'll think about all the python devs, that they are the result of a failed school system

    • @opposite342
      @opposite342 4 หลายเดือนก่อน

      Here's the thing. I used to love Java. I also realized it has flaws when looking under the hood. I like OOP, but then I did remember at some point overengineering a class diagram before even doing anything...
      Kotlin is neat though, but I don't feel like I have excuses to use it as much.

    • @nicholaspreston9586
      @nicholaspreston9586 4 หลายเดือนก่อน +3

      I've stopped trying to fix languages with other languages (I've suffered enough, looking at you, React!). People are the problem, including me. We tend to create what I call "code entropy". This is why I build numerous small C# libraries that each have 1 responsibility. I can tell which packages I use more often based on the version numbers. 😊
      And the one with the highest would be my Types nuget package that has extension methods for LINQ, quick null-free string parsing methods (with optinal fallback params), and a special Dump method that prints json to console whenever I'm debugging, but also returns the object so it never breaks control flow or causes eye-bleed.
      So, basically, for me, 'fixing' my favorite language worked out great for me. I can solve complex problems really fast in LINQ, dive into directories asynchronously with a few keystrokes, debug without stopping or pausing execution, and more odds and ends I'm forgetting because I'm high on coffee ☕️ 😳

  • @arcuscerebellumus8797
    @arcuscerebellumus8797 4 หลายเดือนก่อน +6

    "Do things that are beautiful", but also "no one cares about your code - all that maters is the result". I can't think of a way to resolve this contradiction if you ONLY code for work... mayby "find beauty in something that you do", instead of "do what you think is beautiful"?

    • @blackjackjester
      @blackjackjester 4 หลายเดือนก่อน +1

      Yea, if I brought elixir or gleam into my next project at work I'd be crucified

    • @quelqunderandom6143
      @quelqunderandom6143 4 หลายเดือนก่อน

      you are taking this too literally, the idea is more "do a beautiful project", something that can help others, etc...

    • @vinterskugge907
      @vinterskugge907 4 หลายเดือนก่อน

      It can easily be resolved if you realize that beautiful code has much fewer bugs. And an important metric for how good 'the result' is, is the number of bugs the system has.

    • @isodoubIet
      @isodoubIet 4 หลายเดือนก่อน +1

      There is a difference between extrinsic and intrinsic motivation.
      Your extrinsic motivation is to build software your users want to use. Your intrinsic motivation should be to make it beautiful. That's the claim.

    • @arcuscerebellumus8797
      @arcuscerebellumus8797 4 หลายเดือนก่อน

      @@vinterskugge907 not in my experiance it's not. If I spend my time polishing something to maximum levels of perfection available to me at my current level of proficiency what I usually get is complaints about "what took you so long". If I just slap things together and drop off a commit that barely works - it's fine. As to the bugs - they get delt with if/when they appear and no sooner.
      As a result, making something "beautiful" is a prerogative I allow myself only when I do things for myself, which the more I work, the less I get the time and/or inclination to do.
      PS: ...not that there isn't some beauty in jank that boggles the mind as to why and how it manages to do its thing at all ^_^

  • @developingWithPaul
    @developingWithPaul 4 หลายเดือนก่อน +16

    I mean I could do all of this with Java Spring Boot in like 10 lines of code... Use the Right tool for the problem but ignore Spring Boot for some reason.

    • @elimgarak3597
      @elimgarak3597 4 หลายเดือนก่อน +5

      It isn't trendy, you see

    • @davidsiewert8649
      @davidsiewert8649 4 หลายเดือนก่อน +1

      Yeah, no doubt you can do that having spend 5-10 years memorizing Spring Boot framework-specific APIs.
      I personally like/love libraries there I have IDE-Autocomplete and can write productive code after 10-30 min of reading the docs
      instead of wasting days trying to understand and wrestle with Spring Boot Idiosyncrasies.

    • @AloisMahdal
      @AloisMahdal 4 หลายเดือนก่อน

      i just googled Java Spring Boot and learned that it's a tool you can use Spring apps, and Spring apps are apps that you can just run.
      well.. ok, i guess... (not really.... shrugs...) sometimes i feel like these technologies are just trying to be obtuse...

    • @dominikvonlavante6113
      @dominikvonlavante6113 3 หลายเดือนก่อน +1

      ​@@AloisMahdalSpring is a backend framework. Period. It still needs a server to recieve and send http rewquests.
      Springboot is the Spring framework delivered in an opinionated docker aware package with integrated tomcat server and a few more bells and whistles.

  • @medoedjudobanderovec2196
    @medoedjudobanderovec2196 29 วันที่ผ่านมา

    That's why Ruby on rails is best option for start-ups, you just deliver as much features as possible

  • @abhaysingh.632
    @abhaysingh.632 4 หลายเดือนก่อน +23

    GoLang the first thing that came to mind

  • @joelv4495
    @joelv4495 4 หลายเดือนก่อน +10

    Love how the author just casually glosses over the N+1 database call @17:30.

    • @BosonCollider
      @BosonCollider 4 หลายเดือนก่อน +3

      A Pokemon can only have four moves, so there are at most four queries, and they are run in parallel instead of sequentially since it spawns a task for each call and then waits on all of them with a timeout.

  • @sdramare864
    @sdramare864 4 หลายเดือนก่อน +44

    In C#, of course.

    • @infinite_s902
      @infinite_s902 4 หลายเดือนก่อน +7

      It’s pretty simple tbh
      Specially the minimal api

    • @ZoneInOn
      @ZoneInOn 4 หลายเดือนก่อน +1

      Minimal apis arent for scale. Depends on your scope. Theyre all embedded directly into Program.CS so if your program has more than a few CRUD endpoints they instantly lose relevancy. ​@infinite_s902

    • @bity-bite
      @bity-bite 4 หลายเดือนก่อน +10

      ​@thehumster7837 This reply can't be AI generated because it is full of nonsense. Minimal APIs do not have to be in a single file, they can be anywhere. There is infinite amount of resources talking about minimal APIs being just as scalable as controllers are.

    • @User_2
      @User_2 4 หลายเดือนก่อน +1

      +1, quick setup and there’s not much you cannot do without too much finagling

    • @andrewshirley9240
      @andrewshirley9240 4 หลายเดือนก่อน

      @@ZoneInOn Minimal API setup is just a Map function call from the EndpointRoutes global. There are infintite ways to structure this. You can organize your endpoint resolvers as static classes that include a "MapEndpoints" function so Program.cs just calls into each of those. And if that gets cumbersome you can separate that bit into its own class dedicated to the registration. Alternatively you could do what controllers do and use attributes + reflection to set up any endpoint routes. You could have a separate service dedicated to endpoint resolution that contains all the logic. Etc. etc. The demo examples just call it straight in Program.cs, but the heart of it all is in the IEndpointRouteBuilder.

  • @tempname8263
    @tempname8263 4 หลายเดือนก่อน +21

    In BeefLang, of course.

    • @johnbruhling8018
      @johnbruhling8018 4 หลายเดือนก่อน

      Everyone starts with SQT-Lite but ends up with Rock-abs

  • @Bozebo
    @Bozebo 4 หลายเดือนก่อน +4

    PHP because Laravel. Just get it done. Then when the project has legs it's easy to get more devs at every level and you can peel parts out of the monolith into secondary services if you want to move to other languages within a particular domain (not for scaling, that should already be handled if you've done it right).

    • @stefanalecu9532
      @stefanalecu9532 4 หลายเดือนก่อน +1

      Laravel is just so wonderful, once you try it you'll become a new person

    • @brunoggdev6305
      @brunoggdev6305 4 หลายเดือนก่อน

      Agreed. And honestly, even if u don't use laravel, PHP frameworks in general can do so much stuff so fast to get u up n running. Obviously tho, Laravel is the most robust approach if u need this kind of power

    • @gaetanp77
      @gaetanp77 4 หลายเดือนก่อน

      Ton build an API please try API Platform. In the next release you will be able to use it with Laravel (or in any PHP projects). They work done on this his HUGE, it's so easy : add attributes to your DTOs, write provider and processors (or not if you use Doctrine orm) and bam you have a full API with security, content negociation, caching, documentation, ...

    • @gaetanp77
      @gaetanp77 4 หลายเดือนก่อน

      ​@@brunoggdev6305I find Laravel pretty good for RAD, but Symfony much more flexible when you need it.

  • @metropolis10
    @metropolis10 4 หลายเดือนก่อน +7

    If every year is "the year of X" then you will never get to pick the right tool for the job.

  • @JackDespero
    @JackDespero 3 หลายเดือนก่อน +2

    3:40 Beauty is just our human brain trying to reward us for what it considers worth of pursuing and attractive.
    If you do not pursue beauty in your code, you will get burn out very quickly, because nobody likes to work on ugly code.
    Now, beauty is subjective and it has nothing to do with clean code. Beauty can be a hacky way to achieve something but that hacky way fits so perfectly well that it is beautiful.

  • @stabernz
    @stabernz 4 หลายเดือนก่อน +2

    "More microservices than users" 😂ok that made me laugh out loud.

  • @blenderpanzi
    @blenderpanzi 4 หลายเดือนก่อน +5

    I would take a look at Elixir, if it where statically typed. At least at the level of TypeScript.

    • @nicholaspreston9586
      @nicholaspreston9586 4 หลายเดือนก่อน

      Is it typed to the level of C#? I think TS Is way overtyped (and overhyped), to the point where you're just writing more broken javascript but in a different flavor. But that's a common opinion. Coming from a C# background, I just could not get into TS because I kept falling asleep reading the docs

    • @blenderpanzi
      @blenderpanzi 4 หลายเดือนก่อน +1

      @@nicholaspreston9586 Elixir is dynamically typed, so like JavaScript without TypeScript, as far as I know. I meant TypeScript as an example for a not that great static type system glued on top of a dynamically typed language. With at least I meant that a type system like C# would be more than the one of TypeScript. :D

    • @username7763
      @username7763 4 หลายเดือนก่อน +3

      Same here. I already know Python and JavaScript. I've done a little Perl and Lisp and that's enough with the dynamic typing languages. Plus Python got type checking and JavaScript has Typescript. What's Elixir got? Fix the type system, and I'll be interested.

  • @tech_ocean777
    @tech_ocean777 4 หลายเดือนก่อน +3

    Well said.. instead of suffering from the architecture heart attack as a start up just build the damn thing first.

  • @eightsprites
    @eightsprites 4 หลายเดือนก่อน +2

    Whatever language its easiest to employ people with.
    It’s different in different locations.

  • @siriguillo
    @siriguillo 4 หลายเดือนก่อน +11

    Use elixir and build a distributes system, is insane
    Real-time communication low latency distributed is what elixir shines at.
    Edit: gleam is another language for the erlang VM, I think is better than elixir in many ways but is just too new still

    • @blackjackjester
      @blackjackjester 4 หลายเดือนก่อน +5

      Gleam needs more dedicated people to build the ecosystem... Or a much stronger standard library.
      I just don't want to have to write my own everything. I've got kids.

    • @balen7555
      @balen7555 4 หลายเดือนก่อน +1

      I prefer Elixir over Gleam in every way possible. And Elixir is getting an interesting type system too.

    • @Voidstroyer
      @Voidstroyer 4 หลายเดือนก่อน +2

      Can you give some examples of how you think that Gleam is better than Elixir in many ways? The only one that I can think of is that Gleam already has static typing whereas Elixir will be getting it a bit later. But it's not like Elixir doesn't have ways to handle most typing errors already (function guards, pattern matching, immutability).

    • @balen7555
      @balen7555 4 หลายเดือนก่อน +3

      @@Voidstroyer Precisely. Also, lack of metaprogramming in Gleam is a big weakness. The general trend over the past decade has to introduce stronger metaprogramming. An example is how in dire need of metaprogramming Dart is, which it is getting soon; and how their current temporary substitute (build_runner) is messy. C# introduced source-generators.
      The moment your programing is more than just simple REST APIs, metaprogramming becomes invaluable. I can't imagine something like Phoenix without macros...
      Literally all languages have adopted metaprogramming to some extent, and Elixir is better than most languages at it.
      There are so many things that Elixir does much better than Gleam (IMO).

    • @Voidstroyer
      @Voidstroyer 4 หลายเดือนก่อน

      @@balen7555 I agree, however I admit that I have personally not really looked at Gleam as much (just watched a few videos) and so it's possible that my own bias towards Elixir is causing me to not see certain things. Which is why I am curious to see what @siriguillo has to say about his comparison of the two languages. (And to be fair I am curious to see if his opinion is also based on a bias towards Gleam due to lack of knowledge of Elixir).

  • @75hilmar
    @75hilmar หลายเดือนก่อน

    Of course, types are everything. Types infer methods and it is good when the computer sees what it is working with. You can always pass the right class type to the right function.

  • @gritcrit4385
    @gritcrit4385 4 หลายเดือนก่อน +4

    That Phoenix Live View seems to be really awesome. No complicated front-end and its toolings, but all the benefits.

  • @cod-the-creator
    @cod-the-creator 2 หลายเดือนก่อน +1

    I think when people say stuff like "return this" and the syntax is like "OKIE DOKIE LINE ARROW HEART EMOJI" I check out completely.

  • @prethammuthappabs2241
    @prethammuthappabs2241 4 หลายเดือนก่อน +78

    Spring boot obviously

    • @MrZadeak
      @MrZadeak 4 หลายเดือนก่อน +9

      Agreed, but in kotlin instead of java because I'm that special:)

    • @wormisgod
      @wormisgod 4 หลายเดือนก่อน +5

      Java spring (sometimes micronaut, quarkus etc) dominates enterprise and banking

    • @DJ-XLR8
      @DJ-XLR8 4 หลายเดือนก่อน +6

      Actually yes, literally just did that and I’ve been super happy with it

    • @ForChiddlers
      @ForChiddlers 4 หลายเดือนก่อน +4

      Yeah, Spring Boot and Java. Most elegant solution. Kotlin sounds to strange to me.

    • @armsofundertow98
      @armsofundertow98 4 หลายเดือนก่อน +2

      I was thinking the entire video "You can just do all of this with modern Java and Spring"

  • @JoeStuffzAlt
    @JoeStuffzAlt 4 หลายเดือนก่อน +3

    Microservices? Of course! We need that Resume Driven Development. It does get you into the next job

    • @desertfish74
      @desertfish74 4 หลายเดือนก่อน

      Extreme go horse

  • @kabukitheater9046
    @kabukitheater9046 4 หลายเดือนก่อน +18

    elixir mentioned.. let's gooo

  • @DjoumyDjoums
    @DjoumyDjoums 4 หลายเดือนก่อน +2

    Driven by beauty helps you write better code I agree, but it can also drive you down the rabbit hole or give you tunnel vision. You need good discipline to code this way

  • @freecivweb4160
    @freecivweb4160 4 หลายเดือนก่อน +1

    First-timers don't mind it slow in the backend if it translates to a softer smoother experience. However, those with more rodeo experience like it fast, and are willing to have it be a bit rough to get the most out of a full performance.

  • @klaudyw3
    @klaudyw3 4 หลายเดือนก่อน +1

    That penguin is an accurate representation of how things work in a lot of projects. Someone finishes some mismatched feature (coding style, language, dependencies, etc.) and just mashes it all together with all the other mismatched pieces of code that make up the application. 5 years later you remake the original a̶p̶p̶l̶i̶c̶a̶t̶i̶o̶n̶ bugs, but this time in another language that will totally "get rid of the legacy code issue and bring us in line with current trends".

  • @thygrrr
    @thygrrr 3 หลายเดือนก่อน +1

    Drinking out of a Mason Jar like a true Quiche Eater :D

  • @jlc397
    @jlc397 4 หลายเดือนก่อน +1

    Everyone starting with microservices before they have fully mapped the domain will spend more time on DevOps/Platform engineering tasks than they need to early on. Until there are clear bounded contexts and a compelling reason to use microservices, most early stage projects should use a monolith to start. Early resource investment should be focused on features and delivering product, not technical ideology. End users don't care. The business most likely won't care. The VC/PE money folks won't care. Is your work fit for purpose? Does it add value to the business? Can sales close deals? These are the questions you should be asking early on, not whether the architecture adheres to Reactive/Clean/Onion/DDD/etc. Prioritize tests and working software over pedantic architectural implementations.

  • @laQwoter
    @laQwoter 4 หลายเดือนก่อน +2

    Take a closer look at Ruby. It's the only language that I know that has an idea: "should be pleasant to use for a developer" at its foundations.
    And I hate you all for making fun of the only language that so openly cares about a developer instead of business metrics.

  • @disguisedpigeon5465
    @disguisedpigeon5465 4 หลายเดือนก่อน +4

    Elixir is the most readable functional language there is, which isn't much to say, but hey, at least its something

  • @keithjohnson6510
    @keithjohnson6510 4 หลายเดือนก่อน +2

    This whole value as errors misses the whole point of exceptions. In another video recently Prime mentions he likes assertions that just fail the app, well that's how you can make exceptions work. If you don't want to handle them. If I'm calling a function X, I don't need to know all the exceptions it potentially might throw, and I don't care, in most cases an exception been thrown is likely something you can't do anything about anyway, (well not easily). eg. Out of memory, out of disk space, file permissions etc etc. But the nice thing if you did want to handle the exception, and implement some sort of recovery you can opt in later. I think a lot of reasons exceptions get bad rep, is when people use them for flow control, if a 3rd party lib is doing this then that's the fault of the lib, not exceptions.

    • @isodoubIet
      @isodoubIet 4 หลายเดือนก่อน +1

      A lot of it also comes from these awful garbage-collected languages where you might end up dropping state if you throw an exception. But that's also not the fault of exceptions, that's the fault of whatever silly person decided to copy the exception model and not also copy RAII to go with it. Exceptions need RAII to work, otherwise you're left in a nightmare scenario where you have to manually catch and cleanup at every level.

    • @keithjohnson6510
      @keithjohnson6510 4 หลายเดือนก่อน

      @@isodoubIet For resources that require cleanup logic that's a good point. For these the the "finally" comes in, but I think Zig & Go's defer wins here. You could create wrapper function to emulate this, but been built into a language really nice. The main problem with all option here is with them been scope based, a really nice option for a GC language would be closure based cleanup.

    • @isodoubIet
      @isodoubIet 4 หลายเดือนก่อน

      @@keithjohnson6510 Yeah it's like that meme "look what they need to mimic a fraction of our power". The "finally" keyword, disposables in C#, context managers in python, defer etc all just feel completely subpar. What do you mean by closure based cleanup?

  • @xdarrenx
    @xdarrenx 4 หลายเดือนก่อน +2

    Occam's razor, the programing community is over represented by people who are both extremely confident and anxious at the same time, this creates this entire bs. No other profession changes tooling, and it's also not needed. If u go full sober no cap, you will see there is hardly any correlation between tools used and the succes of an application. I bet most successful apps are still in wordpress, webflow, php or w/e.
    Some changes made sense because the world changed, the general introduction of things like bootstrap, vue, react etc. because we went from static text on a single device to interactive on multiple devices, but the differences between them within their tier are not that relevant.

  • @DarthVader11912
    @DarthVader11912 4 หลายเดือนก่อน +58

    Write your backend with the language you're most comfortable with.

    • @imaadhaq540
      @imaadhaq540 4 หลายเดือนก่อน +7

      wrong!

    • @FelipeV3444
      @FelipeV3444 4 หลายเดือนก่อน +24

      Unless it's JS

    • @FirstYokai
      @FirstYokai 4 หลายเดือนก่อน +5

      Only for hobby projects.

    • @inertia_dagger
      @inertia_dagger 4 หลายเดือนก่อน +4

      write your backend with the language that is most fun for you

    • @minorlion1327
      @minorlion1327 4 หลายเดือนก่อน +3

      There are languages that are build for work like backend. Writing in other languages is dumb

  • @masterchief1520
    @masterchief1520 4 หลายเดือนก่อน +1

    Spring boot😢? Its so amazing it makes the backend level into a different league. Even though it and even java has so many features. You still have to do it the spring way. So everyones kinda on the same page how to design everything else.

  • @radiantveggies9348
    @radiantveggies9348 4 หลายเดือนก่อน +10

    The correct answer is Java. There's a reason it is used extensively in FAANG and banking. Only downside is the boilerplate

    • @williamkoller9873
      @williamkoller9873 4 หลายเดือนก่อน +1

      Agreed. Plus, the boiler plate is really non problem with copilot.

    • @nandomax3
      @nandomax3 4 หลายเดือนก่อน +6

      Boilerplate? Spring does so much magic stuff, it's just a @ here and a config class there and you have DB connection, orm, security, authentication, Kafka Connection. Sometimes I wish Java with Spring did less magic

    • @nandomax3
      @nandomax3 4 หลายเดือนก่อน

      ​@@williamkoller9873copilot? Intellij and Lombok creates all the boilerplate for you😅

    • @worgenzwithm14z
      @worgenzwithm14z 4 หลายเดือนก่อน

      Everything is an object, everything is nullabe, need to write a ton of if conditions to check for nulls
      No thanks
      Kotlin and Scala exist and run on the JVM

    • @rapzid3536
      @rapzid3536 4 หลายเดือนก่อน +2

      @@nandomax3 Yeah the Spring magic plus build and boot times on large projects is a much bigger problem than boiler.

  • @CallousCoder
    @CallousCoder 4 หลายเดือนก่อน +1

    Rust’s lifetime function colouring is a refactor nightmare! I too stopped using Rust when that came into the picture.

  • @Nijikokun
    @Nijikokun 4 หลายเดือนก่อน

    Partition will return a tuple of Ok results and Error results in their own respective lists. For example, [Ok(1), Error("a"), Error("b"), Ok(2)] would return #([2, 1], ["b", "a"])

  • @d0cx
    @d0cx 4 หลายเดือนก่อน +3

    Id use Spring, probably. I just like the batteries included thing.

  • @gombike95
    @gombike95 4 หลายเดือนก่อน +1

    Check out the ROC programming language. You would love it.

  • @AndreaPassagliaAP
    @AndreaPassagliaAP 4 หลายเดือนก่อน +1

    did you just say effects don't have errors as values? that's kind of the core of it. also soon we'll have effect rotation too so you will not have to wrap everything into an effect.

  • @aniketbisht2823
    @aniketbisht2823 4 หลายเดือนก่อน +47

    In C++, of course. No, I mean seriously!.

    • @StTrina
      @StTrina 4 หลายเดือนก่อน

      Nonsense. The Whitehouse has issues a warning on c++ and they know more than we do. I mean, they put Kamala Harris on AI.

    • @Simple_OG
      @Simple_OG 4 หลายเดือนก่อน +5

      My boi

    • @abjee1602
      @abjee1602 4 หลายเดือนก่อน +6

      @@Simple_OG C please

    • @CaptTerrific
      @CaptTerrific 4 หลายเดือนก่อน

      @@abjee1602 if you treat C++ simply as "C with smart pointers," it becomes a PLEASURE to work with!

    • @bobbob1278
      @bobbob1278 4 หลายเดือนก่อน +5

      Based and red pilled

  • @stefanalecu9532
    @stefanalecu9532 4 หลายเดือนก่อน +1

    Honestly, I'd use PHP first, then C# or Object Pascal (I am expecting such good responses)

  • @TankorSmash
    @TankorSmash 4 หลายเดือนก่อน +2

    You can tell ThePrimeagen isn't as confident in his position when he gets angry that people suggest something to him. It's gotta be annoying to be pulled in all these different directions. Love the content!

  • @Yturijea
    @Yturijea 4 หลายเดือนก่อน +1

    Java with Spring boot is just pleasant.

  • @nicholaspreston9586
    @nicholaspreston9586 4 หลายเดือนก่อน +1

    I use MemoryCache in C#. Seems pretty fast. Dunno if I need Redis. Not saying I wouldn't use it tho. I like graph and what I'm hearing about Redis's versatility and speed overall. Just haven't found a use case yet in my personal projects

  • @thephoenix215-po2it
    @thephoenix215-po2it 4 หลายเดือนก่อน +11

    In Haskell of course!

  • @TheBadFred
    @TheBadFred 4 หลายเดือนก่อน +1

    Good old Spring, I know for ages.

  • @asdfghyter
    @asdfghyter 4 หลายเดือนก่อน

    17:47 It's indeed pretty context specific, so it's not surprising. In gleam it splits a list of results into one list of successes and one list of failures.

  • @scottspitlerII
    @scottspitlerII 4 หลายเดือนก่อน +2

    4:06 What amazing wisdom

  • @SmileyJack.
    @SmileyJack. 4 หลายเดือนก่อน +2

    Esoteric language mentioned

  • @dellanmuchengapadare3792
    @dellanmuchengapadare3792 2 หลายเดือนก่อน

    that cache solution, looks literally the same as a GenServer implementation with Elixir

  • @filippavlovic18
    @filippavlovic18 4 หลายเดือนก่อน +1

    2:30 "off the rails" while mentioning the #1 ruby user

  • @sarves_boreddy
    @sarves_boreddy 4 หลายเดือนก่อน +5

    Spring boot or Golang

  • @c0mplexfps
    @c0mplexfps 4 หลายเดือนก่อน +5

    Good video.
    Now let's watch it.

  • @slim_mike
    @slim_mike 4 หลายเดือนก่อน +2

    Huge gold nugget at the end of the video!

  • @jsonkody
    @jsonkody 4 หลายเดือนก่อน +1

    I wanted to learn a functional language, so I looked at Haskell and OCaml. They were very interesting, but they felt highly alien to me. However, Elixir felt different. Elixir is partially alien, but in a good way. The pervasive use of pattern matching is such a good design, in my opinion. Additionally, Elixir feels really friendly to newcomers. It's really easy to explore new concepts from the functional paradigm, unlike in Haskell where trying to understand what a monad is can be quite challenging ._.
    Also I consider Elixir being extremely usefull and practical language with some superpowers no other language has (except BEAM langs ofc - Erlang and now Gleam).

  • @CouchProgrammer
    @CouchProgrammer 4 หลายเดือนก่อน +3

    Function coloring helps separate side effects. If you make a function asynchronous because of another function, it's a code smell.

    • @vinylSummer
      @vinylSummer 4 หลายเดือนก่อน

      Username checks out

  • @Harve6988
    @Harve6988 4 หลายเดือนก่อน +1

    Unpopular opinion - If you want to be kind to your team and other people who will have to read and support this code, then just use Java wirh something like Spring or Quarkus. Well documented, widely understood, boring, mostly expected.
    Do you really want to spend all your time making the right architecture when the company might go under - what about "do you want to spend all your engineering team's time getting to grips with the oddities in rust, or learning zig or elixir" - does that not apply?
    I'd caveat "do the thing you think will be beautiful" - do that if you are writing it for you and no one else will ever have to read it, but if beautiful to you is to write it all in R using only pipes and other people have to read that, then no, don't do that.
    Try catch is slow? What does go have to compile in then? Go surely has to a check on every return type?
    Also, I feel like there should be a rule in programming like "betteridge's law of headlines" - if someone asks "can this single tool solve all my problems, then invariably the answer is 'no'".

  • @camilogomez5151
    @camilogomez5151 4 หลายเดือนก่อน +3

    In Plankalkül , of course.

  • @Naton
    @Naton 4 หลายเดือนก่อน +10

    F# is beautiful

  • @nullblade
    @nullblade 4 หลายเดือนก่อน +3

    I would write my backend in either rust, java or both

  • @gonzalomunoz2767
    @gonzalomunoz2767 4 หลายเดือนก่อน +3

    Yes, do yourself a favor and go Elixir! Fair warning though, you won't want to go back

  • @jesse9999999
    @jesse9999999 4 หลายเดือนก่อน

    Really enjoyed your perplexed response to the non-stochastic nature of pokemon battles towards the end

  • @doertedev
    @doertedev 2 หลายเดือนก่อน

    Thank you for the function coloring example tweet reference.

  • @karaloop9544
    @karaloop9544 4 หลายเดือนก่อน +1

    The one thing I liked about Web Services from the SOAP era was WSDL files. Just download the thing and generate the client. Something like this should be mandatory for every API.

    • @awmy3109
      @awmy3109 4 หลายเดือนก่อน +1

      There's Open API spec for APIs now and you can generate clients from them.

    • @dominikvonlavante6113
      @dominikvonlavante6113 3 หลายเดือนก่อน

      There is OpenAPI 3.0 and AsyncAPI which will generate clients for you.

    • @headlibrarian1996
      @headlibrarian1996 2 หลายเดือนก่อน

      RPC frameworks do that.

  • @SnowDaemon
    @SnowDaemon 4 หลายเดือนก่อน +2

    Ofc he left alerts on 🤣

  • @ichigo_husky
    @ichigo_husky 4 หลายเดือนก่อน +2

    Prime must have a larger more flexible brain than me. I can only be good at one language at one time. It feels painful to switch between languages.

    • @y00t00b3r
      @y00t00b3r 4 หลายเดือนก่อน

      Keep practicing. It gets easier.
      Learn to read language specs. Start with ECMAScript. It's complicated by needing to be backwards compatible with older JavaScript.

  • @Hypawolf
    @Hypawolf 4 หลายเดือนก่อน +1

    Yes do elixir. It’s on my radar for the later part of this year

  • @toddmartin7030
    @toddmartin7030 4 หลายเดือนก่อน +2

    Prime once again sleeping on COBOL.

    • @stefanalecu9532
      @stefanalecu9532 4 หลายเดือนก่อน +2

      But he won't be sleeping on the fat stacks he could make if he works on COBOL

  • @ymi_yugy3133
    @ymi_yugy3133 4 หลายเดือนก่อน

    to me the function coloring problem seems a lot like a tooling issue. If I have strict typing, it should be possible to automatically refactor all callers to be async and await the call.
    I think function coloring for async is actually good, particularly if your function only performs async IO sometimes. If you don't know whether a function can block for a long time, its just to easy to accidentally block the main thread of an interactive application, or block shared resources.
    Having to refactor large parts of you program just because you made a tiny change, is of course annoying, but the solution is automatic refactoring or to explicitly decolor the function (i.e. wrap it in a block_on or whatever your language calls it.)

  • @MegaHellenkeller
    @MegaHellenkeller 4 หลายเดือนก่อน +2

    For this who didn’t watch, it’s vanilla JavaScript

  • @AnasImloul
    @AnasImloul 4 หลายเดือนก่อน +1

    Your next backend should of course be written in next duuh

    • @nicholaspreston9586
      @nicholaspreston9586 4 หลายเดือนก่อน

      Please do that for the rest of your career.

  • @anubhavseet004
    @anubhavseet004 3 หลายเดือนก่อน

    watching your videos make me feel like I'm a beginner

  • @h4ktbtw
    @h4ktbtw 4 หลายเดือนก่อน

    Just use whatever you’re most comfortable with which also fits the requirements

  • @ericjbowman1708
    @ericjbowman1708 4 หลายเดือนก่อน +1

    Pascal. I know, sounded crazy to me, too, 20 years ago when I switched. But you know what? Still works, and I have yet to meet a developer who doesn't understand it. If there's a bottleneck, the workflow is to use whatever language you want, whatever algorithms you want, just don't change the ABI or API... then, put it in Pascal. Sometimes, fpc makes just as fast an executable, and the bottleneck was algorithmic, so whatever that new language was, usually isn't any faster in a way that improves user-perceived performance. If it is faster, the only comment needed is "see the Pascal". You get a maintainable system, and I know this from watching them exponentially scale for decades without the added cost of buying Kate more pants. Or painting yourself into a corner where "let's just rewrite the whole thing in Rust" actually sounds reasonable. REST, people, not REST API's which are an anti-pattern. HEAS, not HATEOAS, because people are using the latter to describe HTML pages full of identical unclickable buttons. Where are your URIs? Why are you excluding fully 1/3 of the global online population, to make your apps work in a way that won't be valid in five years, forsaking the URL which has an exponential-scaling track record dating back 30 years? THAT is the Web architecture. KISS.

    • @ericjbowman1708
      @ericjbowman1708 4 หลายเดือนก่อน +1

      I don't code in Haskell, but these projects, ghc comes in 2nd to fpc, and is the exception to the above, because there is no direct algorithmic translation from Haskell to... well, to anything. But where a recursive functional algorithm is called for, ghc has a userspace threading model that really kicks, and by using Pascal and Haskell... where's the vendor lock-in? The incessant changes? The failure to maintain backwards compatibility with 20-year-old code? OK, Haskell developers are hard to come by, but not for these projects. Several Forbes 500's in a common niche adopted my system for interoperability, but I'm under an NDA although they rarely consult me anymore.

    • @stefanalecu9532
      @stefanalecu9532 4 หลายเดือนก่อน

      I'm also considering doing backends in FP, what do you use nowadays? Are you straight up using fpweb or do you use something like Fano/Brook? I'm actually curious to see your opinion.

    • @ericjbowman1708
      @ericjbowman1708 4 หลายเดือนก่อน

      @@stefanalecu9532 I ranch nowadays. I get called in once a year to explain how REST APIs are no more REST than Tesla's thingie is a truck, so I don't know if they're using fpweb, probably not, although it's the same design pattern. All the httpd needs to know is FCGI, all the backend apps need to know is FCGI.
      We take this a step further by putting those apps in Zones or Jails with no network stack, POSIX IPC for the FCGI win. On the front end, HTTP 1.1 pipelining. No plans to upgrade to 3 any more than 2, no need to suck. No streaming videos, those are on Vimeo.

    • @ericjbowman1708
      @ericjbowman1708 4 หลายเดือนก่อน

      httpd only passes requests to the app when the cache expires, gets the Atom file back, writes it to disk, and now it's cached until it needs to be changed again, last-modified and etag are just filesystem metadata. The apps aren't doing anything unless they need to, the webserver's on autopilot, and the user-perceived performance isn't giving back the paltry latency gains of this century.
      It's about the latency. Over 30 years, only 30% improvement. Compare that to CPU/RAM/storage gains, and treat it as a precious commodity.

    • @ericjbowman1708
      @ericjbowman1708 4 หลายเดือนก่อน

      The user who sends a change of application state to the server, is the user who makes the first request for that new application state, no?
      How long does it take, when you e-mail a reply to a listmail, for it to reflect? A few seconds? Do you care? That's why I say back-end performance really doesn't matter, because the architectural style means that latency disappears for subsequent requests, until the application state is changed.
      But, it's always nice to reduce that first-request latency. Just not a critical concern, so use whatever coding language you want. Those details are hidden behind uniform interfaces all the way, i.e. HTTP and FCGI. But on that first request to the posting user, precision is the concern over performance. Input sanitization and validation, takes how long it takes.

  • @itsAbhinav5383
    @itsAbhinav5383 4 หลายเดือนก่อน +1

    Is it a re-upload?

  • @judewestburner
    @judewestburner หลายเดือนก่อน

    For my last project, C#, for my current, C#, for me next, C#

  • @marcusrehn6915
    @marcusrehn6915 หลายเดือนก่อน

    Backend devs: Frontend is needlessly complicated, what are they doing??
    Backend devs: *Spending 1 week trying to update helm charts every 6 months*

  • @jongxina3595
    @jongxina3595 4 หลายเดือนก่อน +2

    In Minecraft redstone, obviously

  • @MitjaFelicijan
    @MitjaFelicijan 4 หลายเดือนก่อน +1

    What is up with this Asmongold reaction meta? Making a 2-min video into a 4-hour reaction, stopping video every 2 seconds, making assumptions of what the video will say and preemptively trying to debate something that wasn't even said yet. I respect Prime, such an awesome dude, but this meta is kind of ruining it for me, :) I usually stayed and watched the reaction video, but now I just stop and go and watch the original one, and I then don't even bother watching the reaction. But then again, maybe this is just me.

  • @Sam-y5o6j
    @Sam-y5o6j 4 หลายเดือนก่อน +6

    Clojure

  • @wojciechorzechowski2211
    @wojciechorzechowski2211 4 หลายเดือนก่อน +8

    Be careful with Elixir - when you try you won't come back xD

    • @sk-sm9sh
      @sk-sm9sh 4 หลายเดือนก่อน +2

      Tried it. Came back. Only functional weaklings can't escape it.

    • @nicholaspreston9586
      @nicholaspreston9586 4 หลายเดือนก่อน

      ​@@sk-sm9sh I code with LINQ (literally an enumerable monad) in C#, where does that put me? 😅

  • @SkinnyGeek_1010
    @SkinnyGeek_1010 4 หลายเดือนก่อน

    Elixir is more or less procedural with functional qualities like immutable data. Gleam is the functional language on the beam.

  • @EricLouisYoung
    @EricLouisYoung 4 หลายเดือนก่อน

    if you're not using elixir on the backend, you're simply falling behind. the mechanisms provided by the beam vm have no competition. the beam is truly a business logic operating system.

  • @janclaunitzer2376
    @janclaunitzer2376 4 หลายเดือนก่อน +7

    Kotlin is my favorite language + Spring Boot

    • @janclaunitzer2376
      @janclaunitzer2376 4 หลายเดือนก่อน +3

      +Thymeleaf and htmx to annoy my JS Frontend Friends

  • @probablism9773
    @probablism9773 2 หลายเดือนก่อน

    The last two minutes give sage advice - in which I overindulge on a regular basis.

  • @theangelofspace155
    @theangelofspace155 4 หลายเดือนก่อน

    26:00 it is, the RNG is in getting that polemon (stuff move etc). But in a program that there is just 1 version of that pokemon, it is deterministic.