package main | |
import ( | |
"log" | |
"math/rand" | |
"time" | |
) | |
type A struct{} | |
type B struct{} |
@ae @seo @areas-nearby | |
Feature: Landing Page - Areas Nearby | |
In order to be see that the website is optimized for search engines | |
As a user of the website | |
I want to be able to see links for areas nearby on the landing pages | |
Scenario: Links to the nearby locations are not displayed when navigating without a location | |
Given the "/en/rent/properties-for-rent.html" landing page | |
Then the areas nearby section should not appear |
@ae @seo @popular-searches | |
Feature: Landing Page - Popular Searches | |
In order to be see that the website is optimized for search engines | |
As a user of the website | |
I want to be able to see links the popular searches on the landing pages | |
Scenario: Root internal navigation links are displayed in the popular searches section | |
Given the "/en/rent/properties-for-rent.html" landing page | |
Then the popular searches section should appear | |
And the following links should appear: |
<?php | |
function sum(int $a, int $b) { | |
return $a + $b; | |
} | |
function sum(int $a, int $b): int { | |
return $a + $b; | |
} |
<?php | |
class Item | |
{ | |
public $name; | |
public $parent; | |
public function __construct($name, Item $parent = null) | |
{ | |
$this->name = $name; | |
$this->parent = $parent; |
Feature: Orders management | |
In order to manage orders | |
As a "Super Admin" | |
I want to be able to list, view, edit and create orders in general or by clients | |
Scenario: Seeing all orders | |
Given I am on the Dashboard page | |
When I click on Orders on the navigation menu | |
Then I should be on the Orders page | |
And I should see "X" orders on the list |
Imagine que você trabalha em uma empresa pequena, onde a equipe de desenvolvedores não passa de cinco pessoas. Nessa equipe, você é um dos desenvolvedores com mais conhecimento técnico, mas não necessariamente com mais experiência.
Entre seus colegas, há diversos tipos de programadores: o acomodado — que já não se interessa mais em elevar seu conhecimento, pela razão que seja; o enrolador — que passa grande parte do tempo buscando não trabalhar; o esforçado — mas que está aquém das expectativas da empresa; entre outros.
Nesse meio de trabalho, independente do perfil de cada um, há pessoas com mais experiência — leia-se tempo de trabalho - ou menos que você. Há também aqueles que já estavam na empresa quando você chegou e, evidentemente, os que chegaram após a sua contratação.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
<?php | |
$func = function () { return 'stdClass'; }; | |
$obj = (object)[]; | |
var_dump($obj instanceof ($func())); |