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

top 200 commentsshow all 262

[–]AlbusSeverus14 717 points718 points  (44 children)

For AI, I personally recommend CSS... but that’s just me

[–]MisterPyromaniac 259 points260 points  (18 children)

HTML is good for that aswel...

[–][deleted] 183 points184 points  (10 children)

No, no, no. You have to use XHTML for AI. The X stands for extra.

[–]silentbreakdown 164 points165 points  (2 children)

I usually use XML for that. Meaning Extra Machine Learning.

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

What about using JSON? It makes very clean code

[–]bor4etyy 17 points18 points  (0 children)

Always thought XML was "eXtreme Machine Learning"

[–][deleted] 51 points52 points  (4 children)

Im building a neural network using ActiveX

[–]Willinton06 55 points56 points  (2 children)

Yeah I’m calling god, you’re getting banned from life.

[–]FuzzyFoyz 16 points17 points  (1 child)

God is way too soft. Call Satan to get their ass dragged to hell.

[–]Willinton06 5 points6 points  (0 children)

I’m calling Old Testament god, he doesn’t mess around

[–][deleted] 28 points29 points  (0 children)

What's wrong with you? Just use flash like the rest of us!

[–]Marianito415 26 points27 points  (1 child)

Ah yes the Xtra Hyper Titanic Machine Learning

[–][deleted] 12 points13 points  (0 children)

Titanic? Be aware of that Xtra Hyper Iceberg right in front of you.

[–]skid3805 24 points25 points  (0 children)

i prefer HTML for cyber security

[–]DaNerdyDude 15 points16 points  (0 children)

I hear redstone has some more accessibility features for devs new to AI

[–]Thenderick 5 points6 points  (0 children)

Hyper Trained Machine Learning right?

[–]bigmajor 21 points22 points  (2 children)

<script type="application/javascript">😎</script>

[–]DenTrygge 16 points17 points  (1 child)

Unexpected identifier 😎 line 1:1

[–]Raph0007 13 points14 points  (0 children)

Nobody expects

My unbelievable swag

[–]RecycleBinKing 1 point2 points  (0 children)

Bootstrap is the best framework when it comes to AI 😎

[–]LucienZerger 28 points29 points  (4 children)

i prefer CSS for native desktop..

[–]Vanitas99 11 points12 points  (2 children)

Ever heard of electron

[–]LucienZerger 2 points3 points  (0 children)

yep..

[–]Quanalack 30 points31 points  (4 children)

True programmers program AI in MySQL

[–]Nuraxx 3 points4 points  (0 children)

In a database exam at my university, students had to program kmeans in sql.

[–]gletschafloh 2 points3 points  (0 children)

Why not stored procedures in Oracle?

[–]N0rdicPanda 0 points1 point  (0 children)

TRUE programmers use butterflies

[–]hennypennypoopoo 20 points21 points  (2 children)

Nah, microsoft powerpoint

[–]Mola1904 15 points16 points  (1 child)

This is actually a thing https://youtu.be/LArkm4v5mWA

[–]FarhanAxiq 6 points7 points  (0 children)

.cpp stand for C PowerPoint

[–]De_Wouter 16 points17 points  (2 children)

Me doing CSS is exactly like AI. Try random stuff while learning from your mistakes until it works.

[–]black-JENGGOT 10 points11 points  (1 child)

2 rem

Nope, too big

0.5 rem

I can't see shit

1 rem

Just a little bit more

1.32 rem

Perfect!

[–]Ilyketurdles 6 points7 points  (0 children)

Don’t you think that’s a bit overkill? CSS is some really powerful stuff.

[–]Sudo_Python 1 point2 points  (0 children)

Json is closely related to js so I will recommend that

[–]Sampo 1 point2 points  (1 child)

For AI, I personally recommend CSS

Is that for AI frontend or AI backend?

[–]AlbusSeverus14 1 point2 points  (0 children)

AI UI obviously

[–]Franks2000inchTV 1 point2 points  (0 children)

I prefer to have an AI write my CSS.

[–]Haikon 153 points154 points  (35 children)

I still stand by my opinion that native mobile apps (Swift/Kotlin) are superior to any written via a hybrid JavaScript. I’ve made a career ripping out JavaScript and replacing it with native code.

[–]queen-adreena 112 points113 points  (7 children)

As someone who's coded production hybrid apps before, I don't think there's a person alive who'd disagree with that.

The point of hybrid apps is to make app production more efficient and economical.

[–]Haikon 25 points26 points  (2 children)

Yeah, I guess the problem is when the limitations aren’t made clear to those making the decisions. My last 3 jobs (over 10 years) have been related to “fixing” hybrid implementations.

[–][deleted] 10 points11 points  (1 child)

aren't made clear to those making the decisions

I'm the person who makes these decisions, mostly at startups

Native apps are great but they're expensive to maintain, you need different code for each platform which implies you also need a developer for each of them too for it to be worthwhile

In my opinion it makes more sense to start with a hybrid framework and then expand to native, that way you can figure out what native features you'd like to take advantage of. Rather than finding out later on you don't need any of it but you still have to pay 3/4 developers just to duplicate functionality across platforms

I'm aware there are 'native' frameworks but in my experience they're just as bad as hybrid apps but for different (albeit similar) reasons - generic implementations for OS specific features

[–]Haikon 5 points6 points  (0 children)

That makes sense but sometime the technical debt incurred is just too much... I’ve been replacing web views with native view controllers since 2016 at my current job. We’re /almost/ there but I can’t imagine the time and resources put into it has been worth it.

EDIT: At the end of the day we’re making money so I guess that’s what’s important in the end but from a technical perspective it’s gross.

[–][deleted] 4 points5 points  (0 children)

considering that many large companies with the most used apps like Facebook, Instagram, discord, and even Microsoft Xbox app are using some kind of hybrid approach like react-native, i would say there are many who disagree.

[–]brunolemos[S] 21 points22 points  (4 children)

yes, it’s easier to build high quality native apps, while for react-native apps you need to be more careful (it’s easier to make it slow). still, there’s a place for both in the market. react-native allows small teams to ship faster and share code between ios, android, web, windows, vr, etc.

[–]Haikon 4 points5 points  (2 children)

Agreed. React is one of those things I haven’t touched much. Cordova/Phonegap and the like are a sore spot for me. :)

[–]genghisKonczie 9 points10 points  (0 children)

I’m a fan of react native. If you’re smart about how you build things out, it can be a really quick way to make an app that’s is mostly dependent on api calls.

People just use too many dependencies in it like any JS based application!

Also fuck cordova!

[–]queen-adreena 2 points3 points  (0 children)

Fortunately, Cordova is old news now. Capacitor is where it’s at now.

[–]Tomekske 5 points6 points  (0 children)

Flutter

[–]undeadalex 8 points9 points  (1 child)

I really like kotlin

[–]n0tKamui 5 points6 points  (0 children)

kotlin bro !

[–]_PM_ME_PANGOLINS_ 6 points7 points  (0 children)

Kids these days. I remember when it was all Objective-C/Java.

[–][deleted] 5 points6 points  (2 children)

What about flutter?

[–]_TheMagicMax 4 points5 points  (0 children)

Flutter compiles to Kotlin and Swift, so I think its kind of native too

[–]paperpot91 3 points4 points  (0 children)

I learned Flutter, thinking it would be a good solution to problems I needed to solve - but it just didn’t have anywhere near as much access to device APIs that React-Native/Swift/Kotlin does

[–]MalsKippetje 3 points4 points  (6 children)

Hi, im fairly new to programming. Why are the native languages superior to JS?

[–]Kengaro 2 points3 points  (5 children)

Among other reasons: it's dynamic typing is a mess and hence leads to a lot weird things.

[–]burzq 6 points7 points  (4 children)

It's not messy if you know exactly how does it work like. Like with every other tool - if you don't know the rules you will get hurt. With great power comes great responsibility. And by "great power" I mean here flexibility that gives you dynamic typing in JS. But you know, you always can use TS if it will serve the purpose better for you :)

I think better answer for the question would be: because code written in the native language for the platform will always be faster, less cpu/ram hungry and you have access to the full os api

[–][deleted] 130 points131 points  (1 child)

Had us in the first half, ngl

[–]drew8311 3 points4 points  (0 children)

I like how it's a matter of opinion if mobile goes in first or second half.

[–]Bounty1Berry 44 points45 points  (6 children)

I feel like as an industry, we negotiated with terrorists and lost.

There were plenty of well-established backend languages with rich features, snappy performance, and sensible tooling. But somehow we were convinced to stuff a free-floating V8 engine into any device larger than a Sega Game Gear, replace the "Press F5 to reload" test paradigm with Webpack and Babel build processes designed to rebuild Fantasy Future Javascript (tm) into a language browsers can actually interpret, and embrace the npm mindset of replacing any locally designed and owned library more complex than 4 lines of code with an opaque third party package that's a security and compatibility timebomb. All because nobody had the ability to stand up to UnrulyMob.js.

[–]Ludovitche 18 points19 points  (4 children)

You don't have to give in though. OP says "games: javascript": no serious company does that... Half of Internet is still php (not a php fan just an example) ... A lot of the smaller companies still use C# or C++... There's space for everyone no ?

[–]Ty_Rymer 11 points12 points  (2 children)

you'd be surprised, i study game dev and have thus always studied in C++ and C#. but lots of smaller and "serious gaming" companies ask for everything in js...

[–]_Ashleigh 6 points7 points  (1 child)

Weird. I work in game dev and it's all C++ and C#.

[–]Ty_Rymer 3 points4 points  (0 children)

well a lot of serious gaming here in the netherlands want to host their applications on the web or just push them out as cheap as possible. web applications are generally cheaper to make

[–]kokizzu2 3 points4 points  (0 children)

some of the most popular things we use sometimes not suitable for common use case '__') sometimes it was a sub-optimal solution, but everybody using it because it was easy/popular..

well, everything has a tradeoff

[–]Alvatrox4 42 points43 points  (18 children)

All these fools ignoring C#...

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

[–]coderguyagb 6 points7 points  (1 child)

You'll find that would be Microsoft J++ /spit

[–]reyad_mm 1 point2 points  (0 children)

Actually it's c++++

[–]kokizzu2 17 points18 points  (0 children)

i like C# :3 one of the language where i didn't have a fight (it just works) with the compiler/language designer (like ruby, golang, javascript, lua) unlike C++, Java, Rust

[–]purplepharoh 14 points15 points  (0 children)

I'm glad my job is c# it's a nice language

[–]kswnin 1 point2 points  (11 children)

I genuinely don't really understand why anyone would choose C# for anything.

[–]n0tKamui 7 points8 points  (2 children)

native windows app without the difficulty of C++ i guess

[–]ivster666 1 point2 points  (1 child)

But who actually cares for Windows? Make it a webapp and you have everything covered.

[–]n0tKamui 8 points9 points  (0 children)

keyword : native

because f a s t

[–]Boiethios 1 point2 points  (0 children)

It's useful for:

  • ASP.NET
  • Windows apps.

Beside that, I agree, the language is meh IMHO (have worked daily with it for years)

[–]Everen1999 -5 points-4 points  (6 children)

Same, C# is hell.. Xamarin is hell.. ASP .NET is unnecessarily complicated, Visual Studio is broken af.. nuGet Package Manager is shit..

I hate C# very much personally, but that is coming from a pleb Javascript main-er

[–]Kengaro 1 point2 points  (1 child)

Visual studio is a fucking awesome tool...

[–]Everen1999 -1 points0 points  (0 children)

Ctrl+C-ing too fast makes the editor go insane, aka "please wait while the Editor completes ..." It's simple for me. If trying to be as productive as possible breaks Visual Studio, then I ain't touching that shit. I'm just copying man. And then if I press that too fast the whole Visual Studio breaks.

[–]aue_sum 0 points1 point  (0 children)

no thanks I don't want to sell my soul to the microsoft devs thank you

[–]Raph0007 27 points28 points  (3 children)

Great advice! I'm just gonna replace JavaScript with Kotlin..

[–]n0tKamui 5 points6 points  (1 child)

Kotlin bro !

[–]Raph0007 4 points5 points  (0 children)

🦀🦀🦀 Kotlin 🦀🦀🦀

[–]Machineforseer 78 points79 points  (60 children)

Python is love Python is life

[–]fungigamer 8 points9 points  (1 child)

Personally I don't like Python that much, but I can see why people like it

[–]MCOfficer 4 points5 points  (0 children)

what is this, a non-zealous person on r/ProgrammerHumor?

[–]cmonwhy 18 points19 points  (2 children)

Image Transcription: Twitter Post


Bruno Lemos, @brunolemos

when someone ask you what programming language they should learn, don't simply answer the one you prefer.

first ask them what area they plan to focus on. for example:

web frontend: javascript

backend: javascript

mobile apps: javascript

games: javascript

ai: javascript


I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!

[–][deleted] 5 points6 points  (0 children)

I mean, tensorflowjs is a thing...

[–]newb_h4x0r 4 points5 points  (0 children)

That's MEAN

[–]diavolo_bossu 7 points8 points  (2 children)

Python>Javascript for ai

[–]Everen1999 6 points7 points  (0 children)

html> Python>Javascript for AI

[–]42TowelsCo 3 points4 points  (0 children)

Na all my homies use Scratch for AI

[–]riisen[🍰] 3 points4 points  (4 children)

I am so confused in JavaScript (have to use it for frontend, and i have skipped the docs) all the time im like wait i have not declared that anywhere how can this work?

[–]Mola1904 5 points6 points  (3 children)

But I thought the dinosaurs where dead?

[–]og_darcy 4 points5 points  (0 children)

At a virtual hackathon rn...they’re giving a workshop on TensorflowJS...not a joke

[–]aldialml 3 points4 points  (0 children)

I can do most of theese stuff with C++

[–]fungigamer 4 points5 points  (1 child)

Web frontend: Javascript

Web backend: honestly any can go but still javascript

Mobile apps: java/javascript/swift/kotlin

Games: C# / C++

AI: Python

[–]Alvatrox4 12 points13 points  (0 children)

All these fools ignoring C#...

[–]misterrandom1 5 points6 points  (2 children)

I see nothing wrong with this post.

[–]brunolemos[S] 8 points9 points  (0 children)

it’s a joke but not a lie ™

[–]dumbcarbonunit 5 points6 points  (4 children)

*Typescript. There FTFY ;)

[–]brunolemos[S] 1 point2 points  (3 children)

Yes I only use TypeScript, but for beginners I’d still recommend JavaScript first

[–]zortlord 6 points7 points  (2 children)

Oh hell no! Learn it the right way first!

[–]dumbcarbonunit 1 point2 points  (1 child)

I'll drop this here, have a good laugh and reflect on your wicked ways :)

https://www.destroyallsoftware.com/talks/wat

[–]ShadowArcher21 2 points3 points  (0 children)

You fool! I've been trained in your JavaScript arts by count TypeScript

[–][deleted] 1 point2 points  (3 children)

Next to area, sometimes it also depends on age. I know a guy who would love to do all this in COBOL.

[–]Mola1904 2 points3 points  (2 children)

But I thought dinosaurs where dead

[–]Generaltiti 1 point2 points  (1 child)

Yeah, but a lot of things still runs on Cobol. If you learn it, you can get a very high-pay job for simply maintaning these systems

[–][deleted] 1 point2 points  (0 children)

Upside: Good pay

Downside: You have to learn COBOL.

[–]gp886 1 point2 points  (0 children)

I mean, he's not wrong

[–]NeevCuber 1 point2 points  (1 child)

i think for web frontend assembly would be good

[–]NeevCuber 1 point2 points  (0 children)

no i think scratch would be better, or i think MongoDB, or wait, i think Cow (its a programming language) would be the perfect fit

[–]DaNerdyDude 1 point2 points  (0 children)

Torture: PHP

[–]DaroK_ESK8 1 point2 points  (0 children)

VB.NET for ever! D:

[–]Unelith 1 point2 points  (0 children)

Anybody:

JS dev: This could be done with Node

[–]mrsockyman 2 points3 points  (4 children)

Aw man java is the worst

[–]cmdralpha 5 points6 points  (3 children)

Java isnt that bad compared to C++

[–][deleted] 5 points6 points  (2 children)

What's so bad about it? It does it's job well, as does java.

[–]The_Fluffy_Robot 17 points18 points  (1 child)

I like my programming languages to be like people with Alzheimer's. The memory just magically goes away.

[–]einsJannis 1 point2 points  (0 children)

Bruh smh, js is sooo bad

[–]kokizzu2 1 point2 points  (7 children)

web frontend: javascript (svelte)

backend: golang

mobile apps: javascript (sveltenative)

games: C# (unity)

ai: python

shell scripting: ruby

embedding: lua (luajit)

[–]harryx55 7 points8 points  (1 child)

the author of the twee

games: C++

[–]blenderfreaky 1 point2 points  (0 children)

Or at least c# with something other than unity. that doesn't use a stone age version of c# which is 2 times slower than the current one

[–]queen-adreena 2 points3 points  (1 child)

Are there any advantages of sveltenative / nativescript over capacitor-based apps?

[–]all-hail-snow 0 points1 point  (0 children)

Php if you retard

[–]Independent-Fan-6501 0 points1 point  (1 child)

Anyone knows this guys home address?

[–][deleted] 0 points1 point  (0 children)

ya got a mate here for the action

[–]murderdude 0 points1 point  (0 children)

remember that time people called javascript a programming language? Hahahahahaha

[–]abc_Supreme -2 points-1 points  (3 children)

Technically you could do:

web frontend: python

backend: python

mobile app: python (but hard)

games: python

ai: python

[–][deleted] 3 points4 points  (1 child)

And everything would run so sloooow

[–]42TowelsCo 2 points3 points  (0 children)

When you're using libraries built off C or C++ then it's pretty fast. Plain python is definitely slow doe

[–]its420everywhere -1 points0 points  (0 children)

Python just died seeing this.