Affirm130 open jobs

Software Engineer I, Fullstack (Search)

Full-stackPosted 7 weeks agofrom Affirm's own hiring page

Work type
RemoteIn the US and Canada
Experience
Not stated
Pay
$101k–151k a year
Posted
7 weeks ago
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on JavaScript, TypeScript, Python and 1 more

About the job

At Affirm, we exist for the moments that matter—giving people a clear, predictable way to pay over time, with no hidden fees, no surprises, and no tradeoffs on what matters most.

Search has become the default way consumers discover where to shop, compare options, and decide what to buy across platforms like Google, TikTok, and even Klarna. As we build a new Ads business and evolve Marketplace into a best in class shopping experience, improving search is one of our highest leverage investments to create an experience users choose and merchants want to invest in.

What You'll Do

  • With the support of your team, you will work on tasks that contribute to the team's projects and goals.
  • You will work collaboratively and proactively with your team and stakeholders, bringing them along for your work and helping to create visibility and dialog regarding the risks and trade-offs related to your work.
  • You will strike the right balance of speed and quality in your work, ensuring that we hit our business goals while protecting our systems from downtime.
  • You will contribute to a sense of community on your team by engaging in growth and development activities.


What We Look For

  • You have previous work or internship experience working with Javascript/Typescript.
  • You have previous work or internship experience designing, developing and launching backend systems at scale and are experienced using Python or Kotlin.
  • You have mastered taking a simple problem or business scenario into a solution that interacts with multiple software components, and executing on it by writing clear, easily understood, well tested and extensible code.
  • You are comfortable navigating a large code base, debugging others' code, and providing feedback to other engineers through code reviews.
  • Your experience demonstrates that you take ownership of your growth, proactively seeking feedback from your team, your manager, and your stakeholders.
  • You have strong verbal and written communication skills that support effective collaboration with our global engineering team.
  • This position requires either equivalent practical experience or a Bachelor’s degree in a related field.

Base Pay Grade - J

Equity Grade - 4

Employees new to Affirm typically come in at the start of the pay range. Affirm focuses on providing a simple and transparent pay structure which is based on a variety of factors, including location, experience and job-related skills.
Base pay is part of a total compensation package that may include monthly stipends for health, wellness and tech spending, and benefits (including 100% subsidized medical coverage, dental and vision for you and your dependents). In addition, the employees may be eligible for equity rewards offered by Affirm Holdings, Inc. (parent company).

CAN base pay range per year: CAD $101,000 - $151,000.

This remote role is open only to candidates residing in Alberta, British Columbia, Manitoba, New Brunswick, Newfoundland and Labrador, Nova Scotia, Ontario, Prince Edward Island, or Saskatchewan.

#LI-Remote

Remote-first with flexibility built in
Affirm is proud to be a remote-first company. Most roles can be done from almost anywhere within the country of employment. Some positions may occasionally require in-person work at an Affirm office, and a few are office-based due to the nature of the work. All new hires will be invited to attend an in-person onboarding experience.

Benefits designed for you
Our benefits reflect our commitment to care, transparency, and flexibility. Here are a few highlights:

  • Health coverage at no cost: We cover 100% of premiums for employees and their dependents.
  • Spending stipends: Monthly stipends support your tech setup, and the ability to choose health and wellness options that are right for you.
  • Time off to recharge: Flexible time off and generous holiday calendars help you rest when you need to.
  • Own a piece of what you build: Our employee stock purchase plan (ESPP) lets you buy Affirm stock at a discount.

We’re committed to providing an inclusive interview process, including accommodations for candidates with disabilities. If you need support, we’re happy to help.

For positions based in San Francisco or Los Angeles: Affirm considers qualified applicants with arrest and conviction records, as required by law.

By clicking "Submit Application," you acknowledge that you have read Affirm's Global Candidate Privacy Notice and consent to the use of your personal information as described.

1 more opening for this job

Affirm posts this job once per place or skill set. Pick the one that fits you.

Interested?Software Engineer I, Fullstack (Search) at Affirm

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on JavaScript, TypeScript, Python and 1 more

Interview questions for this job

For the skills the ad mentions: JavaScript, TypeScript, Python and Kotlin.

598 questions
  • Have you ever used JavaScript templating? If so, what libraries have you used?JavaScript

    Yes. Handlebars, Underscore, Lodash, AngularJS, and JSX. I disliked templating in AngularJS because it made heavy use of strings in the directives and typos would go uncaught. JSX is my new favorite as it is closer to JavaScript and there is barely any syntax to learn. Nowadays, you can even use ES2015 template string literals as a quick way for creating templates without relying on third-party code.

    const template = `<div>My name is: ${name}</div>`;
    

    However, do be aware of a potential XSS in the above approach as the contents are not escaped for you, unlike in templating libraries.

    From Front End Interview Handbook (MIT)

  • Does Typescript support the ?. operator? (And, what's it called?)TypeScript

    Yes. As of TypeScript 3.7 (released on November 5, 2019), this feature is supported and is called Optional Chaining:

    At its core, optional chaining lets us write code where TypeScript can immediately stop running some expressions if we run into a null or undefined. The star of the show in optional chaining is the new ?. operator for optional property accesses.

    Refer to the TypeScript 3.7 release notes for more details.

    Prior to version 3.7, this was not supported in TypeScript, although it was requested as early as Issue #16 on the TypeScript repo (dating back to 2014).

    As far as what to call this operator, there doesn't appear to be a consensus. In addition to "optional chaining" (which is also what it's called in JavaScript and Swift), there are a couple of other examples:

    • CoffeeScript refers to it as the existential operator (specifically, the "accessor variant" of the existential operator):

    The accessor variant of the existential operator ?. can be used to soak up null references in a chain of properties. Use it instead of the dot accessor . in cases where the base value may be null or undefined.

    a null-conditional operator applies a member access, ?., or element access, ?[], operation to its operand only if that operand evaluates to non-null; otherwise, it returns null.

    There are probably lots of other examples, too.

    From Stack Overflow: asked by Marty Pitt, answered by Donut (CC BY-SA 4.0)

  • How do I use strings to call functions/methods?Python

    There are various techniques.

    • The best is to use a dictionary that maps strings to functions. The primary advantage of this technique is that the strings do not need to match the names of the functions. This is also the primary technique used to emulate a case construct:

      def a():
          pass
      def b():
          pass
      dispatch = {'go': a, 'stop': b}  # Note lack of parens for funcs
      dispatch[get_input()]()  # Note trailing parens to call function
      
    • Use the built-in function getattr():

      import foo
      getattr(foo, 'bar')()
      

      Note that getattr() works on any object, including classes, class instances, modules, and so on.

      This is used in several places in the standard library, like this:

      class Foo:
          def do_foo(self):
              ...
          def do_bar(self):
              ...
      f = getattr(foo_instance, 'do_' + opname)
      f()
      
    • Use locals() to resolve the function name:

      def myFunc():
          print("hello")
      fname = "myFunc"
      f = locals()[fname]
      f()
      

    From Python Frequently Asked Questions (PSF License Version 2)

  • Describe constructors invocation orderKotlin

    Constructors invocation order

    Suppose we have next code:

    open class Parent {
        private val a = println("Parent.a")
        constructor(arg: String = "Default arg for parent") {
            println("Parent primary constructor")
            println("Parent arg value = $arg")
        }
        init {
            println("Parent.init")
        }
        private val b = println("Parent.b")
    }
    class Child: Parent {
        private val a = println("Child.a")
        init {
            println("Child.init 1")
        }
        constructor(arg: String = "Default arg for child"): super(arg) {
            println("Child primary constructor")
        }
        constructor(arg: Int): this(arg.toString()) {
            println("Child secondary constructor")
        }
        init {
            println("Child.init 2")
        }
    }
    

    What will be displayed in the console in the following cases:

    • Parent()
    • Parent("Value")
    • Child()
    • Child("Value")
    • Child(IntValue)

    Parent()

    Parent.a
    Parent.init
    Parent.b
    Parent primary constructor
    Parent arg value = Default arg for parent
    

    Parent(Value)

    Parent.a
    Parent.init
    Parent.b
    Parent primary constructor
    Parent arg value = Value
    

    Child()

    Parent.a
    Parent.init
    Parent.b
    Parent primary constructor
    Parent arg value = Default arg for child
    Child.a
    Child.init 1
    Child.init 2
    Child primary constructor
    

    Child(Value)

    Parent.a
    Parent.init
    Parent.b
    Parent primary constructor
    Parent arg value = Value
    Child.a
    Child.init 1
    Child.init 2
    Child primary constructor
    

    Child(IntValue)

    Parent.a
    Parent.init
    Parent.b
    Parent primary constructor
    Parent arg value = 2
    Child.a
    Child.init 1
    Child.init 2
    Child primary constructor
    Child secondary constructor
    

    Tips: Code in initializer blocks effectively becomes part of the primary constructor. Delegation to the primary constructor happens as the first statement of a secondary constructor, so the code in all initializer blocks and property initializers is executed before the body of the secondary constructor.

    Links

    Classes

    From Android Interview Questions (Apache 2.0)

  • What is the JavaScript version of sleep()?JavaScript

    2017 — 2021 update

    Since 2009 when this question was asked, JavaScript has evolved significantly. All other answers are now obsolete or overly complicated. Here is the current best practice:

    function sleep(ms) {
        return new Promise(resolve => setTimeout(resolve, ms));
    }
    

    Or as a one-liner:

    await new Promise(r => setTimeout(r, 2000));
    

    As a function:

    const sleep = ms => new Promise(r => setTimeout(r, ms));
    

    or in Typescript:

    const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));
    

    use it as:

    await sleep(<duration>);
    

    Demo:

    function sleep(ms) {
        return new Promise(resolve => setTimeout(resolve, ms));
    }
    async function demo() {
        for (let i = 0; i < 5; i++) {
            console.log(`Waiting ${i} seconds...`);
            await sleep(i * 1000);
        }
        console.log('Done');
    }
    demo();

    Note that,

    1. await can only be executed in functions prefixed with the async keyword, or at the top level of your script in an increasing number of environments.
    2. await only pauses the current async function. This means it does not block the execution of the rest of the script, which is what you want in the vast majority of the cases. If you do want a blocking construct, see this answer using Atomics.wait, but note that most browsers will not allow it on the browser's main thread.

    Two new JavaScript features (as of 2017) helped write this "sleep" function:

    Compatibility

    Read the rest at the sourceFrom Stack Overflow: asked by fmsf, answered by Dan Dascalescu (CC BY-SA 4.0)

  • Why did you leave your last job?Behavioural

    The employer may ask you questions about leaving your last job.

    If you've been out of work for a long time, explain why. Talk about the positive things you've done while away from work. For example, networking, retraining, volunteering or keeping fit.

    If you:

    • left by choice: be positive about why you want a new job and describe why their company suits you better
    • got made redundant: explain the situation, be positive and describe how you've responded since
    • were fired for misconduct or poor performance: explain why your standards dropped, what you've learned and how you've improved since the experience

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Full-stack developer jobs in the USA (448) and Remote Full-stack developer jobs in the USA (243)