Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by cli345

  1. cli345

    A tomato pasta recipe (in programming languages)

    Thank you very much for your feedback :). Yes, you're very right. No one can know what state the aborted thread will be in. In Java (and many contemporary programming languages), the execution threads are, in fact, operating system threads. These are managed by the operating system according to...
  2. cli345

    A tomato pasta recipe (in programming languages)

    A little diagram might be helpful: ;)
  3. cli345

    A tomato pasta recipe (in programming languages)

    Yes, that's very good! :) Now more detailed (waitBoiling and heatWater are explicitized): Note: waitBoiling() is coded: awaitBool (waterTemperature = 100) var waterTemperature := 20 def heatWater(): while true: waitSeconds(2) if waterTemperature < 100...
  4. cli345

    A tomato pasta recipe (in programming languages)

    I could also have written: parallel || @heatWater_branch heatWater() || waitBoiling() putPastaIntoWater() waitSeconds(10*60) break heatWater_branch || @heatOil_branch heatOil() || putGarlicIntoOil() putTomatoesIntoOil() putBasilIntoOil()...
  5. cli345

    A tomato pasta recipe (in programming languages)

    Thank you for your feedback :). Yes, this is included in structured concurrency which, nowadays, is available for more and more programming languages (see this list). That's very good indeed :). Few programming languages include structured concurrency natively: Apart from Java and Swift, I don't...
  6. cli345

    A tomato pasta recipe (in programming languages)

    Hi, I've already told you about FuncSug :) Here is a tomato pasta recipe. In a recipe, there are actions done together with other actions. For example, the sauce is prepared while the pasta is cooking. I suggest to code it in your favorite language and give me your opinion about my code...
  7. cli345

    Fun activity Say hello... in a coding language!

    In FuncSug programming language, :) In browser console, Yes, it's the same as in Python. In browser client zone,
  8. cli345

    FuncSug for facilitating web development by structuring one's code in the concurrent way

    Hello! :) The example is no longer online. Take a look at these new examples instead. I've made a tutorial. There is also a tutorial in French. If you have any problem, just ask here. @Malcolm Please, could you transfer this thread to the feedback center, thank you? :)
  9. cli345

    Hello everyone! :)

    Thank you :)
  10. cli345

    JavaScript How to understand js code for plugins?

    It looks like a polyfill for browsers that don't support "modulepreload".
  11. cli345

    JavaScript Click on instance of image to trigger event

    I think OldMan is right. But waiting to understand HTML Image Maps, you can just try to fix your code (At least, to understand what goes wrong). The type of 'this.ladder' is 'Layer' which is not an element of DOM; so it does not have a "addEventListener" method. But 'this.backgroundImage' is an...
  12. cli345

    Can D simulated by H terminate normally?

    Good idea(But we go a little away from the classical halting problem)! It might be assumed that H must report (possibly by aborting the simulation) on the behavior specified by its inputs and by the assumption that H never aborts a simulation.
  13. cli345

    Looking to join a team

    Would you like to work on FuncSug? (I cannot send private messages)
  14. cli345

    Can D simulated by H terminate normally?

    I think you're right in a sense: H is correct on what D would be if H only simulate D.
  15. cli345

    FuncSug for facilitating web development by structuring one's code in the concurrent way

    Hello! :) FuncSug is a new programming language to facilitate web development (specially interactive site) by structuring one's code in the concurrent way. For example, imagine you want to code a breakout game. You would like to code something similar to: in_the_same_time: run_the_ball()...
Back
Top Bottom