Amateur code

Amateur code

Other urls found in this thread:

w3.org/TR/payment-request/
twitter.com/AnonBabble

shoo university of pakistan alumni. go get your java code for fiverr to compile.

who is Lerna Jason?

Too many static classes and singletons. This can affect testability and readbility.

worst coding ive seen so far, not even LARPing

did you read the tests?

you are definitely. provide criticism if you aren't.

Anyome who's beem following REQ for a while knows their code is absolute spaghetti dogshit.

No wonder they are out sourcing.

Low tier FUD copypasta

Just check that magic strings and hard coded conditionals. This will gonna end bad.

Where are ya looking?

Now that I'm looking, it is weird how many static public objects there are. What is getter and setter

>What is getter and setter

the absolute state of the FUDding pajeets

Classic example of buy high, sell low. Stop with the FUD pajeet, REQ is going up without you and your lost money

Why REQ when this?

w3.org/TR/payment-request/

yikes, if this weren't baseless pajeet fud I'd be worried about that

for someone who isnt technical what does this look like?

Just check the code by yourself, big pajeet.

>This will gonna end bad
what did he mean by this

>w3.org/TR/payment-request/

Completely different use case. Why did you make me read this??

I know 0 shit about coding but I think I'll trust the REQ team on this over literal pajeets in a horse semen worshippers forum.
/thread

not good, but then when they have been releasing the code in the past it was also not so good so I'm disappointing but not surprised.

thanks buying more

Some of the best code I've ever seen.

Like any of these larpers can read code.

Thanks just bought 777k

Fantastic code

Request network: A decentralized network built on top of Ethereum, which allows anyone, anywhere to request a payment.

Payment request API:

This specification standardizes an API to allow merchants (i.e. web sites selling physical or digital goods) to utilize one or more payment methods with minimal integration. The merchant that runs an online store, or other party that requests to be paid.

>I'm disappointing but not surprised.
Found the pajeet

Holy fuck mods can we please get flags on this board, this entire thread's quality is fucking terrible filled with pajeet grammar.

What the fuck where did all of you come from.

Never seen such an obvious pajeet. Hope you get cancer in the balls.

holy fuck decided to check the code for myself and this is the first thing I see

>function elementaryName (name) {
> if (name.startsWith('int[')) {
> return 'int256' + name.slice(3)
> } else if (name === 'int') {
> return 'int256'
> } else if (name.startsWith('uint[')) {
> return 'uint256' + name.slice(4)
> } else if (name === 'uint') {
> return 'uint256'
> } else if (name.startsWith('fixed[')) {
> return 'fixed128x128' + name.slice(5)
> } else if (name === 'fixed') {
> return 'fixed128x128'
> } else if (name.startsWith('ufixed[')) {
> return 'ufixed128x128' + name.slice(6)
> } else if (name === 'ufixed') {
> return 'ufixed128x128'
> }
> return name
>}

Uhhhhh guys?

Explain pls

Holy fuck. This is big

holy fuck just bought 100k

so whats it mean

wow just sold 100k

This mean that the team is composed of the biggest indians of the whole history.

this is why only cute girls should be programmers

Holy shit I just simultaneously bought and sold 100K

...

looks like just a quick & dirty hack. something I'd not go back and fix because it's not worth the time
for example a similar section would look like:

func TestTypeCheck(t *testing.T) {
for i, test := range []struct {
typ string
input interface{}
err string
}{
{"uint", big.NewInt(1), "unsupported arg type: uint"},
{"int", big.NewInt(1), "unsupported arg type: int"},
{"uint256", big.NewInt(1), ""},
{"uint256[][3][]", [][3][]*big.Int{{{}}}, ""},
{"uint256[3][3][3]", [3][3][3]*big.Int{{{}}}, ""},
{"uint8[][]", [][]uint8{}, ""},
{"int256", big.NewInt(1), ""},
{"uint8", uint8(1), ""},
{"uint32", uint32(1), ""},
{"uint64", uint64(1), ""},
{"int8", int8(1), ""},
{"int64", int64(1), ""},
{"uint24", big.NewInt(1), ""},
{"uint96", big.NewInt(1), ""},
{"uint240", big.NewInt(1), ""},
{"uint248", big.NewInt(1), ""},
{"int24", big.NewInt(1), ""},
{"int88", big.NewInt(1), ""},
{"int96", big.NewInt(1), ""},
{"int104", big.NewInt(1), ""},
{"int112", big.NewInt(1), ""},
{"int248", big.NewInt(1), ""},
{"uint30", uint8(1), "abi: cannot use uint8 as type ptr as argument"},
{"uint16", uint16(1), ""},
{"uint16[3]", []uint16{1, 2, 3}, ""},
{"uint16[3]", []uint16{1, 2, 3, 4}, "abi: cannot use [4]uint16 as type [3]uint16 as argument"},
{"address[]", []common.Address{{1}}, ""},
{"address[1]", []common.Address{{1}}, ""},
{"address[1]", [1]common.Address{{1}}, ""},
{"address[2]", [1]common.Address{{1}}, "abi: cannot use [1]array as type [2]array as argument"},
{"bytes32", [32]byte{}, ""},
{"bytes19", [19]byte{}, ""},
{"bytes3", [3]byte{}, ""},
{"bytes2", [2]byte{}, ""},
{"bytes1", [1]byte{}, ""},
{"string", string(""), ""},
{"string", []byte{}, "abi: cannot use slice as type string as argument"},
{"bytes32[]", [][32]byte{{}}, ""},
{"function", [24]byte{}, ""},
{"bytes20", common.Address{}, ""},
{"address", [20]byte{}, ""},
{"address", common.Address{}, ""},
} {

none of the people commenting even know what it mean, its just fud

It means we got fucking pajeeted. Fuck.

fuck bought 100k more

This is better. That Pajeet literally checked string names instead of using an interface and doing a type check. Fugging kek. This is why I'm pretty much only in bluechips - BTC, ETH, XMR, and only 5% of my wealth in ERC20 tokens.

justjavascriptythings.

My mind is fucking blown that this codebase is worth millions

Beep boop beep boop... code code code... I don't know what any of this shit means.

i'm not worried. I've seen worse codebases that are worth billions :))

Looks okaish, some hacks, so what. Better give examples/suggestions on how to improve it. That's why it's open source.

You're so right. New grad SE but i've heard the stories and based off the vulnerabilities that have been exploited at large companies I can only imagine.

So would I be able to earn millions with shit code as such?

> boolean moon = true;
> if(moon==true) { gibMeMoney(50000000000)}

Why don't we all do this???

When's the ICO?

There's so much bullshit on this board that you literally don't know what the fuck is ever happening

>Code is shit
>Code is god
>Bought 9000k
>Sold 9000k
>PAJEETS REEEEEEEEE

I just want to know whether or not i should dump my shit without needing to get a fucking compsci degree you niggers

> if (2+2 == 4){bool moon = True}
>if (moon == True){bool amrich= True}

you're not thinking like a bizness person.

Saavy businesses optimize for product release time. Whoever gets their shit on the market first, with a meh product is better than someone who takes a year longer but has perfect shit. (nothing is perfect)
A company is willing to pay the immense prices of steep technical debt (horrendous code) if it means just shaving some time to get the product out faster.
i know personally because my job was basically keeping the project going with tech support because the code was so goddamned awful.
i wont say where i worked but everyone has heard of it.

so when i see someone cut corners on a stupid type check, i don't give a shit.

It's OK. Keep it.

were not going to get those types of answers here

Oh SHI-

Who you gonna trust. A team who's been dedicated and consistent about their work, or some niggers in a salmon hunting forum?

I always hold one slot in my portfolio for high risk & high reward which was currently REQ until I just sold right now.
I'm also a professional software engineer for a fortune 500 company and looked at the mainnet code on GitHub and must say that it's not good.
Lots of spaghetti code and a beginner level of knowledge about JavaScript/TypeScript. The developer doesn't know how to make meaningful commits and doesn't even know Git which you can see that he pushes commented code. I'm honestly disappointed.

In my professional opinion if you hold REQ you should sell before it's too late.

ITT LARPers and FUDders

user, new SE without much git experience. Why do we not push commented code?

>What the fuck where did all of you come from.

South-West Asia.

I sold my req based on whats most likely a fucking larp on Veeky Forums and am switching back into Link. This can only lead to ruin desu.

Because Git allows you to see the difference between versions. Meaning if something goes wrong, you can do a rollback and keep your codebase clean.

Or something like that.
t. CompSci undergrad

user means he commited commented out code

That's what you get when women want to larp as programmers.

Not the same guy but its horrible practice because it breaks the flow of your code. When a dev sees commented out code, their first instinct will be to read and understand it which takes valuable time away from understanding the actual code. Its messy and a waste of time. Always commit without commented out code. There's no situation in which the repo should have anything but exactly what's needed at the time, even when it's in progress. Otherwise you're just leaving smeared shit in your codebase that may stay there forever.

Its version 0.0.3 fucking pajeets

I’m a senior code writer and the code is not good and will not pass any audit. I guarantee you that. Let’s hope they improve it. I see many many errors immediately.

Version 0.0.3 of your thesis/first project was probably perfect already, so you submitted it and got your degree instantly from the bottom tier college of the shithole where you studied.

Stop LARPing and FUDding.

config.ts has this:

// import * as config from './config.json';
const config = require('./config.json');
export default config;

Were they using Python on earlier versions?

Holy fuck I thought you meant he committed with comments describing his code. Committing commented out code is the most retarded thing ive ever heard.

just sold

0.5 btc loss

fuck me

>a senior code writer

>there are people on this board that literally own 0 REQ


RIP

I have a hardcore IT background, working in the branch for 10 years now as coder and IT-Security-Specialist and I can tell you the code is fine, for sure there is some room for Improvement, but it's fucking version 0.0.3
People are fuding because it's fucking Veeky Forums, don't listen and buy more REQ, this one will go parabolicm mark my words.

Was going to post something like this. I think everyone realizes theres meme FUD in here, but if anyone is lurking and actually worried about the code quality - its fine. In test cases especially you end up hard coding a lot of inputs.

If you think anyone on biz knows how to code is deluded

Biz is Veeky Forums cancer atm

comfy af with 25k req

Actual developer here. Had a few other devs look too. The typescript is clean as fuck. Stop fudding

Senior developer here. I just caught the fucking janitor making this post
from my computer while I was grabbing a coffee.

got any insight to any of this? im in the medical field so its all foreign

Hey vsauce michael here
Im all in req

Their code is fine - maybe a bit messy, but fine. Anyone in the industry knows exactly how messy things can get when you're trying to deliver a product. At least they're being transparent and have a tangible product as opposed to the vaporcoins spouted on this board daily.

r8 my fresh oc guise

Just went all in. Ready for moon soon!

Plus they're going to be audited by QSP.

And these guys were vetted by Peter Thiel and YCombinator.

You can't be chopped liver and receive that kind attention.

This thread is filled with so many codelets, no wonder all of you are poor.

Seriously this FUD is beyond weak

>200 million for literal pajeet code

moon when

have you ever heard of John Spano?

>former owner of the Islanders is a con artist
kek

Hey guys im a computer science Phd and I just reviewed the code. The code is revolutionary and if you don't buy now then there's no helping you.

Sold 100k and bought 200k omg

You know what's hilarious, REQ holders always call anyone who shits on this shitcoin a pajeet but the only reason REQ is maintaining it's price is because of PAJEETS. Its a literal pajeet coin.


REQuesting the req ruppe photoshop

while this is true they are really only propping up our gains. those fucks will sell quicker than the adhd kids her