[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How much help should new programmer guy get when he starts a

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 55
Thread images: 7

File: 1464190407039.png (311KB, 652x669px) Image search: [Google]
1464190407039.png
311KB, 652x669px
How much help should new programmer guy get when he starts a new job?
I got new job as backend dev and I have no idea what's going on, I work in GO and I used it before but never on this level.
I got help from a colleague only first 2 days to get started and now they left me in a fire and idk if I am stupid or what.
>>
>that op image
please tell me this is real life

kek
>>
File: 1472028504135.jpg (133KB, 629x800px) Image search: [Google]
1472028504135.jpg
133KB, 629x800px
>>56240279
Theres always a instructions online OP.
You're either too lazy or just too stupid to even google that.

>dat pic
>>
one month

if they don't help you just look at the source and documentation help files of the project/company and figure it out no matter how long it takes. (productivity should be the least of your concerns starting your first real job)

if you give up too easily this if you can't get help, this field is not for you (how did you pass college?)
>>
>>56240441
I was always good at programming at uni.
Just they have deadline until 1 of september and every is super busy. Ofc I google everything but I thought someone will explain me some of the code they have so it's easier to understand
>>
>get job
>can't figure shit out

One of my fears, OP.
>>
>>56240555
If you don't understand something about their code, ask. If you don't get an answer, ask someone else. If your colleagues don't help you, go to your boss. You're new. Act like it.

Whatever you do, don't try to wing it. And don't try to appear more competent than you actually are. You don't get fired right away for not knowing things nobody explained to you. You do get fired right away for guessing and causing an expensive fuck up.
>>
>>56240555
Doing programming assignments at uni is much different to working with a large, complex project with other people.

Biggest difference is probably you will spend much more time reading code than writing compared what you did at university.

Since you said you are good at programming, it shouldn't be too much problem understanding the raw code. I think it's better to ask questions regarding business implications, why this code is written to work this way or quirks unique to the project, rather that "what do these lines of code do" type of questions.
>>
Just bitch to everyone about how they should have commented every line of code and then leave to make your own start up that won't make such foolish mistakes.
>>
>>56240597
If you're hired and aren't qualified for the job, it's not really you that fucked up, but the person who hired you. And they're also usually the same person who can fire you. So you can get some slack in the beginning, just because your boss won't want to admit he was wrong, and won't want to restart the hiring process.
>>
>>56240279

If they hired you as a junior dev, then there is no shame in telling them that you need some time per day to read the docs and learn how the framework they are using works.

...

Of course if you are like me, and just lied about your skills to get a juicy check each month you TOTALLY don't deserve, do this:

1. Stackoverflow everything you have to do to make some progress in the morning and after lunch, prioritize shiny things over optimization (even if you work on optimization).

2. Two hours before leaving study some Go and whatever framework you are using (beego I image?) it won't look suspicious as you would be basically coding the tutorials and examples, and most of the time they will ask you how are you doing in the morning.

This worked for me in 2 big startups.
>>
>>56240279
This is exactly what happened to me. Most likely they have no expectation for you to do anything of value for the first ~3 months. Make sure you bust your ass and learn everything you can to get up to speed.

Also managers love when you say things like:
"How can I be more productive here?"
"I want to make sure I'm providing value, any tips?"

I'm sure you will figure it out, just be prepared to study and work hard.
>>
>>56240279
There's no better way to do the problem than OP's pic
>>
>>56240801
Bait.jpg
>>
>>56240840
Refute it
>>
>>56240801
>>56240843
var product = (a,b) => {
let c = 0
for (var i = 0; i < b; i++) {
c += a
}
return c
}

works only on positive numbers

(at least it's shorter)
>>
>>56240801
nigga what are loops?
>>
>>56240843
'for' loop
>>
>manual loop unrolling
Bretty gud
>>
>>56240801
>being retarded
>>
>>56240885
pleb
the right way:
var product = (a,b) => Array.apply(null, new Array(b)).map(()=>a).reduce(p=>p+a)
>>
>>56241043

Literally black magick
>>
>>56241043
Doesn't this only add a and b and finish?
>>
File: .png (12KB, 539x74px) Image search: [Google]
.png
12KB, 539x74px
>>56241386
reduce f.t.w
>>
File: 1420915642967.jpg (29KB, 600x579px) Image search: [Google]
1420915642967.jpg
29KB, 600x579px
>>56240871
>>56240801
>>56240857
>>56241043
product = a / (1 / b);
>>
>>56241555

I feel dumb having not considered this.
>>
>>56241662
It's wrong anyway because of rounding inaccuracy
>>
>>56242047

Fair point.
>>
>>56240279
Is there really someone who can't program that?

I have just started with JavaScript recently, complete beginner... a few days in ... I'm doing online FreeCodeCamp.com stuff only

I wrote this in a few minutes can't believe anyone with a CS degree couldn't do it


function CWO(a, b){
var x = 0;
for (i=0; i<1; i++){
x += b;
}
return x;
}

var Result = CWO(5, 5);

document.getElementById("result").innerHTML += " = " + Result;
>>
>>56242378
Do you think this is impressive, kid?
>>
>>56242047
nice assumption of language which does that
>>56242378
nice assumption of dom

also those variable names
>>
>>56242399
Nice life
>>
>>56242378

>brags
>posts code that doesn't work.

You know 5*5 isn't 5, right?
>>
>>56242378
>>56242441
Ahahahahahhahahahhahhhaha
>>
>>56242378

>for (i=0; i<1; i++) {

You were so confident, too.
>>
>>56242378
>>56242441
>>56242520
This is fucking great

>Is there really someone who can't program that?
>>
>>56242378
>i < 1

lmao
>>
>>56242378
>I'm doing online FreeCodeCamp.com
That site is a scam for retards and you're living proof of that
>>
>>56242378
Someone screenshot this shit and get it on reddit
>>
File: scout.jpg (3KB, 125x90px) Image search: [Google]
scout.jpg
3KB, 125x90px
>>56242378
All that confidence and you failed so hard
>>
>that garbage-ass old-standard browser-JS solution that doesn't even work
let mult = (x,y) => { return new Array(x).fill(y).reduce((a,b)=>{return a+b}) }

> mult(5,5)
25
>>
>>56242707
>not omitting the { when everything is a return statement
var mult = (a,b) => new Array(a).fill(b).reduce((a,b)=>a+b)


btw i posted something pretty similar
>>
Haskell:
mul a b = product [a, b]
[\code]
>>
I tried implementing this in brainfuck but it was difficult for me

it's something like
,>,[-[<->>+<]]
though

I know it involves making copies of the first two positions when looping but I just can't do it, my brain isn't good enough

anyone else want to take a crack at it?
>>
>>56242964
You are clearly a beginner.
 mul a b = sum $ concat $ replicate a (replicate b 1)
>>
>>56242925
>>56243156

these two are the most elegant solutions in this thread
>>
>>56243242
Elegance is needing to include a massive library to multiply
>>
File: 3123.jpg (17KB, 259x285px) Image search: [Google]
3123.jpg
17KB, 259x285px
>>56242047
>It is wrong 'cuz this theoretical pseudo-code does not work on very certain implementations and conditions
Here you go, does this soothe your autism?
c = (int)((a / (1 / b)) + 0.5f);
>inb4 limit reduced because of integer scope of IEEE75 < int
>>
>>56243156
I'm not a beginner.
import Data.Function (fix)

(...) = (.).(.)

mul = foldl (+) 0 ... fix (\f x y -> if x == 0 then [] else y : f (x - 1) y)
>>
plebs
function add(a, b) {
if(b == 0) return a
return add( a ^ b, (a & b) << 1)
}
function product(a, b){
let c = 0
for (var i = 0; i < b; i++) {
c = add(c, a)
}
return c
}


someone just make an arithmetic-only XOR and AND
>>
>>56243591
This is way more appropriate, indeed.
>>
>>56241555
Actually genius
>>
>>56241555
That doesn't work with integers.
1/b is either 0, 1 or division by zero
>>
>>56242047
kys my doode :^)
>>
File: 1431027850485.jpg (125KB, 1224x1445px) Image search: [Google]
1431027850485.jpg
125KB, 1224x1445px
>>56244124
>what is pseudocode
It would work on languages with autocast on integer division like perl. I never declared any variables and basically I took the bait.
Thread posts: 55
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.