Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)VO
Posts
0
Comments
421
Joined
2 yr. ago

  • And a 5th: Advertising.

    This will level the playing field a lot since Google wouldn't be able to subsidise their browser with ad money in order to show more ads in their search engine as well as feed their ads with data from the use of all their products.

  • Not really. It is just translating the Windows system API calls into Linux system API calls. It's not emulating Windows, it's an entirely different implementation that doesn't necessarily match that of Microsoft's implementation. It had it own workarounds to make buggy code work.

    You wouldn't call a Java Virtual Machine an emulator of another JVM either, they're just different implementations of the same specification.

  • I think for most people it's kinda a shit n forget situation. As soon as I have dropped the load I want to disown it and forget it faster than you can say "shit". You know just like pa did it.

  • Funny, the forced indentation is what I hate about Python. If you think a missing semicolon can be hard to catch, don't ever think about a missing whitespace :p

    The end keyword really isn't a big deal for me. I find it to be a good way to easily spot the end of a method. But if you wouldn't like it I'd still find it a good compromise to avoid syntax issues due to whitespace.

  • I think you'll like Ruby. It has mostly done away with braces and code blocks end with end, e.g.

     
        
    def create
      unless admin redirect_to new_session_path and return
      
      @product = Product.new product_params
    
      if @product.save
        flash[:success] = "New product has been created!"
        redirect_to edit_product_path(@product) and return
      else
        flash[:error] = "Something went wrong!
        render :new
      end
    end
    
      

    This is working code that I simplified a bit from an old project of mine.