Skip to content

Instantly share code, notes, and snippets.

//What I'm trying to work out stylistically is that is it a code smell to do something like, calling into an object heirachy
//Like this => this.setFirstName(order.getCustomer().getFirstName());
//The "ORDER" creates a "CUSTOMER", the "CUSTOMER" has properties that the order calls down into
public class Usage {
public OrderResponse createOrder(CustomerOrder order) {
OrderProcessor processor = new OrderProcessor();
CustomerOrderPayload customerOrderPayload = new CustomerOrderPayload() {{
using System;
using System.Collections.Generic;
using System.Linq;
namespace ArrayStructure
{
public struct Maybe<T>
{
readonly IEnumerable<T> values;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
//Using Maybe.cs
namespace ArrayStructure
{
[TestFixture]
public class Tests
{