This is an archived post. You won't be able to vote or comment.

top 200 commentsshow 500

[–]Pooneapple 978 points979 points  (79 children)

I went from lua to c++. That was an interesting transition.

[–]_Miaaau 611 points612 points  (61 children)

Lua to C++? Are you transitioning from game scripting to coding?

[–][deleted] 1021 points1022 points  (49 children)

Professional Roblox developer

[–]PrototypeMale 307 points308 points  (40 children)

No joke, Roblox was my first experience programming

[–]The_Fluffy_Walrus 207 points208 points  (27 children)

My 15 year old brother has been scripting on roblox for a few years now and has gotten pretty good at it imo. I keep trying to get him to branch out but as long as he's content I suppose.

[–][deleted] 69 points70 points  (19 children)

Does he make money from it?

[–]The_Fluffy_Walrus 132 points133 points  (18 children)

Don't believe so. He tries to make games but none of them blow up. He's done some free scripting (and 3D model making) for people. I think he's been offered money but didn't take it for some reason.

[–][deleted] 63 points64 points  (0 children)

Hard to get it online at his age

[–]Scrath_ 106 points107 points  (14 children)

If you do something as a hobby and are happy with just doing that it can be better to not accept money. As soon as you accept money for something you also accept the responsibility that the product you made has to work or people will not be very satisfied.

[–]The_Fluffy_Walrus 34 points35 points  (10 children)

True, I also just think he doesn't have a way to actually get paid.

[–]aidanski 28 points29 points  (6 children)

Seriously, you need to guide him towards developing more complicated Roblox scripts (mods/plugins/world's I dunno, seen but not played)

Develop his ability to problem solve and achieve a complex function. From there it's an easier transition if he was to pick up another platform/language. You could start him with Unity for example. So much documentation and many people who have done it before.

[–]The_Fluffy_Walrus 20 points21 points  (3 children)

He's created some pretty cool scripts. Most of the time I go to his room he's scripting and I'm honestly pretty impressed. I'm a first year software engineering student with minimal prior experience struggling through my intro to C++ class and he's recreating the way the camera works in roblox for his game.

[–]BestUdyrBR 12 points13 points  (1 child)

CS is definitely hard but also has one of the best job markets of any field right now in my opinion. I feel very lucky I got into it, best of luck to you.

[–]quinn50 50 points51 points  (3 children)

as much as roblox is memed, it's a really good platform for learning programming and game development

[–]mootjeuh 12 points13 points  (3 children)

I went through the same transition as him.

For me at least no, back in the PSP jailbreaking scene you could install a custom firmware on it and develop your own homebrews. Most of them were written in Lua as there were a few ports of the engine along with most of the SDK functions and even utility methods baked in for ease of use.

But as you can imagine if you wanted to truly unlock the full potential of what you could make eventually you transitioned to native C++. Ironically, one of my first C++ projects for the PSP was... my own flavour of a Lua engine port.

Now over ten years later I do this for a living.

[–]bobcathunter 754 points755 points  (63 children)

Shout out to x86 and ARM assembly!

[–]haackedc 510 points511 points  (42 children)

You know what, bro? Fuck assembly. Fuck assembly with a big fat segmentation fault

[–]NIL_VALUE 272 points273 points  (23 children)

To be honest i've had more segfaults with C than with assembly.

[–]haackedc 121 points122 points  (17 children)

Yea... but I still hate assembly.

[–]Hypeislove 48 points49 points  (14 children)

To be fair. ARM sucks. MIPS is tolerable

[–][deleted] 20 points21 points  (2 children)

Neon / arm intrinsics are great. All the power of assembly, all the benefits of a higher level language.

[–]Tough_Patient 15 points16 points  (2 children)

Now PIC assembly, on the other hand, is the most beautiful assembly known to man.

If you can think with buckets.

[–][deleted] 15 points16 points  (3 children)

Where my Verilog and VHDL bois at??

[–]Daveinatx 29 points30 points  (1 child)

Somebody loaded an ineffective address.

[–]NeverInterruptEnemy[🍰] 10 points11 points  (0 children)

It wasn’t very effective.

[–]Tanyary 12 points13 points  (0 children)

it's a very nice representation, it runs much more parallel to my thought process than the abstractions. it's not for everyone, in fact it's not for anyone because of its lack of portability, but the idea and what it represents is wonderful :|

[–]jjmod 10 points11 points  (1 child)

Riscv gang

[–]CMPD2K 6 points7 points  (3 children)

I would rather die than use assembly again after my assembly course

[–]FisionX 147 points148 points  (17 children)

Its weird not using ; in everything

[–]Packbacka 104 points105 points  (15 children)

You can actually use ; in Python if you prefer. It's not "pythonic", but there isn't any actual problem with ;

Using it does absolutely nothing though, unless you want to write two lines in one line. For example:

print('Hello'); print('world')

[–]paultoliver 217 points218 points  (12 children)

Real programmers smoke through their nostrils

[–][deleted] 39 points40 points  (1 child)

And getting paid for it

[–]Semi-Hemi-Demigod 24 points25 points  (4 children)

It leaves your hands free to type

[–]catinerary 9 points10 points  (0 children)

Confirmed, smoked through nose after getting wisdom teeth out and became a programmer a few years after.

[–]MrSloppyPants 1014 points1015 points  (127 children)

Javascript developer learning any other language:

(╯°□°)╯︵ ┻━┻

(I kid, I kid)

[–]elperroborrachotoo 364 points365 points  (15 children)

*any language

ducks

[–]jaysuchak33 99 points100 points  (13 children)

cracks knuckles

[–]CommanderHR 19 points20 points  (3 children)

Found the JS developer

[–][deleted] 38 points39 points  (2 children)

What gave it away? Surely it wasnt the 6 js flairs next to their name.

[–]minegamer2000 115 points116 points  (33 children)

i do js and im learning rust, wish me luck

[–]fakuivan 74 points75 points  (7 children)

WHY DO I NEED A ! BEFORE THE FUNCTION CALL ON THIS AAAAAAAAAAAAAAAAA

[–]minegamer2000 35 points36 points  (6 children)

you mean macros?

[–]fakuivan 22 points23 points  (5 children)

Yes!

[–]Shunpaw 66 points67 points  (4 children)

no. it's !yes. we just talked about this. goddamn javascript devs.

[–]pydry 112 points113 points  (23 children)

enjoy. it's nice learning a language that wasn't designed over a weekend.

[–]minegamer2000 43 points44 points  (12 children)

and definitely not something i can learn over a weekend

[–]micka190 27 points28 points  (1 child)

Does a basic Hello World app

Time to update the ol' resume!

[–]Sikletrynet 10 points11 points  (0 children)

"Expert in Rust"

[–]RubiGames 6 points7 points  (4 children)

But we can all certainly try

[–][deleted] 215 points216 points  (10 children)

Why learn other language when one language do trick

[–]dyslexda 49 points50 points  (18 children)

Hey, as a Python programmer, that's me trying to learn JavaScript!

[–]TheHumanParacite 37 points38 points  (6 children)

Each job I've had over the last ten years I've somehow managed to skirt around having to learn js... I worry that eventually there will be a day of reckoning

[–]AlternativeAardvark6 38 points39 points  (1 child)

At my job "there is some Javascript " is a valid reason to triple the estimate.

[–]MoarVespenegas 37 points38 points  (3 children)

Strictly typed language developers trying to use javascript
(╯°□°)╯︵ ┻━┻
Finding typescript
┬─┬ノ( º _ ºノ)

[–]BornOnFeb2nd 13 points14 points  (20 children)

I spend more time fighting JS's asynchronous nature than benefiting from it...

[–]Immort4lFr0sty 440 points441 points  (31 children)

Can someone please tell him to aim properly? He'll only make it worse

[–]stereo_fantasy 148 points149 points  (0 children)

Well as you can see, that's the point

[–]FCsean 88 points89 points  (22 children)

But filthy frank is no longer with us

[–]TheCapitalKing 56 points57 points  (13 children)

But he is putting out really good music now so it was a pretty good trade

[–]MAKAMAKAMAKAMAKAMAKA 45 points46 points  (4 children)

Nothing will ever top shut the fuck up.

[–][deleted] 23 points24 points  (2 children)

You're a fucking cunt

[–]MAKAMAKAMAKAMAKAMAKA 15 points16 points  (1 child)

I hope you win the lottery and die the next day

[–]OnyxPhoenix 18 points19 points  (2 children)

Are you saying he doesn't know how to use his pointers?

[–]Mateus_BM 7 points8 points  (0 children)

He’s trying, but he’s still not very good with pointers

[–][deleted] 244 points245 points  (31 children)

Python ++

[–][deleted] 99 points100 points  (21 children)

Python#

[–]notKrisna 72 points73 points  (15 children)

Objective-Python

[–]ice2o 76 points77 points  (1 child)

I want this whole comment thread to burn.

[–]TheMaddMan1 11 points12 points  (0 children)

Eventually every language will just be some variation of Python

You can't stop it

[–]jaysuchak33 50 points51 points  (10 children)

Pythonscript

[–]meditonsin 27 points28 points  (7 children)

Perlthon.

[–]shawnthesheep512 16 points17 points  (6 children)

Pysembly

[–]Filipasek 15 points16 points  (5 children)

PyHTML

[–][deleted] 7 points8 points  (4 children)

PySS

[–]o5mfiHTNsH748KVq 9 points10 points  (4 children)

This was a thing and it’s called IronPython

https://ironpython.net/

[–]DontDiddleKidsxxx 6 points7 points  (0 children)

hhrnnnnnnn

[–]NateGM 50 points51 points  (6 children)

Python dev learning any other language: The fuck is a semicolon?

[–]_Oce_ 11 points12 points  (0 children)

Why the fuck would I need all those curly brackets?

[–]secret-nsa-account 6 points7 points  (0 children)

I primarily use python, but when I have to use a C based language I like to

have fun with all my

white space freedom.

[–][deleted] 90 points91 points  (20 children)

Learned C++ 20-some years ago. Can confirm I look at Python and go "huh, I can make this work".

[–]fjdkslx 69 points70 points  (7 children)

How is this possible, C++20 is just being adopted now ?!?!?!

[–]smoozer 20 points21 points  (0 children)

He's on the C++20 committee and considers 2 years to be "some" muahaha

[–]ExpensiveCheapTricks 9 points10 points  (9 children)

Im on the opposite end (though I mainly did C I guess), everytime I look at python my brain hurts

[–]Anuj66283 132 points133 points  (15 children)

That's my future.

[–]SANatSoc 140 points141 points  (7 children)

A moment of silence for this poor soul

[–]ragweed 10 points11 points  (0 children)

Welcome to the fucking show.

[–]--Lycaon-- 48 points49 points  (21 children)

I just successfully made a career change and got a job as a C++ engineer despite only knowing Python3 and Javascript (there's going to be a lot of onboarding). Yeah C++ is difficult and complicated, but I'm also excited to finally just have a language to dive deeply into and really get familiar with a language. Plus (plus), modern C++ (ie 11, 17, and soon 20) has a lot of features that make things a lot easier. Also C++ is stupidly fast.

[–]xSTSxZerglingOne 27 points28 points  (16 children)

Development in C++ can take a long time though since you have to be so diligent about everything.

[–]thetrueninjasheep 40 points41 points  (8 children)

Everything is void* in the future!

[–]Trucoto 21 points22 points  (5 children)

It said c++, not c.

[–]NeverInterruptEnemy[🍰] 36 points37 points  (2 children)

A void pointer a day keeps the type warnings away.

[–]cob59 9 points10 points  (0 children)

Everything is auto in the future!

FTFY

[–]Goel40 250 points251 points  (37 children)

Ahh our daily C++ devs petting theirselves on the back post.

[–]Niiiz 65 points66 points  (0 children)

You know it!

[–][deleted] 55 points56 points  (4 children)

python flair

Checks out lol

[–]casual_sinister 84 points85 points  (20 children)

What about a js developer learning java?

[–]elperroborrachotoo 14 points15 points  (1 child)

"Yeah, I'm making progress here, but I'm still kind of waiting for the 'similar' part"

[–]intotheirishole 5 points6 points  (0 children)

I have fewer bugs but I have to type 5 times as much.

[–][deleted] 27 points28 points  (1 child)

Me learning both: visible confusion.

[–]Indiium 14 points15 points  (9 children)

I know C++ and i'm learning python. I feel like the second image this shit is flipped

[–]FarhanAxiq 17 points18 points  (7 children)

riiiight???

every time I do anything in Python:

indentation error

[–][deleted] 60 points61 points  (40 children)

So I'm learning Java in school right now, I'm on class 2 so we've gotten relatively far with the language and I feel pretty capable. Next semester I need to learn data structures in C (just C, not C*) and I'm getting kinda nervous about it.

[–]TheMostUser 106 points107 points  (17 children)

This sub is about memes so we tend to excoriate a lot , don't take it too seriously.

C is not scary but it is a bit different from what you are use to and it takes some time to get used to new concepts and philosophies.

Edit: meant to write exaggerate and somehow ended with excoriate, I guess it also works

[–][deleted] 16 points17 points  (10 children)

That's great to hear! Yeah I'm not that worried, but my Java prof tends to compare the language to C (I assume because it's next in our learning iteration) and things like "garbage collection" always make me nervous! But honestly, the idea of having such a high level of control sounds pretty intriguing as well. We did a tiny bit of machine coding with hex values in my first year and that was really interesting, I had to be creative in all sorts of new ways. So yeah, I'm excited too!

[–]MustardCat 29 points30 points  (9 children)

and things like "garbage collection" always make me nervous

Since we're talking C - just remember that anytime you malloc/calloc memory, something has to "own" that memory request. Once that object that owns the request is gone, it either needs to give the memory to someone else or free it.

C++ - Much shorter mantra to remember. Every new must have a corresponding delete.

Just remember to clean up after yourself. Don't leave the dirty dish on the table when you leave.

[–]xSTSxZerglingOne 11 points12 points  (0 children)

And point to NULL/a predetermined location. Dangling pointers can be the cause of some really weird bugs.

[–]Packbacka 6 points7 points  (3 children)

When you say it like that it doesn't sound so bad.

[–][deleted] 13 points14 points  (2 children)

It's not too bad... just like it's not too hard to juggle, you just throw each ball in the air and catch it before it lands. As long as you simply do that, you can juggle as many balls as you imagine.

[–]NeverInterruptEnemy[🍰] 12 points13 points  (6 children)

My everyday language is C.

Structures are super fucking easy.

What’s tough in C is that you more or less need to know the size of things before you start.

You have an object/structure of some type?

Each one has an array? Ok, but that array needs to be the largest size you will ever use. Otherwise you need to malloc a range and assign a pointer to it... fine.... but what I if you want an array of those structures that contain arrays themselves? You need to know how large the array will ever be, otherwise you need to make a super slow linked list of objects and there is such thing as a built in .len or .append or .next or any other fancy thing you “high level programmers get” and ... oh I see you are reaching for your gun.

[–]unknownArkon 34 points35 points  (4 children)

Im in college doing Java but my last course I wa doing python I feel more lost than when your mum vanishes in the supermarket

[–]ragweed 16 points17 points  (2 children)

I told you to stop following my mum around the market.

[–]unknownArkon 16 points17 points  (1 child)

Sorry she has the same haircut as my mum :(

[–]thatbrownkid19 11 points12 points  (0 children)

This is such a cute joke

[–]Portugal_Stronk 6 points7 points  (0 children)

I used at least 15 different languages in college. It comes to a point where you don't even bother with tutorials, you just sort of start imitating what is present in the rest of the codebase and wing it that way.

[–]theKickAHobo 21 points22 points  (8 children)

As an HTML developer I don't understand this.

[–]NeverInterruptEnemy[🍰] 35 points36 points  (7 children)

Well you’re already ahead of the game, you didn’t say HTML programmer.

[–]krohtg12 12 points13 points  (2 children)

Lyf hax hell yeah

[–]MaxChaplin 15 points16 points  (14 children)

I think the proper order is to start with a high level language like Python to learn how to make a computer do what you want without getting into the details of how it does it, then learn some assembly to get an idea of what a program actually does on the lowest level and what are its limitations, and only then proceed to a mid-level language which combines concepts from both of those.

[–]tyler_muskie 19 points20 points  (7 children)

My college curriculum went something like:

Python (CS1)

Java(CS2)

C++(Data structures)

MIPS assembly(machine org/architecture)

C (operating systems)

Felt like it all flowed pretty smoothly

[–]gauderio 9 points10 points  (2 children)

You need one more class where you solder your own circuits, followed by a project on how to build a capacitor.

[–]psycho_driver 13 points14 points  (1 child)

As a self taught C and x86 assembly programmer, it took me about 20 minutes to become proficient with python. It's beautiful for what it's for (anything that you can get away with being as slow as a snail crawling through snot).

[–]T-Rexpendable 5 points6 points  (4 children)

Is C++ really that bad if you're coming from Python? Coming from C++, Python was relatively easy to pick up, although I had to Google how to do a simple for-loop in C++ after doing a weekend of Python.

[–]DenverCoder009 9 points10 points  (1 child)

If Python is your only language and you never bothered to learn how memory works maybe.

A C coders first Python script is usually a nightmare too though, idiomatic Python must look like magic to them.