/dpt/ - Daily Programming Thread

What are you working on, Sup Forums?

Other urls found in this thread:

github.com/vhf/free-programming-books/blob/master/free-programming-books.md
github.com/open-source-society/computer-science
youtube.com/watch?v=Grss9Zqxdng&list=PLi2hbezQRVS2ZCv2kVjtQ7jWQIt4Pzjuc
rust-lang.org/en-US/
twitter.com/NSFWRedditGif

First for Haskell

Second for OCaml
FP rulez

>Two official websites

nice :-D

I got this

Making a bootloader for some ATMega328's and then putting uLisp on a barebones board so i can free up this arduino

>Yes hello, how do i do dependent types in haskell
>...

Why isn't there a reading list by people I can trust on how to start programming from scratch? things either seem unprofessional or too advanced to pick up from nothing.

>pick language
>find a book
>start learning

github.com/vhf/free-programming-books/blob/master/free-programming-books.md

you don't have to trust me

Learn C. It's fundamental. Get Dietel's C book. Then get K&R.


After that you can pick your flavour of autism. There are many: Functional programming, OOP, ASM, (((Rust))), (((D))), Sepples, Java, etc

but what's DA BES book?
I prefer proprietary books.

cabal install idris

OpenSource NodeJS Forum software which interface is inspired by Social Media Platforms.

I'm honestly more interested in your project though that looks like it does something worth interest.

Thank you. I'll try that.

*one official website

thats right lad.

I honestly thing the whole "not trusting people" and "too advanced stuff" is your excuse to not force yourself to start learning. Seriously, Python is one of the best beginner languages i've seen out there and I see A LOT of good learning material for people who haven't programed shit before.

>lad
What information did you intend to convey with this?

github.com/open-source-society/computer-science

cant vouch for them, but give it a go.

This is a good link,

It is mostly videos?

Learning on edX

>TFW too many courses I want to take and will do so but scared I'll wipe out

Not for certificates btw

I see programmers on Sup Forums talk about how different interview test are depending on the type of programming job you are applying for. But how many different types of programming jobs are there?
I could only think of like web dev, network security, or video games.
pls help im stupid.

Python is not a good language for anyone. It is especially bad for beginners because it imbues them with false notions and bad habits.

Haskell is a meme language. The only haskell projects on github are shitty translations of projects written in superior languages. You're all faggots

There's good programmers and there's shitty ones.
Framework and industry don't matter because it's trivial to pick up a new one

The shitkell community is so edgy they made two official websites for the same languages

language*

There are two variants of Haskell: Haskell 97 and Haskell 2010. It is unsurprising that there are two websites. Only a memer would try to make a mountain out of this molehill.

>that damage control

C has many more variants as well. Don't tell me haskell broke compatibility

>dude just ignore fragmentation lmao

>that ignorance of facts

What are you talking about. It's designed to teach basic concepts. Forced indentation, for example, teaches new developers when indentation is important.

Of course it has broken compatibility in some areas, that's the price of progress.

Why is it apparently okay when Python does it, but not when Haskell does it?

the Russian shitposters are waking up, I see.

Python doesn't try to pretend that it's the best language

Shitkell does

You best be joking m8. Indentation is one of the least important things in a language or in programming.

wtf I hate haskel now

>Shitkell does
Nice source for that claim.

A language that never breaks backward compatibility is a language that never evolves.

this desu ne
But a language that keeps around its old junk is shit.

It's a basic of writing readable code. It doesn't mean it's one of the single most important things in programming, but if you're telling me learning to write readable code isn't important you MUST have brain damage or be a REALLY shitty developer.

Is there a a MATLAB book that can help me understanding programing sorting algorithms?

Also, I could not tell you how many times i've seen new developers in college write code without indenting anything. it's so fucking ugly.

>tfw actually love using terminal
>vim turns out to be shit
Do I actually have to learn emacs now?

All I need is to be able to
1. Keep files open in different tabs and
2. Be able to (un)comment and (un)indent

A language that never breaks backward compatibility is a stable language.

Vim is great bro, just learn it better

terminal based, you could use nano... but I'd really suggest learning emacs. it's amazing. and if that's all you really want, only learn those features I guess?

Sometimes you don't need to indent code, especially in a language that enables you to be concise.

t. used vim for 10 minutes and cant get his rc working

This. He got your ass, You're not looking at this through a beginner's perspective. A beginner does not know when they need to indent code or why. Look at this as if it's someone who knows NOTHING about programing.

I've never been able to pick up and like using python and I've tried multiple times because it was a "good beginner language"

I went from C# -> C -> Lua -> C#. C# is a really good language and visual studio community is a very good learning environment and there's tons of tutorials on beginning programming with C#.

This is a very good high quality series
youtube.com/watch?v=Grss9Zqxdng&list=PLi2hbezQRVS2ZCv2kVjtQ7jWQIt4Pzjuc

There really isn't a "right" place to start learning programming you just do stuff and your knowledge grows and expands. When people say python is a "good beginner language" I'm wondering if they're talking about.
>it doesn't use semicolons
>its a scripting language where you can type stuff into a parser and get results without a compilation/linking step
>it uses english syntax for a lot of stuff
>I think it uses generic/dynamic tables instead of typesafe data structures

All that stuff is meme-shit though it doesn't actually make it easier to learn and make stuff with. Really the only languages I think are bad to learn with BY YOURSELF WITHOUT HELP. Is C and C++ because getting a development environment up and running with an easy compilation/linking process requires more knowledge than many other languages and its easy to fuck that up and not even be able to start learning.

Visual Studio Community with C# hides stuff via abstraction and automation which is semi-bad for learning but for the first few years of programming I think its a great place to start where you're just learning how to build projects and use data structures and shit.

Maybe I just have shit taste though.

C is the shit

If you want a stable language, you can pick a version and stick with it. This leaves you with the option of upgrading if necessary later.

Choosing a language that never improves is like digging a grave for yourself.

added a an extra word there m8

C is the?

>the
a*

I can see why you'd say Python is a good beginner language but it really isn't imo. It's a good language to get people interested cause it's easy and simple, but it isn't a good language to actually learn proper programming. Not 'good programming' in an elitist stuckup way, it's like... python is like the crossfit of programming, easy and fun to pick up but makes you pick awful habits

1. Pick any language.
2. Pick any book.
3. Try reading book from last step.
4. If you get stuck go back to step 2.
5. Pic.

Lua is said to be designed for people who don't know how to program, but it always looked more overwhelming to me than necessary, I did use it for a short period of time but I couldn't get into it.
I started with visual basics 6.0, went to C#, then C++. After C++ I learned to use python, and I saw some very serious percs. It was like visual basics only without the shitty keywords.

I don't /actively/ use python though, i only use it for simple stuff, like Discord Chat Bots, or unit tests.

(I also use languages like Node and shit, but they're not really as relevent.)

I see what you're saying, but languages that "Evolve" tend to deprecate older versions."

Visual Basics 6.0 for example is a language that was used commonly back in the day and there's still open source software out their that relies on it, it doesn't mean i can use that codebase in a more up to date version of VB. And there's no proper conversion without basically rewriting the entire code base.

>What are you working on, Sup Forums?
Making good progress on my media database thing (tagging media for filtering/etc). The media viewer now displays animated gifs and I'm in the process of wrapping the libvlc library to add audio/video file support. Then I can organize and browse all my shit efficiently. By shit I mean porn. And reaction images.

The point of that exmaple being that obtaining VB6 today requires you to have an expensive MSDN license, DreamSpark, Piracy, Or get lucky and buy it overpriced on Ebay.

You are going to release it under a free license right?

WAIT WAIT WAIT
VB6 IS PAID?
HAHAHAHAHAHAHAHAHAHAHAHHA

That's for CS degree memers who want to work in Silicon Valley until their startup gets off the floor.

There's a massive amount of development outside it, like embedded systems.

>like Node and shit
But you repeat yourself.

Lua is fucking meme. I just listed it because I tried it out for game dev and almost immediately went back to C# and started learning XNA/Monogame. I mean I'm sure people can make stuff in LUA/Love2d fine but the quirks of the language were not palatable for me.

Use a terminal emulator with tabs then? Terminator has that and tiling, as do many others.

how's the market out there for embedded programming, doing software for fuckin dishwashers and shit like that, i'd be into that but dunno where to start looking for that kinda work

Yep. At some point in the coming weeks, I'll probably be putting it on github.

if youre not writing in assembly for a pic or whatever that is you should seriously consider suicide

Reminder that every adult male should know at least 5 programming languages according to Stroustrup-sama.

i think it's designed to be an extension language. As in, to be primarily used to extend other applications. I know I've seen it used in a few games like Garry's Mod.

The console says rust.
rust-lang.org/en-US/

Python
JS
C
Rust
Java
Bash
D
Go

Compiled my c/sdl2 game using Emscripten. It's actually working alright, holy shit. Wasm gonna kill Javascript, right?

What about adult females?

in other words kys

>writing in assembly for a 32-bit microcontroller

Why?

It's not the 80s anymore, grandpa.

What if he doesn't want to kiss his sister?

show me some delicious ASM.

I kissed my sister a few times. It wasn't that bad but then we grew up.

Python mostly.

Threadly reminder that dlang-chan is not dead, and she's super duper cute and fast! Say something nice about her, /dpt/!

Pick a different character faggot. It looks horrible

>but then we grew up
It could lead to two different interpretations...

She looks pretty healthy for a zombie.

Don't bully her, user. Or else!

Or else what? You'll get upset?

I'll fight you 1v1 on arabia, you piece of shit!

Im working with PHP, JavaScript, and Python currently

You'll catch std.exception

What's wrong with Fortran? Why nobody uses it? It's bretty neat.

>dlang
Slow

t. Rust chan

>slow
>rustc is even slower
>sjw shitfest

kys

Who cares about compilers when produced binary is faster?

Just use CL.

A Java octal calculator. Still working.

I'd say that's mainly because of the GC, but it's still a p. damn fast language