What's better for making 2D games, Clojure or Haskell?
What's better for making 2D games, Clojure or Haskell?
C# with Unity. :)
>F#
ftfy
PhaserJs
Fennel (similar to clojure) and löve2d
Clojure because it is dynamically typed
>Clojure
>Built on top of Java
Of the two, Clojure
Racket and C++ like Naughty Dog
Gdscript
>functionalized that for you
>vid
An accurate metaphor for homosexuality
the point of those languages is like no side effects, right?
but in a video game, like.... you press a button, and side effects happen. thats the point
i'd go with clojure, but that's just because i like it more than haskell
i'm gonna take the bait and asked what happened here
no, the point is to have more control over side effects instead of just sprinkling them all over your codebase willy-nilly
you can't do shit without at least some side effects
it's fake
A controlled side effect is not a side effect but simply an effect. You have no side effects, just effects (except unsafePerformIO and the like).
so are you going to do shit like
new Game_Data next_frame = advance_game(last_frame, input, delta)
i dont see how to avoid copying the entire game state a ton if you cant mutate the same memory from a lot of different systems
assembly and C
Rust compiled to WASM.
not everything in functional programming is immutable senpai