Skip to content

Commit 2a3b357

Browse files
committed
Update comments to clarify instructions for passing the first stage in multiple starter templates
1 parent 6457c49 commit 2a3b357

File tree

63 files changed

+63
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+63
-63
lines changed

compiled_starters/c/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ int main() {
1515
// You can use print statements as follows for debugging, they'll be visible when running tests.
1616
printf("Logs from your program will appear here!\n");
1717

18-
// Uncomment the code below to pass the first stage the first stage
18+
// Uncomment the code below to pass the first stage
1919
//
2020
// int server_fd, client_addr_len;
2121
// struct sockaddr_in client_addr;

compiled_starters/clojure/src/redis/core.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
[& args]
3737
;; You can use print statements as follows for debugging, they'll be visible when running tests.
3838
(println "Logs from your program will appear here!")
39-
;; Uncomment the code below to pass the first stage the first stage
39+
;; Uncomment the code below to pass the first stage
4040
;; (serve 6379 handler)
4141
)

compiled_starters/cpp/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ int main(int argc, char **argv) {
5050
// You can use print statements as follows for debugging, they'll be visible when running tests.
5151
std::cout << "Logs from your program will appear here!\n";
5252

53-
// Uncomment the code below to pass the first stage the first stage
53+
// Uncomment the code below to pass the first stage
5454
//
5555
// accept(server_fd, (struct sockaddr *) &client_addr, (socklen_t *) &client_addr_len);
5656
// std::cout << "Client connected\n";

compiled_starters/crystal/app/main.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class YourRedisServer
88
# You can use print statements as follows for debugging, they'll be visible when running tests.
99
puts("Logs from your program will appear here!")
1010

11-
# Uncomment the code below to pass the first stage the first stage
11+
# Uncomment the code below to pass the first stage
1212
# server = TCPServer.new("0.0.0.0", 6379)
1313
# client = server.accept?
1414
end

compiled_starters/csharp/src/Server.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// You can use print statements as follows for debugging, they'll be visible when running tests.
55
Console.WriteLine("Logs from your program will appear here!");
66

7-
// Uncomment the code below to pass the first stage the first stage
7+
// Uncomment the code below to pass the first stage
88
// TcpListener server = new TcpListener(IPAddress.Any, 6379);
99
// server.Start();
1010
// server.AcceptSocket(); // wait for client

compiled_starters/elixir/lib/main.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defmodule Server do
1616
# You can use print statements as follows for debugging, they'll be visible when running tests.
1717
IO.puts("Logs from your program will appear here!")
1818

19-
# Uncomment the code below to pass the first stage the first stage
19+
# Uncomment the code below to pass the first stage
2020
#
2121
# # Since the tester restarts your program quite often, setting SO_REUSEADDR
2222
# # ensures that we don't run into 'Address already in use' errors

compiled_starters/gleam/src/main.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub fn main() {
1616
// You can use print statements as follows for debugging, they'll be visible when running tests.
1717
io.println("Logs from your program will appear here!")
1818

19-
// Uncomment the code below to pass the first stage the first stage
19+
// Uncomment the code below to pass the first stage
2020
//
2121
// let assert Ok(_) =
2222
// glisten.handler(fn(_conn) { #(Nil, None) }, fn(_msg, state, _conn) {

compiled_starters/go/app/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func main() {
1414
// You can use print statements as follows for debugging, they'll be visible when running tests.
1515
fmt.Println("Logs from your program will appear here!")
1616

17-
// Uncomment the code below to pass the first stage the first stage
17+
// Uncomment the code below to pass the first stage
1818
//
1919
// l, err := net.Listen("tcp", "0.0.0.0:6379")
2020
// if err != nil {

compiled_starters/java/src/main/java/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public static void main(String[] args){
77
// You can use print statements as follows for debugging, they'll be visible when running tests.
88
System.out.println("Logs from your program will appear here!");
99

10-
// Uncomment the code below to pass the first stage the first stage
10+
// Uncomment the code below to pass the first stage
1111
// ServerSocket serverSocket = null;
1212
// Socket clientSocket = null;
1313
// int port = 6379;

compiled_starters/javascript/app/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const net = require("net");
33
// You can use print statements as follows for debugging, they'll be visible when running tests.
44
console.log("Logs from your program will appear here!");
55

6-
// Uncomment the code below to pass the first stage the first stage
6+
// Uncomment the code below to pass the first stage
77
// const server = net.createServer((connection) => {
88
// // Handle connection
99
// });

0 commit comments

Comments
 (0)