https://linen.dev logo
Join Discord
Powered by
# lime
  • b

    bulky-insurance-39338

    05/10/2023, 10:00 PM
    i am not sure how i can do it better at now there (really complex for sure there with macros and abstracts and all of @structInit on top ... hm)
  • b

    bulky-insurance-39338

    05/10/2023, 10:01 PM
    so if all haxe-language-spice will be mixed together
  • b

    bulky-insurance-39338

    05/10/2023, 10:02 PM
    i feel same like into
    perl[2-4]-times
    sometimes into ;:)
  • a

    able-action-74275

    05/10/2023, 10:07 PM
    haha
  • a

    able-action-74275

    05/10/2023, 10:08 PM
    yeah I am still somewhat trying to avoid the more complex haxe stuff
  • a

    able-action-74275

    05/10/2023, 10:08 PM
    I want to easily read and edit the code
  • r

    rich-horse-51130

    05/10/2023, 10:09 PM
    @structInit isnt super complex at all
  • a

    able-action-74275

    05/10/2023, 10:09 PM
    and macros seems like a whole layer of obfuscation I just haven't had the heart to entertain
  • b

    bulky-insurance-39338

    05/10/2023, 10:09 PM
    ( *`real`-> independend from hardware and driver i mean .)
  • r

    rich-horse-51130

    05/10/2023, 10:09 PM
    just make all fields you need for initialization public and then treat it like a typedef
  • a

    able-action-74275

    05/10/2023, 10:09 PM
    you don't even need to have public
  • a

    able-action-74275

    05/10/2023, 10:10 PM
    at init stage
  • b

    bulky-insurance-39338

    05/10/2023, 10:10 PM
    ever did macros into C or GLSL ?
  • r

    rich-horse-51130

    05/10/2023, 10:10 PM
    personally when my fields werent public structInit didnt work properly
  • a

    able-action-74275

    05/10/2023, 10:10 PM
    never
  • b

    bulky-insurance-39338

    05/10/2023, 10:10 PM
    haxe is much much better into macros
  • r

    rich-horse-51130

    05/10/2023, 10:10 PM
    macros are something to say the least
  • r

    rich-horse-51130

    05/10/2023, 10:11 PM
    im sure theyre super satisfying to work with (once the compiler doesnt scream at you to have your args be expressions), but i dont really have any use case for them sadly
  • b

    bulky-insurance-39338

    05/10/2023, 10:11 PM
    at the end all is only something like -> pre-processing
  • b

    bulky-insurance-39338

    05/10/2023, 10:11 PM
    (or the pre-renderpass 😂 -like ;:)
  • b

    bulky-insurance-39338

    05/10/2023, 10:11 PM
    YanniZ06 and do you really need that ->
    autocomplete
    ?
  • b

    bulky-insurance-39338

    05/10/2023, 10:12 PM
    to be fast into coding i mean ?
  • r

    rich-horse-51130

    05/10/2023, 10:12 PM
    huh
  • r

    rich-horse-51130

    05/10/2023, 10:12 PM
    wdym
  • a

    able-action-74275

    05/10/2023, 10:12 PM
    nobody needs it
  • a

    able-action-74275

    05/10/2023, 10:12 PM
    but it's damned useful
  • r

    rich-horse-51130

    05/10/2023, 10:12 PM
    autocomplete is way too slow on my vsc anyways lmao
  • b

    bulky-insurance-39338

    05/10/2023, 10:12 PM
    sry.. half and me talked about before
  • r

    rich-horse-51130

    05/10/2023, 10:12 PM
    by the time autocomplete shows up for me days have passed
  • a

    able-action-74275

    05/10/2023, 10:13 PM
    yeah it's only useful when you are exploring an API, when you're actually writing code it's quicker to just type it
1...125126127...138Latest