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

help-circle



  • 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.





  • If you want to enter the energy trading market, look at Aalborg as there’s a large hub here. I know my company is on a hiring spree and are no stranger to hiring foreign people as long as it’s the best match. Some companies might also have departments in Copenhagen. As I don’t want to doxx myself I’d rather avoid naming my workplace.

    But do be careful with consultancy and stay far away from Netcompany.