• 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: June 27th, 2023

help-circle



  • james@lurk.funtoFediverse@lemmy.worldI can't code.
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Maybe, hopefully not, but even if it is: with WebAssembly, you’ll be able to (you already can actually but it’s not very widely used) compile and run many languages in the browser, other than JavaScript.

    I wouldn’t really recommend learning JavaScript as your first language, it’s pretty weird. Unless you really want to learn web development, then go for it! maybe check out TypeScript though - there’s a lot of learning material for both online.


  • james@lurk.funtoFediverse@lemmy.worldI can't code.
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    There’s lots of good advice here!

    Don’t learn C/C++/Rust. They’re great languages but you’ll get stuck learning things most experienced programmers don’t understand and you’ll get discouraged.

    Python/C# are both great options!

    If you want to do mobile development, you might try Kotlin (for Android) or Swift (for iOS).

    The trick is just to learn one language, to learn general programming concepts, then learning another in the future will be a lot easier.

    You can learn a lot from following online tutorials, YouTube, etc., and you can find communities for each language too.

    Also you don’t need to learn to program, there’s a lot of other good skills you could learn. (I keep trying to learn to draw or 3d model, and I just can’t do it lol).






  • james@lurk.funtoLinux@lemmy.mlDocumenting commands # or $ before sudo?
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Edit: looks like this is wrong lol, that’s what I get for not verifying. So maybe $ does make more sense!

    Original message:

    I think I’d go with #.

    The non-root user probably doesn’t have permission to run the sudo command as www-data user, but root does.

    Unless you previously set permissions for the non-root user to sudo as www-data.