Message from @picnicnapkin

Discord ID: 481444839913684993


2018-08-21 12:43:05 UTC  

i tend to use it for quick and dirty stuff, and scripting, but then most of what i do now is performance focused, and its all c++

2018-08-21 12:43:22 UTC  

but then you have the AI and machine learning people and all they use is python

2018-08-21 12:43:35 UTC  

Is Python more flexible?

2018-08-21 12:43:39 UTC  

yes

2018-08-21 12:43:51 UTC  

there are plenty of solid and serious systems using python, but they were mostly designed by people who just wanted their code to work so that they could do something deep and complex without having to deal with stuff they didn't really care about during the planning of their project

2018-08-21 12:43:54 UTC  

the syntax is less cryptic than other languages

2018-08-21 12:44:31 UTC  

a lot of my projects run on python simply so that people can figure out what it does much more easily

2018-08-21 12:45:01 UTC  

usually when I write implementations of algorithms I make, such as Sphinx2, i'll do it in c++ for speed and rewrite it in python so that people can understand it

2018-08-21 12:45:20 UTC  

though nowadays I tend to do it the other way round because it's more efficient

2018-08-21 12:46:08 UTC  

so yeah

2018-08-21 12:46:13 UTC  

python is more flexible by far

2018-08-21 12:47:08 UTC  

but it's nowhere near fast unless you use pypy (which is kind of a drop in replacement to CPython in a lot of ways), but the problem with pypy is that if you're calling C-based modules, it'll slow down like crazy which is why it's recommended to use something called CFFI with pypy, but not many modules support it so yeah

2018-08-21 12:47:10 UTC  

This may sound odd, but are there grammar/logic guides for various languages?

2018-08-21 12:47:37 UTC  

ehhh ... you just need to code some programs 😉

2018-08-21 12:48:08 UTC  

kay

2018-08-21 12:48:18 UTC  

well I mean, if you want somewhere to start, let's just say your first project is going to be entirely made out of stackoverflow.com snippets

2018-08-21 12:48:49 UTC  

unless you're making a hello world program, in which case it'll just be one stackoverflow.com snippet

2018-08-21 12:49:06 UTC  

lol stackoverflow is every programmers best friend

2018-08-21 12:49:19 UTC  

here are some simple projects to get started

2018-08-21 12:49:54 UTC  

but you should start with a python "hello world" tutorial

2018-08-21 12:50:13 UTC  

because it sounds like you starting from absolute zero programming

2018-08-21 12:50:30 UTC  

YUP

2018-08-21 12:50:37 UTC  

I did say I was a noob

2018-08-21 12:50:42 UTC  

😛

2018-08-21 12:50:59 UTC  

Wasn't really sure how to get started.

2018-08-21 12:51:14 UTC  

Or which language to start with

2018-08-21 12:51:33 UTC  

i have heard good things about this "book"

2018-08-21 12:51:49 UTC  

my only suggestion is to use VSCode rather than Atom as your editor

2018-08-21 12:52:34 UTC  

do NOT use notepad or Word or Wordpad to edit code

2018-08-21 12:52:53 UTC  

well I mean, everyone starts with Python, a lot of people end with Python- don't trick yourself into thinking Python is a beginner's language though- it's not. It depends on what you're making. when beginners use Python, they're likely using a very small and very simple fraction of it's capabilities- there's far more you could end up working with depending on what you make.

2018-08-21 12:53:00 UTC  

oh yeah

2018-08-21 12:53:04 UTC  

and don't use Atom editor

2018-08-21 12:53:08 UTC  

it's for people with severe brain damage

2018-08-21 12:53:16 UTC  

Atom is gross.

2018-08-21 12:53:21 UTC  

Very slow.

2018-08-21 12:53:40 UTC  

VS Code is cool but still Electron-based (another reason why I hate Discord lmao), I'd recommend Geany but it's linux-only

2018-08-21 12:54:20 UTC  

all Electron developers must be eradicated under the holy order of the C++ emperor

2018-08-21 12:54:23 UTC  

vscode performance is amazing considering its electron. and i have a few hundred MB of ram to spare

2018-08-21 12:54:54 UTC  

yeah, VS code isn't entirely electron so that's probably why