Lead Engineer, Full Stack (US)
Full-stackPosted over 2 months agofrom Code and Theory's own hiring page
- Work type
- On-siteNew York, Austin
- Experience
- Not stated
- Pay
- $140k–180k a year
- Posted
- Over 2 months agoOpen 2 months
Skills it mentions
Add your skills to see which ones you have.
About the job
Code and Theory is seeking a full-stack lead engineer to help build The Machine, our agentic operating system for marketing. This is a senior, hands-on role, setting technical direction, developing the team, and staying in the code building, the AI-native digital platforms, and user experiences that power enterprise marketing workflows. The engineer will work closely with Engineering, Product, and Design to build performant, scalable applications across web and AI-enabled systems, leading through the work itself, coordinating across functions, and gathering the information that shapes roadmaps and priorities.
The Machine is the agentic operating system for marketing, built by Code and Theory. It plugs into the tools marketing teams use and turns disconnected workflows into a single intelligent system, connecting brand strategy, creative production, and media performance. The Machine helps power agencies across Stagwell's network and world-leading brands.
WHAT YOU'LL DO
- Own the technical direction for features and systems across the full stack, setting standards for scalability, correctness, and maintainability that the team builds against
- Build and maintain modern front-end applications using React and Next.js, focusing on correctness, for long term maintainability, and integration with back-end services
- Own complex API integrations end to end, setting the contracts, validation standards, and reliability bar for how internal and external systems communicate
- Build maintainable and well-structured application logic
- Lead cross-disciplinary alignment on architecture, data flow, and technical trade-offs
- Lead technical discussions, architectural reviews, and problem-solving sessions, shaping how the team approaches hard engineering decisions
- Set the bar for code quality, and define and enforce standards for clean, maintainable, well-documented code across the team
- Mentor and develop engineers, actively growing junior talent through code review, knowledge-sharing, and modeling strong engineering practices
- Help define the vanguard for emerging technologies and frameworks, applying them to projects quickly and effectively to improve the health of our systems over time
WHAT YOU'LL NEED
- Ability to build independently to figure out how something works for the user
- Self-direction, curiosity, and comfort with ambiguity
- Bias toward action
- Experience in an IDE or harness of choice
- Backend in Python, Node.js, or Go
- Infrastructure and infrastructure as code (GCP, AWS, or Azure; Terraform, Pulumi, or similar; Kubernetes and networking principles)
- SQL and NoSQL databases (relational schema design and vector embeddings for AI search)
- Event-driven systems such as SQS, SNS, Kafka, or RabbitMQ
- Frontend in React and modern CSS such as Tailwind
- CI/CD with GitHub Actions, CircleCI, or Jenkins
- An understanding of build, bundling, imaging, and publishing pipelines
- Familiarity with AI-native development tools like Cursor, Devin, or Claude Code
- Experience with agentic frameworks and infrastructure such as Google ADK, LiteLLM, LangChain, or similar
NICE TO HAVE
- Experience in agency, consultancy, or enterprise SaaS organizations
ABOUT US
Born in 2001, Code and Theory is a digital-first creative agency that sits at the center of creativity and technology. We pride ourselves on not only solving consumer and business problems, but also helping to establish new capabilities for our clients. With a global client roster of Fortune 100s and start-ups alike, we crave the hardest problems to solve. We have teams distributed across North America, South America, Europe, and Asia. The Code and Theory global network of agencies is growing and includes Kettle, Instrument, Left Field Labs, Create Group, Current, and TrueLogic.
Striving never to be pigeonholed, we work across every major category: from tech to CPG, financial services to travel & hospitality, government and education to media and publishing. We value the collaboration with our client partners, including but not limited to Adidas, Amazon, Con Edison, Diageo, EY, J.P. Morgan Chase, Lenovo, Marriott, Mars, Microsoft, Thomson Reuters, and TikTok.
The Code and Theory network is comprised of nearly 2,000 people with 50% engineers and 50% creative talent. We're always on the lookout for smart, driven, and forward-thinking people to join our team.
The compensation range for this role is $140,000 to $180,000 and spans multiple levels. We're open to hiring at the level that best matches the right candidate's experience. Actual compensation is influenced by a wide array of factors including but not limited to skill set, level of experience, budget, and location.
Interested?Lead Engineer, Full Stack (US) at Code and Theory
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Terraform, CI/CD, React and 10 more
Interview questions for this job
For the skills the ad mentions: Terraform, CI/CD, React, Next.js, Python, Node.js, Go, Google Cloud, AWS, Azure, Kubernetes, Networking and SQL.
What is IaC? What is Terraform?Terraform
Infrastructure as Code, or IaC, is the practice of automating the provisioning of your cloud resources through code, rather than manually on the console. It facilitates for better tracking of resources, and allows for infrastructure configurations to be replicated over various projects.
Terraform is one of many tools that fall under IaC. It'a used by engineers across the board as it's reusable, cloud agnostic and idempotent.
From Tech Vault (Apache 2.0)
What happens if a pipeline fails?CI/CD
When a pipeline fails, execution stops immediately and the failure is reported. This prevents invalid or unstable code from progressing to later stages such as deployment.
Failures are logged with clear output, allowing developers to identify issues such as test failures, syntax errors, misconfigured environment variables, or broken dependencies. Early failure is intentional and protects production systems while encouraging fast correction.
From Tech Vault (Apache 2.0)
What are Pure Components?React
Pure components are the components which render the same output for the same state and props. In function components, you can achieve these pure components through memoized
React.memo()API wrapping around the component. This API prevents unnecessary re-renders by comparing the previous props and new props using shallow comparison. So it will be helpful for performance optimizations.But at the same time, it won't compare the previous state with the current state because function component itself prevents the unnecessary rendering by default when you set the same state again.
The syntactic representation of memoized components looks like below,
const MemoizedComponent = memo(SomeComponent, arePropsEqual?);Below is the example of how child component(i.e., EmployeeProfile) prevents re-renders for the same props passed by parent component(i.e.,EmployeeRegForm).
import { memo, useState } from "react"; const EmployeeProfile = memo(function EmployeeProfile({ name, email }) { return ( <> <p>Name:{name}</p> <p>Email: {email}</p> </> ); }); export default function EmployeeRegForm() { const [name, setName] = useState(""); const [email, setEmail] = useState(""); return ( <> <label> Name:{" "} <input value={name} onChange={(e) => setName(e.target.value)} /> </label> <label> Email:{" "} <input value={email} onChange={(e) => setEmail(e.target.value)} /> </label> <hr /> <EmployeeProfile name={name} /> </> ); }In the above code, the email prop has not been passed to child component. So there won't be any re-renders for email prop change.
In class components, the components extending
React.PureComponentinstead ofReact.Componentbecome the pure components. When props or state changes, PureComponent will do a shallow comparison on both props and state by invokingshouldComponentUpdate()lifecycle method.Note:
React.memo()is a higher-order component.From ReactJS Interview Questions & Answers (MIT)
Is using Redux with Next.js an anti-pattern?Next.js
If you have a custom App with getInitialProps then the Automatic Static Optimization that Next.js provides will be disabled for all pages.
True, if you follow this approach.
Is there a better way ?
Yes, you can create a Redux Provider as a wrapper and wrap the component you need, the redux context will be automatically initialized and provided within that component.
Example:
const IndexPage = () => { // Implementation const dispatch = useDispatch() // ... // ... return <Something />; } IndexPage.getInitialProps = ({ reduxStore }) => { // Implementation const { dispatch } = reduxStore; // ... // ... } export default withRedux(IndexPage)You have now the possibility to use Redux only for the pages which need state management without disabling the optimization for the entire App.
Answering you question "Is using Redux with Next.js an anti-pattern?"
No, but it needs to be used properly.
More info on how is done here: https://github.com/vercel/next.js/tree/canary/examples/with-redux
I hope this helps
From Stack Overflow: asked by Jamie S, answered by ddon-90 (CC BY-SA 4.0)
How do you make a higher order function in Python?Python
You have two choices: you can use nested scopes or you can use callable objects. For example, suppose you wanted to define
linear(a,b)which returns a functionf(x)that computes the valuea*x+b. Using nested scopes:def linear(a, b): def result(x): return a * x + b return resultOr using a callable object:
class linear: def __init__(self, a, b): self.a, self.b = a, b def __call__(self, x): return self.a * x + self.bIn both cases,
taxes = linear(0.3, 2)
gives a callable object where
taxes(10e6) == 0.3 * 10e6 + 2.The callable object approach has the disadvantage that it is a bit slower and results in slightly longer code. However, note that a collection of callables can share their signature via inheritance:
class exponential(linear): # __init__ inherited def __call__(self, x): return self.a * (x ** self.b)Object can encapsulate state for several methods:
class counter: value = 0 def set(self, x): self.value = x def up(self): self.value = self.value + 1 def down(self): self.value = self.value - 1 count = counter() inc, dec, reset = count.up, count.down, count.setHere
inc(),dec()andreset()act like functions which share the same counting variable.From Python Frequently Asked Questions (PSF License Version 2)
Why should we hire you?Behavioural
The strengths employers look for will depend on the job role. They may ask you questions like:
- what are your main strengths?
- why should we hire you?
You can use specific examples to highlight your strengths, such as:
- communication - to show you get on with others
- problem solving - to show that you can find solutions
- enthusiasm - to show that you have a positive attitude to work
- flexibility - to show that you can adapt to different ways of working
Plan your answers around 2 or 3 examples that are relevant to the job. You can back these up with qualifications or training you've done.
From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Full Stack EngineerSonarSource, Austin, on-site3 days ago
- Founding Software EngineerClera, San Francisco Bay Area, on-siteToday
- Full-Stack Developer, Music & AudioMelotech, Remote in the US +2Today
- Full Stack DeveloperSCA Pharma, Remote in the USToday
More like this: Full-stack developer jobs in New York (74), Jobs in New York (6,234) and Full-stack developer jobs in the USA (448)



