Thread #108275562
File: 20180502181055.png (77.5 KB)
77.5 KB PNG
The great debate (part two) edition.
>Free beginner resources to get started with HTML, CSS and JS
https://developer.mozilla.org/en-US/docs/Learn - MDN is your best friend for fundamentals
https://web.dev/learn/ - Guides by Google, you can also learn concepts like Accessibility, Responsive Design etc
https://eloquentjavascript.net/Eloquent_JavaScript.pdf - A modern introduction to JavaScript
https://javascript.info/ - Quite a good JS tutorial
https://flukeout.github.io/ - Learn CSS selectors in no time
https://flexboxfroggy.com/ and https://cssgridgarden.com/ - Learn flex and grid in CSS
>Resources for backend languages
https://nodejs.org/en/learn/getting-started/introduction-to-nodejs - An intro to Node.js
https://www.phptutorial.net - A PHP tutorial
https://dev.java/learn/ - A Java tutorial
https://rentry.org/htbby - Links for Python and Go
https://quii.gitbook.io/learn-go-with-tests - Learn Go with Tests
>Resources for miscellaneous areas
https://github.com/bradtraversy/design-resources-for-developers - List of design resources
https://www.digitalocean.com/community/tutorials - Usually the best guides for everything server related
>Need help? Create an example and post the link
https://jsfiddle.net - if you need help with HTML/CSS/JS
https://3v4l.org - if you need help with PHP/HackLang
https://codesandbox.io - if you need help with React/Angular/Vue
/wdg/ may or may not welcome app development discussion. You can post and see what the response is.
Some app technologies of course have overlap with web dev, like React Native, Electron, and Flutter.
We have our own website: https://wdg-one.github.io
Submit your project progress updates using this format in your posts, the scraper will pick it up:
:: my-project-title ::
dev:: anon
tools:: PHP, MySQL, etc.
link:: https://my.website.com
repo:: https://github.com/user/repo
progress:: Lorem ipsum dolor sit amet
Previous: >>108260794
19 RepliesView Thread
>>
File: 17724497240011766579767466301754.jpg (1.8 MB)
1.8 MB JPG
Is there more tutorial for http://tululoo.com/ or can anyone make one?
Also for the twat who said "buy an ad" no,fuck off, kys, I have no account here, moron.
>>
>>
>>
>>
>>108264667
Here's a solution with no mutations or side effects./** @typedef {Record<string, any>} Tree */
/** @typedef {ReadonlyArray<string>} Path */
const paths = [
"src/index.js",
"src/utils/helpers.js",
"src/utils/math/add.js",
"public/index.html",
"README.md",
];
const toPathArray = (/** @type {string} */ str) => str.split("/");
const pathToBranch = (
/** @type {Path} */ path,
/** @type {Tree | undefined} */ branch = undefined,
) => {
const pathSegment = path.at(-1);
if (!pathSegment) {
if (!branch) throw new Error("Invalid params.");
return branch;
}
if (!branch) {
return pathToBranch(path.slice(0, path.length - 1), {
[pathSegment]: null,
});
}
return pathToBranch(path.slice(0, path.length - 1), {
[pathSegment]: branch,
});
};
const toMergedBranch = (
/** @type {Tree} */ tree,
/** @type {Tree} */ branch,
/** @type {Path} */ path = [],
) => {
if (!branch) return pathToBranch(path, tree);
if (!tree) return pathToBranch(path, branch);
const pathSegment = Object.keys(branch).at(-1);
return toMergedBranch(
tree[pathSegment],
branch[pathSegment],
path.concat(pathSegment),
);
};
const mergeBranchReducer = (
/** @type {Tree} */ accumulatedTree,
/** @type {Tree} */ currentBranch,
) =>
Object.assign(
structuredClone(accumulatedTree),
toMergedBranch(accumulatedTree, currentBranch),
);
const toFileSystem = (/** @type {string[]} */ path) =>
path
.map(toPathArray)
.map((p) => pathToBranch(p))
.reduce(mergeBranchReducer, {});
(technically Object.assign() mutates the first param, but it's an anonymous clone inside the method's scope so it's fine)
>>
>>
File: 1757543491654.jpg (45.5 KB)
45.5 KB JPG
>>108277380
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>108275562
Picrel is basically a ruby vs PHP vs python.
Just pick you favorite language and dedicate a few weeks to learn the framework, each one implements best practices and dev convention for their respective language modern development (ruby is comfier IMHO).
>>
>>108276435
I read it. Tululoo.chm. There's only so much to call, a sample game even. Nor even anything modern.
Otherwise, refresh me.
>>108276568
>This guy again
For what, gee. Also, welcome back, nig.