6

Hey guys,

i just started learning HTML. so far it is going well alone which language to learn is the easiest after this?

Thanks in advance!

Comments
  • 2
    You should learn JavaScript next if you’re doing web stuff paired with a backend language

    And look into restful services

    Common web backend languages are php , node js, Perl, and c# has a whole bunch of stuff related to web services

    You should also decide on a hosting platform if you want to make a complex application of some form

    For that you have mini hosts like node js express, you also have iis and Apache

    Then you should move on to learning a database system

    MySQL and mssql are free to use for this purpose

    Note I may be going backwards since you said you’re working with html as a starter

    You should learn programming concepts in general and a good learner language for that used to be pascal but I’d honestly start with c# nowadays and follow some comp sci curriculums

    But like I said if you’re just feeling around trial and error html and css for structure and appearance then the others for the meat of the project
  • 2
    As complement to HTML it depends on if you want a server side language to make a more dynamic website or client side for more dynamic pages.

    For client side its javascript.

    For serverside there are more options.

    But for a hobby solution a common one while often berated one is php.

    If you want to go with more general purpose language, c# or java are good choices while go and rust are more hipp options, though not as main stream and therefore can be harder to get going with and less sought after in business so far (but rising)

    BUT this is only my opinion and you hopefully get more answers for a broader picture :)
  • 0
    I’m personally of the opinion that iis is shit
  • 0
    @Voxera hip options tend to go to the heap wouldn’t you agree ?
  • 0
    I assume breaking apart JAMstack solutions may become handy. I also heard of static websites taking over the hosting land.

    But before that, JavaScript.
  • 4
    Css duh, gotta make those ugly ass elements pretty
  • 0
    @EpicofGilgamesh i hate css so much though ! LOL theres just so much of it !
  • 0
    @MadMadMadMrMim it just that you guys are talking about JAMstack , php, c#, mysql like guys , he just learned html , baby steps people
  • 0
    @EpicofGilgamesh well JavaScript seems like a logical next step
    Hell he could do part of the comp sci using that like it was basic until he hit memory alloc and structures and io
  • 2
    From html, you walk into css for making it look nice, add a spit of color to those buttons.

    Then, you put on your roller skates and jump on into javascript to make those buttons actually do something on the client side.

    From here you would throw yourself into the void and pickup a server side language, this could be javascript (nodejs) or php, Python, .net, Java, there's a magnitude of options here but stick to 1 for a while.

    Now you make your client side javascript make call outs to your server side scripts and bam you're now getting somewhere.

    After your comfortable with that, add a database of some kind into the mix and now make your server side language hook up to that and Create, Retrieve, Update records and hand it back to your client side.

    And bam, you have all the elements to build out a typical website these days.
  • 0
    @MadMadMadMrMim rust is moving into the linux kernel and other big projects so it can be a good contender

    but only time will tell :)
  • 1
    @Voxera but it looks like vb !🥲 at least the first sample I looked at did
  • 0
    @Voxera and why would you mix languages like that ???
  • 0
    @MadMadMadMrMim you mean in the kernel?

    Because Rust is designed to prevent memory leaks and buffer overflows, two of the most common causes for serious bugs.

    And as far as I have read it has proved to be really good at it to while still be fast enough to compete with c and c++ and offer the same low level coding ability.

    Its just a modern very well designed language.

    And I would say its much more like javascript than vb. It actually looks very much not like vb ;)

    https://doc.rust-lang.org/book/...
  • 0
    @Voxera so there is no lag in a language that sounds more managed ?
  • 0
    @MadMadMadMrMim in this case no, all memory security is handled by the compiler, not runtime.

    Using a solution they call borrowing for any case where you need more than one reference to an object rust has a strict ownership of any memory and enforces release when leaving context, and at the same time prevents any access once the owner context is closed.

    All checked at compile time.

    The point is that the language is designed around this.

    You can still use “unsafe” as I understood it for special cases where you meed even more control like encryption algorithms and similar, but that keeps any such dangerous code in a small section where you then can spend the extra time on a very deep code review to avoid errors.

    In have not taken the time to learn iy my self yet.
  • 0
    @Voxera guessing there is no room for dynamic loading and code that could be problematic on that level as in c# when you can create code that loads An arbitrarily specified assembly at runtime. How does the compiler handle errors and exceptions ? Do the programs just bomb like c programs do ?
  • 0
    @MadMadMadMrMim it is said to have good exception handling but thats beyond what I have studied ;)

    And dynamic code is most likely not very simple.

    The goal for rust was a modern more safe replacement for c and c++ in the system language segment.

    Not to compete with c# as a more general application language for the broad market.
  • 0
    @Voxera well see I’m pretty sure you can load compiled code in c as well

    But see if I say loaded an assembly in net the managed aspect would give me stacktraces and exception information if something errored out not all c/c++ implementations do that is all and managed code has overhead that makes it slower which includes garbage collection

    From the sounds of it you said rust has garbage collection as well or you wouldn’t be able to allocate pointers to objects and arrays and collections and such based off variable values for dimension

    So.., that suggests in a similar scenario there perhaps being some performance losses in something else that was compiled and optimized by gcc
  • 0
    @MadMadMadMrMim no not GC, memory management is done at compile time. That the design goal of the language, to have a mathematically verifiable trace of all memory use at compile time to never have to do any GC and still never loose memory or use uninitialized memory or to much memory.
  • 0
    @Voxera but that leaves out dynamic allocation which is the largest part of pretty much all modern programming
  • 0
    @MadMadMadMrMim Even that is kept track of so that the compiler knows and warns if you pass an object with memory allocated around in the wrong way.

    As I said, I have not learned rust my self but a colleague did and he claimed the compiler was phenomenal in stating what mistake you made and where.

    But I think I need to do some rust programming my self to explain better.
Add Comment